/*
* Theme Name: Smile Life Theme
* Author: TOA 
* Description: Theme for Smile Life
* Version: 1.0.0
* Tags: bootstrap
*/


/*--------------------------------------------------------------
	# 基本の設定
--------------------------------------------------------------*/
html, body{
	height: 100%;
	padding: 0;
	margin: 0;
	scroll-behavior: smooth;
}

body{
	padding-bottom: 2.5rem;
	font-family: "Lato", sans-serif;
}

.page-body {
	overflow: auto;
	height: 100%;
}

#admin-content {
	height: 100%;
	overflow: hidden;
}

#index-title-block {
	height: 40%;
}

#version-text {
	font-size: 2rem;
}

#tagline-block {
	height: 15%;
}

#terms-of-use {
	height: 5%;
}

.main-buttons {
	height: 15%;
	display: flex;
}

.main-buttons #login-button a, .main-buttons #register-button a, .main-buttons #search-now-button a, #lg-button a {
	font-size: 1.25rem;
	padding: .5rem 1rem;
}

.main-buttons #login-button {
	text-align: right;
}

.main-buttons #search-now-button {
	text-align: left;
}

#post-script {
	height: 10%;
}

.card {
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
	height: 68%;
}

.card-text {
    margin-bottom: 0 !important;
    font-size: 12px;
    color: gray;
}

#start-search {
	height: 15%;
}

#dropdown-select {
	height: 15%;
	font-size: 1.3rem;
}

#search-form-row {
	height: 85%;
}

#selectbox-row {
	height: 15%;
}

#checkbox-select {
	height: 15%;
	font-size: 1.25rem;
	color:#E74C3C;
}

#checkbox-row {
	height:40%;
}

#lg-row {
	height:15%;
}

/*login page style*/
.main-content-row {
	height: 75%;
}
#error-message {
	visibility: hidden;
	display: block;
}
.carousel-inner, .carousel-item {
	height: 100%;
}
img {
	height: 100% !important;
	max-width: 100%;
	max-height: 100%;
	display: block; 
}

.section-title {
    height: 36px;
    line-height: 36px;
    padding: 2px 5px 0 10px;
    color: #000000;
    border-left: 5px solid FireBrick;
    border-bottom: 1px solid #E9E9E9;
    background-color: #F7F7F7;
}

.user-mail {
	word-wrap: break-word;
	text-align: center;
}

/*--------------------------------------------------------------
	# ヘッダの設定
--------------------------------------------------------------*/
.displayed {
	display: block;
    margin-left: auto;
    margin-right: auto
}

.header {
	height:20px;
	padding-bottom: 5rem;
}

/*--------------------------------------------------------------
	# フッターの設定
--------------------------------------------------------------*/
footer {
	position: fixed;
	bottom: 0;
	max-width: 100% !important;
	height: 2.5rem;
  }
	
  .footer-copyright {
	color: #fff;
  }
  
.confirm-container {
	padding: 3vh 3vh 7vh 3vh;
}

.main-center{
	margin: 0 auto;
	max-width: 1100px;
	padding: 4vh 30px;
	color: rgb(18, 2, 110);
	border-radius: 25px;
}
.confirm-center{
	background-color:#7e51aa;
}

.input-container{
	background-color:#a466df;
	padding: 3vh 3vh 7vh 3vh;
}

.input-center {
	background-color: #ffffff;
}

.confirm-item {
	height: 5rem;
	font-size: 1.9rem;
	display: flex;
	justify-content: center;
	align-items: center;
}

.input-item {
	height: 3.5rem !important;
	margin-top: 1;
}

.center-block {
	display: block;
	text-align: center;
}

/*--------------------------------------------------------------
	# 検索画面の設定
--------------------------------------------------------------*/
/* チェックボックス */
.hidden {
	display: none;
}
/* 検索するボタン */
#search-button {
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

.search-banner {
    background-image: url("images/kekka.jpg");
	height:100vh;
	background-size: cover;
}

.search-banner .container {
	margin-top: 0 !important;
}

#sb-background {
	background-image: linear-gradient(
		rgba(0, 0, 0, 0),
		rgba(0, 0, 0, 0)
		),url("images/top.jpg");
	height:100vh;
	background-size: cover;

}

#bgtext {
	font-style: normal;
	border: none;
    text-align: center;
	font-size: 30px;
	margin-top: 5px;
}

a[id="search"]:target ~ #search {
    -webkit-transform: translate3d(0, -300%, 0);
    transform: translate3d(0, -300%, 0);
}

input:checked+label {
	box-shadow: 0 0 0 2px rgb(104, 104, 226);
}

.kankyou-button {
	background-color:#B0E0E6;
	border: none;
	color: black;
	padding: 6px 11px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	margin: 4px 2px;
	cursor: pointer;
}

.gakkou-button {
	background-color:#FFEBCD;
	border: none;
	color: black;
	padding: 6px 11px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	margin: 4px 2px;
	cursor: pointer;
}

