body {
  padding: 0;
  font-family: "Hiragino Maru Gothic ProN W4", "Hiragino Sans", "Lucida Grande", Helvetica, Arial, sans-serif;
  font-size: 14px;
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  color: #333333;

}
body#index{	
  background-color: #e5f0db;
  padding: 0 15px;
}
body#index.kyoto{
  background-color: #FFFFFF;	
}	
body#faq{	
  background-color: #FFFFFF;
  padding: 0 15px;
}
body#chat{
  background-color: #cfe8ed;
  height: 100vh;
}

body#customLogin{
	margin: 20px;
	color: #06c755;	
}
body#customLogin .message{
	font-size: 1.4rem;
	text-align: center;
	font-weight: bold;
	margin-top: 100px; 
}
body#customLogin .message.small{
	font-size: 1rem;
	font-weight: normal;
	margin-top: 50px; 
}
body#customLogin .force-signout{
	position: fixed;
	bottom: 20px;
	width: calc(100% - 40px);
}



#mask{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	padding: 20px;
	background-color: rgba(0,0,0,0.8);
	color: #fff;
	z-index: 10000;
}
#mask .message{
	font-size: 1.4rem;
	text-align: center;
	font-weight: bold;
	margin-top: 100px; 
}
#mask .message.small{
	font-size: 1rem;
	font-weight: normal;
	margin-top: 50px; 
}
#mask .force-signout{
	position: fixed;
	bottom: 20px;
	width: calc(100% - 40px);
}


footer{
	clear: both;
}

#index footer{
	margin-bottom: 50px;
}


/*トップページの時間外バー*/
.out-of-range-bar{
	margin: 0 -15px;	
}
.out-of-range-bar .alert{
	margin-bottom: 0;
}

/*トップ画面*/
.logo-block{
	margin: 0 -15px;
}
.logo{
	max-width: 100%;
	display: block;
	margin: 0 auto;
}
.signin-btn-block{
	margin: 0 0 30px 0;
}


.btn-outer{
	margin: 0 auto;
	width: 240px;
	min-height: 45px;
}
.btn-outer:first-child{
	margin-bottom: 15px;
}
.btn-outer:nth-child(2+X){
	margin-top: 15px;
}

.btn-outer.with-notice{
	margin-top: 10px;
}

.btn-outer .notice{
	line-height: 1;
	pointer-events: none;
}
/*iOS自動書き換え対応*/
.btn-outer .notice .phone-number a{
	pointer-events: none;
	color: #333;
}


.btn-outer .btn{
	display: block;
	width: 240px;
	height: 45px;
	padding: 0;
	background-color: transparent;
	background-size: cover;
	background-repeat: no-repeat;	
}
.btn-line{
	background-image: url(../images/btn/btn-LINE.png);
	background-position: 0 0;
}
.btn-line:hover,.btn-line:active {
    background-image: url(../images/btn/btn-LINE.png);
	background-position: 0 -50px;
}

.btn-twitter{
	background-image: url(../images/btn/btn-TW.png);
	background-position: 0 0;
}
.btn-twitter:hover,.btn-twitter:active {
    background-image: url(../images/btn/btn-TW.png);
	background-position: 0 -50px;
}

.btn-anonymous{
	background-image: url(../images/btn/btn-ANON.png);
	background-position: 0 0;
}
.btn-anonymous:hover,.btn-anonymous:active {
    background-image: url(../images/btn/btn-ANON.png);
	background-position: 0 -50px;
}


.btn-wifi-phone{
	background-image: url(../images/btn/btn-WIFI-PHONE.png);
	background-position: 0 0;
}
.btn-wifi-phone:hover,.btn-wifi-phone:active {
    background-image: url(../images/btn/btn-WIFI-PHONE.png);
	background-position: 0 -50px;
}

.btn-normal-phone{
	background-image: url(../images/btn/btn-NORMAL-PHONE.png);
	background-position: 0 0;
}
.btn-normal-phone:hover,.btn-normal-phone:active {
    background-image: url(../images/btn/btn-NORMAL-PHONE.png);
	background-position: 0 -50px;
}

.btn-notice{
	line-height: 1rem;
}

a {
  color: #00B7FF;
}

h1.title{
	margin: .5rem 0;
	font-weight: bold;
	font-size: 1.4rem;
}
h2.subtitle{
	font-size: 0.9rem;
}
.logo-block .desc{
	line-height: 1.2rem;
	padding: 20px;
	margin-bottom: 0;
}
.logo-block .desc>a,
.footer-text p>a{
	color:#333;
	text-decoration: underline;
}


body#chat main{
	position: absolute;
	width: 100vw;
	height: 100%;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	padding-left: 0;
	padding-right: 0; 

}


body#chat header{
	display: block;
	background-color: rgba(255,255,255,0.9);
	position: fixed;
	width: 100vw;
	height: 52px;
	top: 0;
	left: 0;
	right: 0;
	z-index: 11;
}
body#chat header .left{
	position: relative;
	top: 3px;
	left: 3px;
	width: calc(100% - 60px);
	overflow: hidden;
}
body#chat header .left .user-photo{
	width: 50px;
}
body#chat header .left .user-name{
	width: calc(100% - 50px);
}
body#chat header .right{
	position: relative;
	top: 3px;
	right: 3px;
}