.shien-button {
	background-color:#D8BFD8;
	border: none;
	color:black;
	padding: 6px 11px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	margin: 4px 2px;
	cursor: pointer;
}

#kensaku-hedding{
	font-size:30px;
	color:#FFFF00; 
	background-color:#000000;
}

/*--------------------------------------------------------------
	# 結果画面の設定
--------------------------------------------------------------*/

#top-btn {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 30px;
	z-index: 99;
	font-size: 18px;
	border: none;
	outline: none;
	background-color: crimson;
	color: white;
	cursor: pointer;
	padding: 15px;
	border-radius: 4px;
  }
  
  #top-btn:hover {
	background-color: coral;
  }

  #result-box {
	display: flex;
	align-items: center;
	margin: -5px 10px 10px 0;
	border-bottom: 1px solid #D0D0D0;
}

#result-box  .search-result-box {
	height: 18px;	
	margin-bottom: 3px;
    padding: 0 20px 0 0;
	color: #333;
	font-size: small;
}

/* version 2 update 2021/06 ~ */
/* 資料請求チェックボックス */
#checky {
	width: 1.55rem;  
	height: 1.55rem; 
	margin-top:8px;
	margin-left:10px;
	margin-right:10px;
}
input[type=checkbox][disabled] {
	display: none;
}
span[class="empty-mail"] {
	display: inline-block;
	background: rgba(228, 6, 6, 0.404);
	width: 1.55rem;  
	height: 1.55rem; 
	margin-top:8px;
	margin-left:10px;
	margin-right:10px;
	line-height: 1.55rem;
	text-align: center;
	cursor: not-allowed;
 }
 /* span[class="one-month-document-request"] {
	display: inline-block;
	background: rgba(13, 228, 6, 0.404);
	width: 1.55rem;  
	height: 1.55rem; 
	margin-top:8px;
	margin-left:10px;
	margin-right:10px;
	line-height: 1.55rem;
	text-align: center;
	cursor: not-allowed;
 } */
 
/* 条件結果画面テーブル設定　2022/3/17 */
 .fixTableHead {
	overflow-y: auto;
	height: 650px;
   }
   .fixTableHead thead th {
	position: sticky;
	top: 0;
   }
   table {
	border-collapse: collapse;        
	width: 100%;
   }
   th,
   td {
	padding: 8px 15px;
   }
   th {
	background: #ABDD93;
   }

#header-fixed { 
    position: fixed; 
    width: 47%;
    top: 0px; display:none;
}
#shiryou-seikyu{
	width: 10px;
}

/* 資料請求確認画面テーブル設定　2022/3/17 */

   .fixDocumentTableHead {
	overflow-y: auto;
	height: 400px;
   }
   .fixDocumentTableHead thead th {
	position: sticky;
	top: 0;
   }
   table {
	border-collapse: collapse;        
	width: 100%;
   }
   th,
   td {
	padding: 8px 15px;
   }
   th {
	background: #ABDD93;
   }

/*--------------------------------------------------------------
	# 他のリンク画面の設定
--------------------------------------------------------------*/

.main-btn {
    width: 6vw;
    height: 34px;
    line-height: 34px;
    color: #4E4E4E;
    padding: 0px;
    font-size: 12px;
    border: 1px solid #C0C0C0;
}

.sub-btn {
    height: 34px;
    color: #4E4E4E;
    font-size: 12px;
    text-align: center;
    border: 1px solid #C0C0C0;
}

.zenkuni-color {
	background-color: #F9E79F ;
}

.hokkaido-color {
	background-color: #ffb5ce ;
}

.tohoko-color {
	background-color: #8BD1F8;
}

.tohoko-sub-color {
	background-color: LightSkyBlue;
}

.kanto-color {
	background-color: LightGreen;
}

.kanto-sub-color {
	background-color: LightGreen;
}

.chuubu-color {
	background-color: rgb(180, 206, 243);
}

.chuubu-sub-color {
	background-color: rgb(180, 206, 243);
}	

.kinki-color {
	background-color: #FFFACD;
}

.kinki-sub-color {
	background-color: #FFFACD;
}

.chuugoku-color {
	background-color:#D6E4E1 ;
}

.chuugoku-sub-color {	
	background-color:#D6E4E1 ;
}

.shikoku-color {
	background-color:  rgb(250, 166, 157);
}
.shikoku-sub-color {
	background-color: rgb(250, 166, 157);
}

.kyushuu-color {
	background-color:  rgb(89, 230, 159);
}
.kyushuu-sub-color {
	background-color:rgb(102, 233, 167);
}

#setsumeir{
	float: center;
	width: 10em;
	margin-top: -20px;
	
}


/*--------------------------------------------------------------
	# 管理画面の設定
--------------------------------------------------------------*/
form#login {
	width: 100%;
	padding-right: 1vw;
}

form#login#login-button {
    background-color: #000 !important;
    color: #fff;
}

.left {
	float: left;
	width: 35%;
	padding-left: 5vw;
	display: flex;
	align-items: center;
	padding-bottom: 4.5rem;
	background-color: #000;
	color: #fff;
}

.right {
	float: left;
	width: 65%;
	padding-left: 2vw;
	display: flex;
	align-items: center;
	padding-bottom: 4.5rem;
}

#document-request-dashboard {
	height: calc(100% - 60px);
	padding-top: 1rem;
}

#admin-title {
	height: 10%;
}

#test-mode-row {
	height: 14%;
}

#test-mode-setting {
	align-items: center;
}

#test-mode-description {
	padding-top: .2rem;
	font-size: medium;
	color: red;
}

.switch {
	position: relative;
	display: inline-block;
	width: 100px;
	height: 34px;
}
  
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: red;
	-webkit-transition: .3s;
	transition: .3s;
}
  
.slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: floralwhite;
	-webkit-transition: .3s;
	transition: .3s;
}
  
input:checked + .slider {
	background-color: green;
}
  
input:focus + .slider {
	box-shadow: 0 0 1px #2196F3;
}
  
input:checked + .slider:before {
	-webkit-transform: translateX(60px);
	-ms-transform: translateX(60px);
	transform: translateX(60px);
}
  
.on {
	color: white;
	position: absolute;
	transform: translate(-50%,-50%);
	top: 50%;
	left: 35%;
	display: none;
}
  
.off {
	color: white;
	position: absolute;
	transform: translate(-50%,-50%);
	top: 50%;
	left: 60%;
}
  
input:checked+ .slider .on {
	display: block;
}
  
input:checked + .slider .off {
	display: none;
}

#date-filter-row {
	height: 7%;
}

#document-request-table-row {
	height: 65%;
	overflow-y: auto;
}

#document-request-table-row thead {
	position: sticky;
	top: 0;
}

.col-no {
	width: 10%;
}

.col-code {
	width: 15%;
}

.col-prefecture {
	width: 15%;
}

.col-municipality {
	width: 20%;
}

.col-email {
	width: 30%;
}

.col-frequency {
	width: 10%;
}

#frequency-text {
	height: 4%;
	font-size: small;
	color: red;
	font-style: italic;
	font-family: system-ui;
}

/*--------------------------------------------------------------
	# ダシュボード画面の設定
--------------------------------------------------------------*/
#admin-dashboard-container {
	padding-top: 100px;
}

.dashboard-button-group {
	display: flex;
	align-items: center;
	justify-content: center;
}
.dashboard-button {
    background-color:green;
    border: none;
    color: white;
    padding: 30px 50px;
    text-align: center;
    font-size: 25px;
    margin: 10px 10px;
    opacity: 0.6;
	transition: 0.3s;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
  
.dashboard-button:hover {opacity: 1}

#input-file {
    display: none;
}


.flip-card {
	background-color: transparent;
  }
  
.flip-card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	transition: transform 0.6s;
	transform-style: preserve-3d;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}
  
.flip-card:hover .flip-card-inner {
	transform: rotateY(180deg);
}
  
.flip-card-front, .flip-card-back {
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
  
.flip-card-front {
	background-color: #bbb;
	color: skyblue;
}
  
.flip-card-back {
	background-color:lightgray;
	color: red;
	transform: rotateY(180deg);
	font-weight: bold;
}
  
.imageHolder {
	display: flex;
	position: relative;
	justify-content: center;
}

.imageHolder img {
	width: 650px;
}

.caption {
	position: absolute;
	width: 283px;
	height: 50px;
	bottom: 0px;
	left: 283px;
	color: #ffffff;
	background: green;
	text-align:center;
	font-weight:bold;
	opacity:0.7;
  }

/*--------------------------------------------------------------
	# ロードの設定
--------------------------------------------------------------*/
#loader {
	position: fixed;
	left: 0px;
	top: 0px;
	overflow: hidden;
	width: 100%;
	height: 100%;
	z-index: 9999;
	z-index: 2;
	background-color: rgba(0,0,0,0.5);
	background: url(images/Preloader_2.gif) center no-repeat white;
}



/*--------------------------------------------------------------
	# テーブル設定
--------------------------------------------------------------*/
table.smilelife-table {
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1), 0px 10px 20px rgba(0, 0, 0, 0.05),
	  0px 20px 20px rgba(0, 0, 0, 0.05), 0px 30px 20px rgba(0, 0, 0, 0.05);
	font-size: 14px;
	width: 100%;
  }

  .smilelife-table th.no {
	  width: 5%;
  }

  .smilelife-table th.percentage {
	  width: 15%;

  }

  .smilelife-table th.jichitaimei {
	  width: 15%;
  }

  .smilelife-table th.chiikimei {
	  width: 20%;
  }

  .smilelife-table th.gaitou-jouken {
	  width: 45%;
  }
  
  .smilelife-table th {
	color: #ffffff;
	background: #39a2fb;
	font-weight: 700;
  }
  
  .smilelife-table tr:hover {
	background: #f4f4f4;
  }
  
  .smilelife-table td {
	border-bottom: 1px solid #ccc;
  }