body#chat footer{
	display: block;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100vw;
	min-height:60px;
	background-color: rgba(162,186,100,0.9);
	padding-top:20px;
	z-index: 11;
}

#user{
	display: block;
	margin-bottom: 0px;
}
.siginin-user-photo{
	width: 46px;
	height: 46px;
	display: inline-block;
	border-radius: 50%;
	margin: 0;
	padding: 0;
}
.siginin-user-name{
	display: inline-block;
	margin: 0;
	padding: 0;
	color: #333;
	font-size: 0.8rem;
	overflow: hidden;
	max-height: 18px;
}
.siginin-user-id{
	
}
.menu .collapse{
	background-color: rgba(255,255,255,0.1);
}
.signout-btn{
	margin: 10px 0;
}



#messages{
	position: relative;
	height: 100%;
	background-color: #57b0c1;
	padding-top: 52px;
	padding-bottom: 120px;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	z-index: 8;
}
/*
body.kyoto #messages{
	background-color: #b388a8;
}
*/

#messages #messages-inner{
	padding: 0 10px;
	margin-top: 60px;
	z-index: 9;
}

.message-container{
	display: flex;
	justify-content: flex-end;
	margin: 10px 0;
}
.message-container.counselor{
	justify-content: flex-start;
}
.message-container .pic{
	width: 30px;
}
.message-container .pic img.pic-img{
	width: 30px;
	border-radius: 50%;
}
.message-container .text{
	max-width: 100%;
}
.message-container .text .message-box{
	display: flex;
	align-items: flex-end;
}

.message-container .text .message{
    padding: 6px 8px;
    border-radius: 10px 0 16px 10px;
	background-color: rgb(206,245,106);
	font-size: 0.96rem;
	line-height: 1.2;
	word-break: break-all;
}
.message-container .text.counselor .message{
	border-radius: 0 10px 10px 16px;
	background-color: #fff;
    border-color: #e9e9e9;
}


.message-container .text .name,
.message-container .text .carteUser{
	font-size: 0.76rem;
	color: #fff;
	margin-left: 5px;
}
.message-container .text .date{
	font-size: 0.7rem;
	color: #fff;
	text-align: right;
	margin-right: 3px;
}
.message-container .text.counselor .date{
	text-align: left;
	margin-left: 3px;
}

.date-separater{
    display: block;
    margin-top: 20px;
    color: #a8e7f3;
    text-align: center;
    border-top: 1px solid #9ed3dd;
}

.goto-bottom-btn{
	display: block;
	position: fixed;
	width: 30px;
	height: 30px;
	bottom: 70px;
	right: 5px;
	background-color: rgba(157,157,157,0.8);
	border-radius: 3px;	
}
.goto-bottom-btn > i.fas{
	position: absolute;
	transform: translate(-50%,-50%);
	top: 50%;
	left: 50%;
	font-size: 22px;
	color: #fff;
}


/*Message Input*/
#writer form{
	position: relative;
	bottom: 10px;
	left: 10px;
	right: 10px;
	width: calc(100% - 20px);
}

#writer textarea#inputText{
    width: calc(100% - 50px);
    font-size: 0.96rem;
    resize: none;
    height: 34px;
    min-height: 20px;
    max-height: 150px;
    overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}


#writer #chatSubmit{
	font-size: 1rem;
	font-weight: bold;
	border: 1px solid #fff;
	border-radius: 20px;
}
#writer #chatSubmit i{
	position: relative;
	left: -3px;
}

.emrg-btn{
	display: block;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background-color: #f70404;
	background-image: url(../images/custom/btn/btn-EMRG.png);
	background-size: 70%;
	background-position: center center;
	background-repeat: no-repeat;
}
body.kyoto .emrg-btn{
	background-color: #ffffff;
    background-size: 100%;
    border: 2px solid #ffffff;
    border-radius: 23px;
}

.g-recaptcha>div{
	margin: 0 auto;
}


/* FAQ */
.faq-contents{
	
}
.faq-contents h2{
	font-size: 1.6rem;
	font-weight: bold;
	text-align: left;
	border-left: 8px solid #e91e63;
	padding-left: 5px;	
}
.faq-contents h3{
	font-size: 1.4rem;
	font-weight: bold;
	text-align: left;
	border-left: 4px solid #00bcd4;
	padding-left: 5px;
	margin-left: 10px;	
}
.faq-contents img{
	max-width: calc(100% * 0.8);
}

.faq-contents .section-index{
	list-style: none;
}

.debug-output{
	margin: 20px 0;
	padding: 10px;
	background-color: #ebebeb;
	word-break: break-all;
}

.debug-output p,
#debug p{
	margin: 0;
	padding: 0;
}
.debug-output p.log-title{
	margin-top: 3px;
	color: #bd0000;
}
.debug-action{
	margin: 10px 0;	
}
.debug-action p{
	margin: 0;
	padding: 0;
}

/* 20260618「回答作成中」の表示*/
.wait-a-moment-overlay{
/* 	position: absolute;
	bottom: 0;
	left: 0;
	right: 0; */
	width: 90%;
	margin: 10px auto;
	background-color: #ffd8d8;
	padding: 5px;
	color: #333;
	z-index: 999;
	text-align: center;
	border-radius: 20px 20px 30px 30px;
}