/*--------------------------------------------------------------
	# ナビゲーションの設定
--------------------------------------------------------------*/
#nav-bar ul.nav-ul-list{
	display: flex;
	justify-content: center;
  	margin: 0 0 0 1px;
	padding: 0px;
	font-size: 0;
}

#nav-bar .nav-ul-list li {
	width: 159px;
	background-color: #39a2fb;
	position: relative;
}
.nav-ul-list li a {
	flex: 1;
	display: block;
	font-size: 12px;
	font-weight: bold;
	height: 60px;
	padding-top: 10px;
	color: white;
}

.nav-ul-list li a:hover {
	text-decoration: none;
	background: CornflowerBlue;
}


/*--------------------------------------------------------------
	# モーダルの設定
--------------------------------------------------------------*/
body.modal-open {
	position: relative;
}

/* 6月～ */

/*--------------------------------------------------------------
	# result.php     2021/06/02
--------------------------------------------------------------*/
#submit_prog {
	position: fixed;
	bottom: 20px;
	right: 150px;
	z-index: 99;
	font-size: 18px;
	border: none;
	outline: none;
	background-color: rgb(20, 67, 220);
	color: white;
	cursor: pointer;
	padding: 15px;
	border-radius: 4px;
}
#reset_prog{
	position: fixed;
	bottom: 20px;
	right: 280px;
	z-index: 99;
	font-size: 18px;
	border: none;
	outline: none;
	background-color: #9c0101;
	color: white;
	cursor: pointer;
	padding: 15px;
	border-radius: 4px;
}

/*--------------------------------------------------------------
	# r-document-request-end.php     R-05     2021/06/04
--------------------------------------------------------------*/
#document-request-end {
    background-image: url("images/Document-Request-End.jpg");
	height:92vh;
	background-size: cover;
}
#request-end{
	background-color: rgba(0, 0, 0, 0.712);
	padding-top: 15px;
	padding-bottom: 20px;
	padding-left: 10px; 
	padding-right: 10px;
	border-radius: 15px;
	border-color:#d2d2d2;
	border-width: 5px;
	color:white;
	box-shadow:0 1px 0 #cfcfcf;
}
#description-message{
	background:linear-gradient(to top, #00c6fb 0%, #005bea 100%);
	padding: 3%;
}
#sendmail-bg{
	background-color:#D7F7F3;
	border-radius: 25px;
}

/*--------------------------------------------------------------
	# r-registration-mail-end.php     R-07     2021/06/04
--------------------------------------------------------------*/
#registration-mail-end {
    background-image: url("images/registration-mail.jpg");
	height:92vh;
	background-size: cover;
}
#request-mail-end{
	background-color: rgba(0, 0, 0, 0.712);
	padding: 15px 30px 20px 20px;
	border-radius: 15px;
	border-color:#d2d2d2;
	border-width: 5px;
	color:white;
	box-shadow:0 1px 0 #cfcfcf;
}
#display-bg{
	background-color:#FF8040;
}
#display-box{
	background-color:#F88017;
}

/*--------------------------------------------------------------
	# r-registration     R-08     2021/06/07
--------------------------------------------------------------*/
.input-center span.input-group-addon i {
   color: rgb(0, 68, 255);
}

#eye{
	position:absolute; 
	right:25px; 
	top:55px;
}

/*--------------------------------------------------------------
	# r-registration-end.php     R-10     2021/06/07
--------------------------------------------------------------*/

#registration-end {
    background-image: url("images/r-05.jpg");
	height:92vh;
	background-size: cover;
}
#regis-end{
	background-color: rgba(0, 0, 0, 0.712);
	padding-top: 1vh;
	border-radius: 15px;
	border-color:#d2d2d2;
	border-width: 5px;
	color:white;
	box-shadow:0 1px 0 #cfcfcf;
	vertical-align: middle;
}

/*--------------------------------------------------------------
	# r-change-password-mail.php     R-11     22021/6/9
--------------------------------------------------------------*/
#send-mailpass{ 
	padding:1%; 
}
#setsumeipass{
	background:linear-gradient(to top, #4B0082 0%, #7D0541 100%); 
	padding:3%;
	color:white;
}
#colmpass{
	border-radius: 25px;
	background-color:#FFF5EE;
} 

/*--------------------------------------------------------------
	# r-change-password-mail-end.php     R-12     2021/06/09
--------------------------------------------------------------*/

#change-password-mail-end {
	background-image: url("images/mal.jpg");
	 height:92vh;
	 background-size: cover;
 }
 #change-pass-mail-end{
	 background-color: rgba(0, 0, 0, 0.712);
	 padding: 15px 30px 20px 20px;
	 border-radius: 15px;
	 border-color:#d2d2d2;
	 border-width: 5px;
	 color:white;
	 box-shadow:0 1px 0 #cfcfcf;
 }
 
 
/*--------------------------------------------------------------
	# r-change-password.php     R-13     2021/06/09
--------------------------------------------------------------*/
#change-password-background {
	background-image: url("images/change-pass.jpg");
	 height:92vh;
	 background-size: cover;
 }
 
 #change-password-bg{
	 background-color: rgba(8, 8, 8, 0.733);
	 padding: 15px 30px 20px 20px;
	 border-radius: 15px;
	 border-color:#d2d2d2;
	 border-width: 5px;
	 color:white;
	 box-shadow:0 1px 0 #cfcfcf;
 }
 
/*--------------------------------------------------------------
	# r-change-password-end.php     R-14     2021/06/09
--------------------------------------------------------------*/

#change-password-end {
	background-image: url("images/sss.jpg");
	 background-size: cover;
 }
 #change-pass-end{
	 background-color: rgba(0, 0, 0, 0.432);
	 padding: 30px 30px 20px 20px;
	 border-radius: 15px;
	 border-color:#d2d2d2;
	 border-width: 5px;
	 color:white;
	 box-shadow:0 1px 0 #cfcfcf;
 }

 /*----------------------------------------------------------------------
	# maintenance-page.php    # access-denied.php       2021/10/18
--------------------------------------------------------------------------*/
#maintain {
	background-image: url("images/registration-mail.jpg");
	 height:100vh;
	 background-size: cover;
 }
 #maintain-block{
	 background-color: rgba(0, 0, 0, 0.712);
	 padding: 15px 30px 20px 20px;
	 border-radius: 15px;
	 border-color:#d2d2d2;
	 border-width: 5px;
	 color:white;
	 box-shadow:0 1px 0 #cfcfcf;
 }


/*--------------------------------------------------------------
	# r-member-profile.php         2022/03/02
--------------------------------------------------------------*/

.emp-profile{
	padding: 3%;
	margin-bottom: 3%;
	border-radius: 0.5rem;
	background: #fff;
 }

nav > .nav.nav-tabs{

	border: none;
	  color:#fff;
	  background:#272e38d2;
	  border-radius:0;
   
   }
   nav > div a.nav-item.nav-link,
   nav > div a.nav-item.nav-link.active
   {
	border: none;
	  padding: 18px 25px;
	  color:#fff;
	  background:#102a50;
	  border-radius:0;
   }
   
   nav > div a.nav-item.nav-link.active:after
    {
	content: "";
	position: relative;
	bottom: -60px;
	left: -20%;
	border: 15px solid transparent;
	border-top-color: #e74c3c ;
   }
   .tab-content{
	background: #fdfdfd;
	  line-height: 25px;
	  border: 1px solid #ddd;
	  border-top:5px solid #3ce7a5;
	  border-bottom:5px solid #3ce7a5;
	  padding:30px 25px;
   }
   
   nav > div a.nav-item.nav-link:hover,
   nav > div a.nav-item.nav-link:focus
   {
	border: none;
	  background: #02ac6a;
	  color:#fff;
	  border-radius:0;
	  transition:background 0.20s linear;
   }
   
/* 会員情報・資料請求履歴画面テーブル設定　2022/3/17 */
   .emptyResult{
	border-radius: 0%;
	text-align: left;
   }

 .fixMemberTableHead {
	overflow-y: auto;
	height: 300px;
   }
   .fixMemberTableHead thead th {
	position: sticky;
	top: 0;
   }
   table {
	border-collapse: collapse;        
	width: 100%;
   }
   th,
   td {
	padding: 8px 15px;
   }
   th {
	background: #ABDD93;
   }

   .user-details{
	   border-bottom:0.5pt solid #5F9EA0;
   }

/*--------------------------------------------------------------
	# Small and medium screensの設定
--------------------------------------------------------------*/

@media only screen and (max-width: 1030px), only screen and (min-height: 1400px) {
	#kensaku-hedding {
		font-size: 2.25rem;
	}
	.card {
		height: 40%;
	}
	/*login page styles*/
	.main-content-row {
		height: 40%;
	}
	.login-form .form-group.mt-5.mx-4 {
		margin-top: .5rem !important;
	}
	.login-form #eye {
		top: 137px !important;
	}
	.login-form #error-message {
		font-size: .9rem;
	}
	[name=change-password-start] {
		margin: 0 0 1rem 0 !important;
	}
	.form-group.text-center.mt-5.login-button-group {
		margin: .2rem !important;
	}
	/* Other link page */
	.main-btn {	
		width: 5rem;
	}
	/* User header */
	#header-login-btn{
		margin-top: .4rem ;
	}
	.fixDocumentTableHead {
		height: auto;
	}
	.member-id{
		font-size: 30px;
		margin-left: 1rem;
	}
	.member-mail{		
		font-size: 20px;
		margin-left: 1rem;		
	}
	.main-buttons {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		height: max-content;
	  }
	.main-buttons .col {
		align-self: center;
		margin-top: 0.3cm;
	}
	.main-buttons #login-button {
		text-align: center;
	}
	.main-buttons #search-now-button{
		text-align: center;
	}
}

@media all and (max-width: 900px) {
	table.smilelife-table,
	.smilelife-table thead,
	.smilelife-table tbody,
	.smilelife-table th,
	.smilelife-table td,
	.smilelife-table tr {
	  display: block;
	}
	.smilelife-table-repeat th {		
		display: none;		
	}
	.smilelife-table thead tr {
	  position: absolute;
	  top: -9999px;
	  left: -9999px;
	}
  
	table.smilelife-table {
	  box-shadow: none;
	}
  
	.smilelife-table tr {
	  margin: 0 0 1rem 0;
	  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24);
	  border-top: 5px solid #39a2fb;
	  border-radius: 7px;
	  padding-right: 5px;
	}
  
	.smilelife-table tr:hover {
	  background: #fff;
	}
  
	.smilelife-table td {
	  border: none;
	  position: relative;
	  padding-left: 50%;
	  text-align: right !important;	  
	}
  
	.smilelife-table td:before {
	  position: absolute;
	  top: 5px;
	  left: 10px;
	  width: 45%;
	  padding-right: 10px;
	  white-space: nowrap;
	  content: attr(data-title);
	  font-weight: bold;
	  text-align: left;
	}
	
	.sub-btn {
		width: 30vw;
		font-size: 8px;
	}
	/*document request page styles*/
	#document-request-body {
		padding: 0.5rem 15px 1.5rem 15px !important;
	}
	.main-button-group {
		margin-top: 0 !important;
	}
	/* Other link page */
	.main-btn {	
		width: 5rem;
	}
	/* User header */
	#header-login-btn{
		margin-top: .4rem ;
	}

}

@media only screen and (max-width: 800px) {
nav {
	width: 100%;
	padding: 70px 0 15px;
}
nav ul {
	display: none;
}
nav ul li {
	float: none;
}
nav ul li a {
	padding: 15px;
	line-height: 20px;
}

body {
	width: 100%;
	}
	
#display-box {
	font-size: 2.3rem;
}
}

@media only screen and (max-width: 770px) {	
	.card {
		height: 60%;
	}
	.main-buttons #login-button, .main-buttons #search-now-button {
		text-align: center;
		margin-top: .4rem;
	}
	.main-buttons #register-button {
		justify-content: center;
	}
	#checkbox-row {
		height: 50%;
	}
	#setsumeipass, #description-message {
		flex: 0 0 41.6%;
		max-width: 41.6%;
	}
	/* User header */
	#header-login-btn{
		margin-top: .4rem ;
	}
	.maintenance{
		font-size: 45px;
	}
	.maintenanceText{
		font-size: 35px;
	}
}
  
@media only screen and (max-width: 568px) {
	.user-mail {
		display: inline !important;
	}
	/*index page styles*/
	#index-title-block {
		height: 30%;
	}
	#title-text {
		font-size: 3rem;
	}
	#tagline-block {
		height: 10%;
	}
	#bgtext {
		font-size: 1.10rem;
	}
	#terms-of-use {
		font-size: .75rem;
	}
	.main-buttons {
		height: 30%;
		display: flex;
		flex-direction: column !important;
		justify-content: space-evenly;
	}
	.main-buttons #login-button, .main-buttons #search-now-button {
		text-align: center;
	}
	.main-buttons #login-button a, .main-buttons #register-button a, .main-buttons #search-now-button a, #lg-button a {
		font-size: 1rem;
	}
	#post-script {
		margin-top: 2rem;
	}
	#post-script h5 {
		font-size: 0.8rem;
	}

	.search-banner {
		padding-top: 0 !important;
	}

	.search-banner.container {
		padding-top: 0 !important;
	}
	#start-search {
		height: 11%;
	}
	#kensaku-hedding {
		font-size: 1.45rem;
	}

	.card {
		height: 78.5%;
	}

	#dropdown-select {
		height: 8%;
		font-size: .87rem;
	}

	#search-form-row {
		height: 92%;
	}

	#selectbox-row {
		height: 6.5%;
	}

	#selectbox-row .col-6 .form-group {
		margin-bottom: .5rem;
	}
	#selectbox-row .col-6 .form-group select{
		font-size: .9rem;
	}

	#checkbox-select {
		height: 7%;
		font-size: .97rem;
	}

	#checkbox-row {
		height:72%;
	}

	.checkbox-group {
		margin-bottom: .25rem;
		font-size: .95rem;
	}

	hr {
		margin-bottom: .5rem;
	}

	#lg-row {
		height:11%;
		margin-bottom: 3rem;
		font-size: 1rem;
		padding: .375rem .75rem;
	}

	.btn-lg {
		font-size: 1rem;
		padding: .375rem .75rem;
	}

	.footer-copyright {
		font-size: .9rem;
	}

	#lg-invitation-container {
		padding: 0 !important;
	}
	.message h4 {
		font-size: 1.25rem;
	}

	/* User header */
	#header-login-btn{
		margin-top: .4rem ;
	}

	/*login page styles*/
	.page-title {
		font-size: 2.5rem;
	}
	.main-content-row {
		height: auto;
	}
	.main-content-row .border-success {
		margin: .75rem auto;
		width: 90vw;
	}
	.flex-row .form-group {
		margin: .75rem !important;
	}
	.border-success #eye {
		right: 40px !important;
		top: 138px !important;
	}
	.border-success #error-message {
		margin-bottom: .5rem;
	}
	[name=change-password-start] {
		margin: .75rem 0 !important;
	}
	.banner-sec {
		height: 25vh !important;
	}
	img {
		margin: auto;
	}
	.carousel-caption {
		display: block !important;
		top: 60%;
	}
	.carousel-caption h2 {
		font-size: 1rem;
	}
	.carousel-caption p {
		font-size: .5rem;
	}
	/*change password mail styles*/
	#invalid-token-error .modal-footer {
		justify-content: center;
	}
	#send-mailpass .main-content-row {
		margin: 0 !important;
	}
	#setsumeipass, #description-message {
		margin: 0 !important;
		max-width: 100%;
		flex: auto;
		padding: inherit !important;
	}
	.fa-envelope.fa-4x {
		font-size: 2rem;
	}
	#setsumeipass h2, #description-message h3 {
		margin: 0 !important;
		font-size: 1.25rem;
	}
	#colmpass {
		padding: .75rem !important;
	}
	#send-mailpass {
		padding-right: 15px !important;
		padding-left: 15px !important;
	}
	#sendmail-pass .form-group, #registration-mail-send .form-group {
		margin: 0 !important;
	}
	#sendmail-pass .form-group label, #registration-mail-send .form-group label {
		margin: 1rem 0 0 1.5rem !important;
		font-size: 1.3rem;
	}
	#sendmail-pass .form-group button, #registration-mail-send .form-group button {
		margin: 1rem 0 1rem 0!important;
	}
	/*registration mail styles*/
	#registration-mail-body {
		padding: 1% 15px 1% 15px !important;
	}
	#registration-mail-body .main-content {
		margin-top: 0 !important;
	}
	#description-message {
		padding: 0 .25rem 0 .5rem !important;
	}
	.contact-info {
		padding: .5rem;
	}
	.fa-envelope.fa-4x {
		font-size: 2.25rem;
	}
	#sendmail-bg {
		padding: .25rem !important;
		margin: 0 !important;
	}
	/*registration mail complete page styles*/
	#registration-mail-end .container .row .col-12 {
		margin-top: 0 !important;
	}
	#request-mail-end .page-title {
		margin-top: 0 !important;
	}
	#request-mail-end label {
		margin: 0 !important;
		font-size: 1.5rem;
	}
	#display-bg {
		margin-top: 0 !important;
	}
	#display-box {
		font-size: 1.5rem;
	}
	/*registration page styles*/
	.input-center, .confirm-center {
		padding: 1rem;
	}
	form .form-row {
		margin-top: 0 !important;
		margin-bottom: .25rem !important;
	}
	form .form-group {
		padding: 0 !important;
	}
	form .form-group label {
		font-size: .9rem;
	}
	form .form-row p.text-danger, form .text-success {
		font-size: .75rem;
		margin-bottom: 0 !important;
	}
	#change-member-information .form-button-group {
		padding: 0;
		text-align: center !important;
	}
	.form-button-group button, .form-button-group input, .form-button-group a {
		font-size: 1rem !important;
		border-radius: .3rem !important;
	}
	/*registration confirmation page styles*/
	.confirm-item {
		font-size: 1rem;
		height: auto;
	}
	/*registration complete page styles*/
	#regis-end .page-title {
		margin-top: 1rem !important;
	}
	#regis-end .container {
		margin: 0 !important;
	}
	#regis-end .container label {
		font-size: 1.5rem;
	}
	/*update information complete page styles*/
	#registration-end .container .row {
		padding-top: 1rem;
	}
	#registration-end .container .row .col-12 {
		margin-top: 0 !important;
	}
	#regis-end {
		margin-top: 0 !important;
	}
	/*document request complete page styles*/
	#document-request-end .container .row .col-12 {
		margin-top: 0 !important;
	}
	#request-end {
		margin-top: 1rem !important;
	}
	#request-end .form-group {
		margin-top: 1rem !important;
	}
	#request-end .form-group label {
		margin: 0 !important;
		font-size: 1.25rem;
	}
	#request-end a {
		margin: 0 !important;
	}
	/*change password request complete page styles*/
	#change-password-mail-end .container .row .col-12 {
		margin-top: 0 !important;
	}
	#change-pass-mail-end .page-title {
		font-size: 2rem;
	}
	#change-pass-mail-end .container {
		padding: 0 !important;
	}
	#change-pass-mail-end .container label {
		font-size: 1.75rem;
	}
	/*change password page styles*/
	#change-password-background {
		height: fit-content !important;
	}
	#change-password-bg {
		margin-bottom: 3rem;
	}
	#resetpassform {
		padding-top: 1rem;
	}
	#resetpassform .col-sm-12 {
		margin: 0 !important;
		padding: 0;
	}
	#resetpassform label {
		text-align: left;
	}
	#resetpassform p.text-warning {
		font-size: .75rem;
	}
	#change-password-end .container .row .col-12 {
		margin: 0 !important;
	}
	#change-pass-end .page-title {
		margin: 0 !important;
	}
	#change-pass-end label {
		font-size: 1.5rem !important;
	}	
	.maintenancePic{
		display: none;
	}
	.maintenance{
		font-size: 30px;
	}
	.maintenanceText{
		font-size: 30px;
	}
}

@media only screen and (max-width: 430px), only screen and (height: 932px) {
	.card {
		height: 60%;
	}
	.jiji-e-btn{
		margin-top: 1ch;
	}
	.userdata-btn{
		margin-top: 1ch;
	}	
	.member-mail{		
		font-size: 20px;
		margin-left: 1rem;
	}
}

@media only screen and (max-width: 412px) {
	.card {
		height: 70%;
	}
	#reset_prog {
		font-size: 15px;
		width: 28%;
		right: 255px;
		height: 8.5%;
	}
	#submit_prog {
		right: 135px;
		height: 8.5%;
	}
	#top-btn{		
		height: 8.5%;
	}
}

@media only screen and (max-width: 390px) {
	.card {
		height: 65%;
	}	
	.jiji-e-btn{
		margin-bottom: 1ch;
	}
}

@media only screen and (max-width: 380px), only screen and (max-height: 670px) {
	.card {
		height: 78%;
	}	
	.jiji-e-btn{
		margin-bottom: 1ch;
	}
	#start-search {
		height: 10%;
	}
	#kensaku-hedding {
		font-size: 1.25rem;
	}
	#selectbox-row .col-6 .form-group {
		margin-bottom: 0;
	}
	#selectbox-row .col-6 .form-control {
		font-size: .85rem;
		height: auto;
		padding: .25rem;
	}
	#checkbox-select {
		font-size: .95rem;
	}
	.auto-height {
		height: auto !important;
	}
	#checkbox-row p {
		margin-bottom: .5rem;
		margin-top: 0;
	}
	.checkbox-group label {
		font-size: .9rem;
		padding: 2.9px 10px;
	}

	/* User header */
	#header-login-btn{
		margin-top: .4rem ;
	}
	
	/*login page*/
	.content-body {
		padding-top: .25rem !important;
	}
	.page-title {
		margin-top: 0;
		margin-bottom: 1rem;
	}
	.main-content-row .border-success {
		margin: 0 .75rem .25rem .75rem !important;
	}
	[name=change-password-start] {
		margin-bottom: 0 !important;
	}
	.form-group.text-center.mt-5.login-button-group {
		margin: .25rem .75rem !important;
	}
	/*request change password styles*/
	#send-mailpass .page-title {
		font-size: 2rem;
	}
	#sendmail-pass .form-group label {
		font-size: 1.15rem !important;
		margin: .5rem 0 0 1rem !important;
	}
	#sendmail-pass input {
		font-size: 1rem;
		margin-top: .5rem !important;
	}
	/*registration mail styles*/
	#registration-mail-body {
		padding: 1% 15px 1% 15px !important;
	}
	#registration-mail-body .page-title {
		font-size: 2rem;
	}
	#registration-mail-body .main-content {
		margin-top: 0 !important;
	}
	#description-message {
		padding: 0 .25rem 0 .5rem !important;
	}
	.contact-info {
		padding: .5rem;
	}
	.fa-envelope.fa-4x {
		font-size: 2.25rem;
	}
	#description-message h3 {
		font-size: 1rem;
	}
	#sendmail-bg {
		padding: 0 !important;
		margin: 0 !important;
	}
	#registration-mail-send .form-group {
		margin: .5rem !important;
	}
	#registration-mail-send .form-group label {
		margin-top: .5rem !important;
		font-size: 1.25rem;
	}
	#registration-mail-send .form-group input {
		font-size: 1rem;
		margin-top: .5rem !important;
	}
	#registration-mail-send .form-group button {
		margin: 0 1rem .25rem 0 !important;
	}
	/*change password request complete page styles*/
	#change-pass-mail-end .container {
		margin: 0 !important;
	}
	#change-pass-mail-end .container label {
		font-size: 1.5rem;
	}
	#change-pass-mail-end a.btn {
		margin-top: 2rem !important;
	}
	#reset_prog {
		font-size: 15px;
		width: 30%;
		right: 250px;
		height: 8.5%;
	}
	#submit_prog {
		right: 130px;
		height: 8.5%;
	}
}	

@media screen and (min-width: 800px) {
	.nav-list {
		display: block !important;
	}

	body {
		width: 100%;
	}
}


/* @media only screen and (max-width: 380px), only screen and (max-height: 670px) {

} */