/*
GENERAL
MAIN
Sub Menu
Chat Body
Chat Bar
Main Box
User List
Mypage
Info
HEADER
FOOTER
Login form
Form Parts
*/


/* GENERAL */

html {
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	padding: 0;
	text-align: center;
	font-family: Verdana, Roboto, "Droid Sans", "游ゴシック", YuGothic, "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", sans-serif;
	overscroll-behavior: none;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	overscroll-behavior-y: none;
	background: linear-gradient(#daa520, #fafad2);

}

/* 背景グラデーション及び、スクロール固定処置 */
body:after{
	position: fixed; /* スクロール固定 */
	top: 0; left: 0;
	width: 100%; height: 100%; /* 画面全体を基準 */
	content: "";
	z-index: -1; /* 背景要素の為、重なりを最下位へ */
	background: #fafad2; /* 保険カラー */
	background: -moz-linear-gradient(#daa520, #fafad2);
	background: -webkit-linear-gradient(#daa520, #fafad2);
	background: linear-gradient(#daa520, #fafad2);
}
/* *** */

.error {
	color:red;
	font-size: 80%;
	margin: 3px;
	padding:0;
}

.additional_info {
	color:blue;
	font-size: 80%;
	margin: 3px;
	padding:0;
}

input {
	appearance: none;
	-webkit-appearance: none;
}

.input-right{
	text-align: right;
}

.input-left{
	text-align: left;
}

.input-center{
	text-align: center;
}

.btn-round {
	
}

#wrapper {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* *************************** */
/* *************************** */

/* MAIN */

.w-main {
	flex-grow: 1;
	/* width: 720px; */
	height: 100%;
	width: 100vw;
	margin: 0;
	/* border-right: 1px solid #ccc; */
	/* border-left: 1px solid #ccc; */
	background: linear-gradient(#daa520, #fafad2);
}

.main-title-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  margin: 0;
  background-color: #fff8e1; /* フッターと同じ淡い金色系 */
  height: 50px;
  color: #4a2f00; /* タイトル文字の色も統一感ある茶系に */
  line-height: 50px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 0 0 10px 10px; /* 下側の角だけを丸める */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* 下方向の影で立体感 */
  z-index: 100;
}

.main-title-bar .main-title-bar-leftbox{
	/* position: absolute; */
	/* left: 0; */
	flex-grow: 1;
	margin: 0;
	padding: 0;
	width: 60px;
	height: 40px;
}

.main-title-bar .main-title-bar-rightbox{
	/* position: absolute; */
	/* right: 0; */
	flex-grow: 1;
	margin: 0;
	padding: 0;
	width: 60px;
	height: 40px;
}

.main-title-bar .main-title-bar-leftbox img,
.main-title-bar .main-title-bar-rightbox img{
	width: 40px;
	height: 40px;
}

.main-title-bar p.main-title-bar-text{
	/* position: absolute; */
	/* left: 0; */
	margin: 0;
	padding: 0;
	width: 100%;
}

/* *************************** */
/* *************************** */

/* Sub Menu */

.submenu-bar{
	position: fixed;
	top: 80px;
	/* width: 720px; */
	margin: 0;
	background-color: #fdedff;
	height: 30px;
	color: #ffffff;
	line-height: 30px;
	font-size: 16px;
}

.submenu-bar ul{
	/* width: 720px; */
	margin: 0;
	padding: 0;
}

.submenu-bar ul li {
	display: inline-block;
	margin: 0;
	padding: 0;
	/* width: 357px; */
}

.submenu-bar ul li.enable{
	background-color: #fdedff;
}

.submenu-bar ul li.disable{
	background-color: #fff;
}

.submenu-bar ul li a{
	margin: 0;
	padding: 0;
	text-decoration: none;
	color: #ffffff;
}

.submenu-bar-chat{
	position: fixed;
	top: 80px;
	/* width: 720px; */
	margin: 0;
	background-color: #fdedff;
	height: 30px;
	color: #ffffff;
	line-height: 30px;
	font-size: 16px;
}

.submenu-bar-chat ul{
	/* width: 720px; */
	margin: 0;
	padding: 0;
	background-color: #fff;
}

.submenu-bar-chat ul li{
	display: inline-block;
	margin: 0;
	padding: 0;
	/* width: 174px; */
}

.submenu-bar-chat ul li{
	background-color: #fff;
	cursor: pointer;
	border-right: 1px solid #ffffff;
}

.submenu-bar-chat ul li.noborder{
	border: none;
}

.submenu-bar-chat ul li a{
	margin: 0;
	padding: 0;
	text-decoration: none;
	color: #ffffff;
}

/* *************************** */
/* *************************** */

/* Chat Body */

.chat-body{
	margin: 0;
	padding: 0;
	width: 100vw;
}

.mes-box-me{
	margin: 10px 10px 0 10px;
	text-align: right;
}

.mes-box-other{
	margin: 10px 10px 0 10px;
	text-align: left;
}

.mes-box-other img.other-image{
	vertical-align: top;
	width: 40px;
	height: 40px;
	border-radius: 20px;
	border: 1px solid #aaaaaa;
	display: inline-block;
}

.mes-box-body{
	margin: 0 0 0 5px;
	display: inline-block;
}

.mes-box-body img.chat-image{
	width: 150px;
	border-radius: 10px;
	border: 1px solid #aaaaaa;
}

.mes-pop-me{
	min-height: 20px;
	text-align: left;
	background-color: #eeffee;
	padding: 10px 15px 10px 15px;
	border-radius: 10px;
	min-inline-size: 20px;
	max-inline-size: 250px;
	overflow-wrap: break-word;
}

.mes-pop-other{
	min-height: 20px;
	text-align: left;
	background-color: #ffeeee;
	padding: 10px 15px 10px 15px;
	border-radius: 10px;
	min-inline-size: 20px;
	max-inline-size: 250px;
	overflow-wrap: break-word;
}

.mes-time{
	font-size: 14px;
	color: #666666;
}

/* *************************** */
/* *************************** */

/* Chat Bar */

.chat-bar{
	position: sticky;
	/*bottom: 30px;*/
	bottom: 0;
	width: 100vw;
	margin: 0;
	background-color: #fff;
	color: #ffffff;
	line-height: 30px;
	font-size: 16px;
}

.text-sender{
	display: flex;
	justify-content: space-between;
}

.text-sender__button{
	display: flex;
	flex-direction: column;
	flex-grow: 0;
	padding: 5px;
}

.text-sender__button input{
	margin-top: auto;
}

.text-sender textarea{
	/* width: 450px; */
	margin: 5px 0 5px 0;
	resize: none;
	font-size: 16px;
	line-height: 19px;
	height: 31px;
	flex-grow: 1;
}

.file_sendbutton{
	margin: 5px;
	height: 35px;
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid #666666;
	background-color: #fff;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	border-radius: 3px;
	flex-grow: 100;
}

.file_sender_hidden{
	position: absolute;
	top: -2000px;
}

.chat-send-button{
	height: 35px;
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid #666666;
	background-color: #daa520;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	border-radius: 3px;
}

.image-sender form,
.image-sender form fieldset
{
	margin: 0;
	padding: 0;
	border: none;
	display: flex;
	justify-content: space-between;
}

.chat-image-send-button{
	height: 35px;
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid #666666;
	background-color: #daa520;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	border-radius: 3px;
}

.chat-mode-switcher{
	height: 35px;
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid #666666;
	background-color: #daa520;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	border-radius: 3px;
}

/* *************************** */
/* *************************** */

/* Main Box */

.main-content-box {
	text-align: left;

}

.main-content-box-withsub {
	text-align: left;

}

/* *************************** */
/* *************************** */

/* User List */

table.user-list {
	margin: 0;
	padding: 0;
	border: none;
	border-style: none;
	border-collapse: collapse;
	/* width: 720px; */
	width: 100vw;
}

table.user-list tbody.nopointer:hover{
	background-color: #fff;
}

table.user-list tbody.pointer:hover{
	cursor: pointer;
	background-color: #fff;
}

table.user-list tr td{
	margin: 0;
	padding: 0;
	border: none;
	border-style: none;
}

table.user-list tr td.imgbox{
	padding: 3px;
	width: 86px;
}

table.user-list tr td.imgbox img{
	margin: 5px;
	padding: 0;
	width: 70px;
	height: 70px;
	border-radius: 35px;
	border: 1px solid #aaaaaa;
}

table.user-list tr td.online-stats{
	padding: 3px 0 0 3px;
	text-align: left;
	font-size: 13px;
	color: #666666;
}

table.user-list tr td.last-time{
	padding: 3px;
	text-align: right;
	font-size: 13px;
	color: #666666;
}

table.user-list tr td.name{
	padding: 0 0 3px 3px;
	text-align: left;
	font-size: 18px;
	color: #333333;
	font-weight: bold;
}

table.user-list tr td.unread{
	padding: 3px;
	text-align: right;
}

table.user-list tr td.unread p{
	display: block;
	margin: 0 0 0 auto;
	padding: 2px;
	text-align: center;
	background-color: #00aa00;
	color: #ffffff;
	font-size: 15px;
	font-weight: bold;
	width: 20px;
	height: 20px;
	border-radius: 10px;
}

table.user-list tr td.last-text{
	padding: 3px;
	text-align: left;
	font-size: 13px;
	color: #333333;
}

table.user-list tr td.prof{
	padding: 0 0 0 3px;
	text-align: left;
	font-size: 13px;
	color: #333333;
}

/* *************************** */
/* *************************** */

.search-user-box {
	position: relative;
	display: inline-block;
	margin: 3px;
	width: 230px;
}

.search-user-box a{
	position: absolute;
	top: 0;
	left: 0;
	height:100%;
	width: 100%;
}

.single-user-image-box {
	position: relative;
}

.single-user-image-box img{
	width: 230px;
	height: 230px;
}

.single-user-image-box p{
	position: absolute;
	top: 190px;
	left: 0;
	margin: 0;
	padding: 5px;
	width: 220px;
	height: 30px;
	background-color: rgba(0,0,0,0.5);
	color: white;
	text-align: left;
	font-size: 14px;
}

.single-user-image-box img.new-cover{
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	width: 230px;
	height: 230px;
	
}

.single-user-label-box{
	font-size: 14px;
}

.single-user-label-box img{
	width: 14px;
	height: 14px;
}

/* *************************** */
/* *************************** */

/* Mypage */

.check-prof-box{
	margin: 0;
	padding: 10px;
	text-align: left;
	font-size: 14px;
	font-weight: bold;
}

.prof-box{
	margin: 0;
	padding: 10px;
	text-align: center;
	border: 1px solid; /* 線の太さと可視化 */


}

.prof-box img{
	margin: 0;
	padding: 0;
	width: 150px;
	height: 150px;
	border: 1px solid #cccccc;
	vertical-align: top;
	border-radius: 75px;
}

.prof-box div.sub-box{
	margin: 0;
	padding: 0;

}

.prof-box p{
	margin: 5px;
	padding: 0;
	font-size: 18px;
	font-weight: bold;
}

.prof-box input{
	margin: 0;
	padding: 5px;
}

.status-box{
	margin: 0;
	padding: 0;
	width: 100vw;
	text-align: center;
}

.status-box-block{
	display: inline-block;
	margin: 0;
	padding: 0 auto 0 auto;
	/* height: 100px; */
	width: 90vw;
	text-align: center;
	border: 1px solid #cccccc;
	background-color: #ffffff;
	cursor: pointer;
}

.status-box-block:hover{
	background-color: #eeeeee;
}

.status-box-block p.status-box-value{
	margin: 10px 0 0 0;
	padding: 0;
	font-size: 20px;
	color: #333333;
	font-weight: bold;
}

.status-box-block p.rubi{
	margin: 5px 0 5px 0;
	padding: 0;
	font-size: 15px;
	color: #666666;
}

.mypage-menu-box{
	margin: 0;
	padding: 0;
	width: 100vw;
}

.mypage-menu-block-empty{
	display: inline-block;
	margin: 5px 0 0 0;
	padding: 0;
	height: 150px;
	width: 230px;
	text-align: center;
	border: 1px solid #cccccc;
	background-color: #ffffff;
}

.mypage-menu-block-empty img{
	margin: 20px 0 10px 0px;
	paffing: 0;
	width: 60px;
}

.mypage-menu-block-empty p.rubi{
	margin: 10px 0 0 0;
	padding: 0;
	font-size: 15px;
	color: #666666;
}

.mypage-menu-block{
	margin: 5px auto 5px auto;
	padding: 0;
	width: 90vw;
	text-align: center;
	border: 1px solid #cccccc;
	background-color: #ffffff;
	cursor: pointer;
}

.mypage-menu-block-text{
	margin: 5px 10px 5px 10px;
	width: 90%;
	text-align: left;
	font-size: 12px;
	color: #666;
}

.mypage-menu-block:hover{
	background-color: #fff;
}

.mypage-menu-block img{
	margin: 10px 0 0 0px;
	paffing: 0;
	width: 60px;
}

.mypage-menu-block p.rubi{
	margin: 10px 0 5px 0;
	padding: 0;
	font-size: 15px;
	color: #666666;
}

/* *************************** */
/* *************************** */

/* Info */
table.info-list {
	margin: 0;
	padding: 0;
	border: none;
	border-style: none;
	border-collapse: collapse;
	width: 720px;
}

table.info-list tbody.pointer:hover{
	cursor: pointer;
	background-color: #fff;
}

table.info-list tbody tr td{
	margin: 0;
	padding: 5px;
	border: none;
	border-style: none;
}

table.info-list tbody tr td.info-time{
	font-size: 14px;
	color: #fff;
}

table.info-list tbody tr td.info-title{
	font-size: 18px;
	color: #333333;
	font-weight: bold;
}

p.info-time{
	margin: 10px;
	font-size: 15px;
	color: #fff;
}

p.info-title{
	margin: 10px;
	font-size: 20px;
	color: #333333;
	font-weight: bold;
}

div.info-body{
	margin: 10px;
	font-size: 18px;
	color: #333333;
	width: 90%;
	word-wrap: break-word;
}

.setting-text{
	font-size: 12px;
}

/* *************************** */
/* *************************** */

/* HEADER */

.w-header {
	position: sticky;
	top: 0;
	background-color: #cfe0ff;
	width: 100%;
	margin: 0;
	height: 0px;
	flex-shrink: 0;
	z-index: 100;
}

.header-menu {
	
}

.header-menu ul{
	/* width: 720px; */
	margin: 0;
	height: 40px;
	display: flex;
	flex-wrap: nowrap;
	padding: 0;
	list-style: none;
	justify-content: center;
	align-items: center;
}

.header-menu ul li {
	margin: 0;
	padding: 0;
	width:100%;
}

.header-menu ul li a{
	margin: 0;
	padding: 0;
	text-decoration: none;
}

.header-menu ul li a img{
	margin: 0;
	padding: 0;
}

/* *************************** */
/* *************************** */

/* FOOTER */

.w-footer {
	position: sticky;
	bottom: 0;
	background-color: #22015c;
	color: #ffffff;
	width: 100%;
	height: 30px;
	flex-shrink: 0;
}

.w-footer p{
	margin: 0;
	padding: 0;
	font-size: 12px;
	line-height: 30px;
	font-weight: bold;
}

/* *************************** */
/* *************************** */

/* Login form */

.login-box {
	margin: 5px auto 5px auto;
	width:90vw;
}

.login-form {
	border-radius: 3px;
	border: 1px solid #eee;
	box-shadow: 0px 0px 2px 0px #000000;
}

.login-form label {
	font-size: 13px;
}

/* *************************** */
/* *************************** */

/* Form Parts */

.form-parts {
	
}

.input-box {
	
}

.input-texts {
	border:none;
	border-radius:0px;
	color: #333333;
	border-bottom: 1px solid #c5c5c5;
	box-shadow: none !important;
	padding-left: 0;
	padding-right: 0;
	font-size: 16px;
}

.btn {
	padding: 10px;
	font-size: 15px;
	color: #000000;
	box-shadow: none !important;
	outline: none !important;
}

.tips-text{
	width: 80vw;
	margin: 0 auto 0 auto;
	font-size: 12px;
}

.tips-link{
	width: 80vw;
	margin: 3px auto 3px auto;
	font-size: 12px;
	font-weight: bold;
	
}

.input-select{
	font-size: 16px;
	color: #666;
	border: 1px solid #999;
	border-radius: 3px;
	background-color: #fff;
}

.btn-login{
	margin: 5px;
	height: 30px;
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid #666666;
	background-color: #e68e12;
	color: #fff;
	width: 100px;
	padding: 5px;
	font-size: 14px;
	font-weight: bold;
	border-radius: 3px;
}

/* *************************** */
/* *************************** */

/* payrequest form */

.payrequest-box {
	margin: 5px auto 5px auto;
	padding: 10px;
	width:80vw;
}

.payrequest-box h3{
	color: #000000;
	background-color: #a9a9a9;
	margin: 5px auto 5px auto;
	padding: 5px;
	width:80vw;
	border:none;
	border-radius: 3px;
	/* box-shadow: 0px 0px 2px 0px #000000; */
}

.payrequest-form {
	padding: 10px;
	border-radius: 3px;
	border: 1px solid #aaa;
	/* box-shadow: 0px 0px 2px 0px #000000; */
}

.payrequest-form label {
	font-size: 18px;
}

/* *************************** */
/* *************************** */

/* charbox */

.charbox{
	width: 100vw;
}

.charbox-title{
	width: 100vw;
	height: 30px;
	background-color: #daa520;
	line-height: 30px;
	font-weight: bold;
	font-size: 16px;
	color: #fff;
	padding: 0 8px;
}

.charbox-list-box{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap    : wrap;
	flex-wrap        : wrap;
	
	width: 100vw;
}

.charbox-list-box-content{
	padding: 10px;
	text-align: center;
}

.charbox-list-box-content-image{
	
}

.charbox-list-box-content-image img{
	width: 80px;
	height: 80px;
	border:1px solid #aaa;
	border-radius: 40px;
}

.charbox-list-box-content-name{
	text-align: center;
	color: #666;
	font-size: 15px;
	line-height: 30px;
}

/* *************************** */
/* *************************** */

.flex_user_listbox{
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	position: relative;
	margin: 0;
	padding: 0;
	pointer-events: none;
}

.flex_user_childbox{
	width: 31%;
	margin: 1%;
	text-align: center;
	position: relative;
	overflow: hidden;
	pointer-events: none;
}

.flex_user_childbox::before{
	content: "";
	padding-top: 100%;
	position: relative;
	display: block;
	pointer-events: none;
}

.flex_user_childbox img.uimg{
	/* object-fit: cover; */
	position: absolute;
	top: 0;
	left: 0;
	padding: 0;
	margin: 0;
	width: 100%;
	pointer-events: none;
}

.flex_user_childbox img.ost{
	position: absolute;
	top: 5px;
	left: 5px;
	width: 15%;
	pointer-events: none;
}

.flex_user_childbox .obi{
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 0 0 0 5px;
	margin: 0;
	color: #fff;
	line-height: 20px;
	text-align: left;
	font-size: 14px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	background-color: rgba(0,0,0,0.4);
	pointer-events: none;
}

.ucv{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	padding: 0;
	margin: 0;
	background-color: rgba(255,255,255,0.0);
	pointer-events: auto;
}

.user_mainimg img{
	width: 300px;
}

.usr_mesbutton{
	width: 200px;
	height: 50px;
	color: #000;
	border: 1px solid #fff;
	border-radius: 3px;
	background-color: #e68e12;
}

.usr_waitbutton{
	width: 200px;
	height: 50px;
	color: #000;
	border: 1px solid #fff;
	border-radius: 3px;
	background-color: #e68e12;
}

.usr_iinethanksbutton{
	width: 200px;
	height: 50px;
	color: #000;
	border: 1px solid #fff;
	border-radius: 3px;
	background-color: #e68e12;
}

.usr_iinebutton{
	width: 200px;
	height: 50px;
	color: #000;
	border: 1px solid #fff;
	border-radius: 3px;
	background-color: #e68e12;
}

/* *************************** */
/* *************************** */

.sub-title-box {
	display: flex;
	justify-content: stretch;
	flex-flow: row nowrap;
	align-items: stretch;
	position: sticky;
	top: 80px;
	margin: 0;
	background-color: #fff;
	height: 40px;
	color: #000;
	line-height: 40px;
	font-size: 16px;
	font-weight: bold;
	z-index: 100;
}

.sub-title-box div.sub-title-active{
	margin:0;
	padding:0;
	width:50%;
	text-align:center;
	background-color: #CDB4E7;
	color: #fff;
}

.sub-title-box div.sub-title-deactive{
	margin:0;
	padding:0;
	width:50%;
	text-align:center;
	background-color: #ddd;
	color: #aaa;
}

/* *************************** */
/* *************************** */

.mypage_new{
	position: absolute;
	right: 3px;
	bottom: 3px;
	background-color: #ff6666;
	font-size: 9px;
	font-weight: bold;
	width: 16px;
	height: 16px;
	border-radius: 8px;
	color: #fff;
	padding: 0 0;
	pointer-events: none;
}


/* *************************** */
/* *************************** */

/* ------------------ */
/* 全体 */
/* ------------------ */
/* footer用にレイアウト調整 */
body {
  margin: 0;
  padding: 0;
  list-style: none;
  background: #eee;
  color: #333;
}

.main-title{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* ------------------ */
/* フッター */
/* ------------------ */
/* メニューをページ下部に固定 */
#fixed-footer-menu {
  position: fixed;
  width: 100%;
  bottom: 0px;
  opacity: 1;
  z-index: 100;
}

/* メニューを横並びにする */
#fixed-footer-menu ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  background: #f5f5f5;
}

/* メニューの要素 */
#fixed-footer-menu li {
  justify-content: center;
  align-items: center;
  width: 20%; /* 要素が5つの場合（100/5） */
  padding: 0;
  margin: 0;
}

/* メニューのボタン */
#fixed-footer-menu li a {
  color: #333;
  text-align: center;
  display: block;
  width: 100%;
  padding: 10px 0px 0px 0px;
  font-size: 8px;
  text-decoration: none;
}

/* メニュータイトル */
#fixed-footer-menu li p {
  font-size: 8px; /* メニュータイトルのフォントサイズ */
}

/* アイコンのサイズを調整 */
.footer-icon {
  font-size: 20px;
}

.push {
  height: 100px;/*フッターと同じ高さに指定*/
}

.footer-icon {
  font-size: 24px;
  color: #c47f00; /* 金色系に */
}

#fixed-footer-menu li a {
  color: #4a2f00; /* 落ち着いた茶系など */
  font-size: 10px;
  font-weight: bold;
}


/* 追加要素ホバー */
#fixed-footer-menu li a:hover {
  background-color: #ffe8b0;
  transition: background-color 0.3s ease;
}


/* 丸みをつける */
#fixed-footer-menu ul {
  border-top: 1px solid #ccc;
  border-radius: 10px 10px 0 0;
}


.footer {
  position: fixed;
  bottom: 0;
  height: 60px;
  width: 100%;
  background-color: #fff8e1;
  z-index: 10;
}

.chat-area {
  padding-bottom: 80px; /* フッター＋送信エリア分のスペースを空ける */
  overflow-y: auto;
}

.chat-input-area {
  position: relative;
  margin-bottom: 10px;
  z-index: 20;
}





/* *************************** */
/* *************************** */
/* グラデーション背景 */

.box {
  background: linear-gradient(#daa520, #fafad2);
}






/* *************************** */
/* *************************** */
.flex_test-box {
    padding: 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* 2段表示を意図的に */
    gap: 12px;       /* 要素間のスペース */
}

.flex_test-item {
    background-color: #fff8e1; /* フッター・ヘッダーと統一 */
    border-radius: 12px;
    width: 45%;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #4a2f00;
    font-weight: bold;
    font-size: 14px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flex_test-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.flex_test-item i {
    font-size: 24px;
    margin-bottom: 6px;
    color: #c47f00; /* 金系アイコン色 */
}

/* リンク調整 */
.flex_test-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* リンクの訪問済み色を抑える */
a:visited {
    color: inherit;
}







/* 通常（PC）ではタイル表示 */

.slide-wrap {
  background:#add8e6;
  display: flex;
  margin: 0 auto;
  max-width: 1024px;
  width: 100%;
}
.slide-box {
  height: auto;
  margin: .5%;
  width: 24%;
}
.slide-box a {

  color: #222;
  display: block;
  text-decoration: none;
}
.slide-box img {
  display: block;
  height: auto;
  width: 100%;
}
.slide-box p {
  font-weight: bold;
  padding: 10px;
  margin:.5rem auto;
}
@media screen and (max-width: 768px) {
/* スマホサイズでスライダー表示 */
  .slide-wrap {
    overflow-x: scroll;
  }
  .slide-box {
    flex: 0 0 70%;
    margin: auto 3% auto auto;
  }
}

/* 決済画面のBOX */
.box1 {
width: 80%;
margin: 2em auto;
padding:2em;/*内側余白*/
border-radius:30px;/*丸みを調整*/
background-color:#fff;
}


.box2 {
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #000000;
    background: #;/*背景色*/
    border-top: solid 6px #000000;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.32);/*影*/
}
.box2 p {
    margin: 0; 
    padding: 0;
}


.box3{
    padding: 0.5em 1em;
    margin: 1em 0;
    background: #f4f4f4;
    border-left: solid 6px #fc6aee;
    box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.33);
}
.box3 p {
    margin: 0; 
    padding: 0;
}



/* 決済画面のBOX内のリスト */

.menu_list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.menu_list figure {
	margin: 0;
}
.menu_list img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}
.menu_list dl,
.menu_list dd {
	margin: 0;
}
.menu_list dl {
	margin-top: .5em;
	line-height: 1.5;
	font-family: "Noto Sans JP", sans-serif;
	text-align: right;
}
.menu_list dt,
.menu_list .summary {
	text-align: left;
}
.menu_list dt {
	font-size: .875em;
	font-weight: 700;
}
.menu_list dd {
	margin-top: .2em;
	font-size: .75em;
}
.menu_list .price {
	display: inline-block;
	padding: .2em .9em;
	border:1px solid #000;

}


/* ポップアップ */
.popup_wrap input {
  display: none;
}
.popup_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: #37beb03d;
  opacity: 0;
  transition: opacity 0.5s, transform 0s 0.5s;
  transform: scale(0);
}
.popup_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}
.popup_content {
  position: relative;
  align-self: center;
  width: 75%;
  max-width: 800px;
  box-sizing: border-box;
  background: #fff;
  line-height: 1.4em;
  transition: 0.5s;
  border-radius: 12px;
  box-shadow: 0 0 5px rgba(94, 94, 94, 0.7);
}
.popup_content p{
    padding:20px 20px 5px 20px;
    text-align: center;
}
.close_btn {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 30px;
  cursor: pointer;
  color:#37beb0;
}
.popup_wrap input:checked ~ .popup_overlay {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s;
}
.open_btn {
    color: #000;
    border-radius: 3px;
    cursor: pointer;
    transition: .3s ease;

    padding:5px 15px;
    font-weight: bold;
}
.open_btn:hover{

    color:#fff;
    transition: .3s ease;
}


/* BOX */

.mybox{
	background-color: #fff;	/* 背景色 */
	border: 2px solid #f3cbd0;	/* 線の太さ・種類・色 */
	border-radius: 5px;
	margin: 40px 5px 5px 20px;	/* 外側の余白 上・右・左・下 */
	padding: 25px 20px 10px 20px;	/* 内側の余白 上・右・左・下 */
	position: relative;
}
.mybox:before{
	background-color: #ef858c;	/* 吹き出し背景色 */
	border-radius: 5px;
	color: #fff;	/* 吹き出し文字色 */
	content: 'POINTについて';
	padding: 5px 20px;
	position: absolute;
	left: -10px;
	top: -20px;
}
.mybox:after{
	border-top: 12px solid #ef858c;		/* 吹き出し三角部分の色 */
	border-right: 12px solid transparent;
	border-left: 12px solid transparent;
	content: '';
	position: absolute;
	top: 10px;
	left: 15px;
}





.mybox1{
	background-color: #fff;	/* 背景色 */
	border: 2px solid #f3cbd0;	/* 線の太さ・種類・色 */
	border-radius: 5px;
	margin: 40px 5px 5px 20px;	/* 外側の余白 上・右・左・下 */
	padding: 25px 20px 10px 20px;	/* 内側の余白 上・右・左・下 */
	position: relative;
}
.mybox1:before{
	background-color: #ef858c;	/* 吹き出し背景色 */
	border-radius: 5px;
	color: #fff;	/* 吹き出し文字色 */
	content: 'キャンペーンについて';
	padding: 5px 20px;
	position: absolute;
	left: -10px;
	top: -20px;
}
.mybox1:after{
	border-top: 12px solid #ef858c;		/* 吹き出し三角部分の色 */
	border-right: 12px solid transparent;
	border-left: 12px solid transparent;
	content: '';
	position: absolute;
	top: 10px;
	left: 15px;
}

/* =========================
   コンテンツ全体カード
   ========================= */
.uikit-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
  background: transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* =========================
   コンテンツ内の小カード
   ========================= */
.uikit-card--inner {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 16px 18px;
  margin-top: 16px;
  background: transparent;
}

/* =========================
   見出し（大）
   ========================= */
.uikit-heading {
  font-size: 1.1rem;
  font-weight: 600;
  padding-left: 12px;
  margin-bottom: 12px;
  border-left: 4px solid rgba(0, 0, 0, 0.15);
  line-height: 1.4;
}

/* =========================
   見出し（小）
   ========================= */
.uikit-subheading {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: rgba(0, 0, 0, 0.75);
}

/* =========================
   テキスト
   ========================= */
.uikit-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.7);
}

/* =========================
   強調テキスト（赤文字など）
   ========================= */
.uikit-em {
  color: #c93a3a;
  font-weight: 600;
}

/* =========================
   ロゴ一覧グリッド
   ========================= */
.uikit-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

/* =========================
   ロゴカード（白背景版）
   ========================= */
.uikit-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* =========================
   ロゴ画像
   ========================= */
.uikit-logo-item img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}

/* =========================
   ホバー・タッチ演出
   ========================= */
.uikit-logo-item:hover,
.uikit-logo-item:active {
  transform: translateY(-3px) scale(0.98);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}


/* =========================
   通常テキスト（可読性強化）
   ========================= */
.uikit-text {
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.75);
}

/* =========================
   注意書き・注釈テキスト
   ========================= */
.uikit-note {
  font-size: 0.8rem;
  line-height: 1.6;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.55);
  margin-top: 8px;
}


/* =========================
   決済バナー（横はみ出し対策済）
   ========================= */
.uikit-pay-button {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;

  padding: 16px 20px;
  margin: 24px 0;

  background: linear-gradient(135deg, #4f8cff, #6fa8ff);
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  border-radius: 12px;
  text-decoration: none;
}

/* リンク色対策 */
.uikit-pay-button,
.uikit-pay-button:visited,
.uikit-pay-button:hover,
.uikit-pay-button:active {
  color: #ffffff;
  text-decoration: none;
}


/* =========================
   撮影ポイント全体
   ========================= */
.uikit-guide {
  margin: 32px 0;
}

/* =========================
   各ポイント行
   ========================= */
.uikit-guide-item {
  display: flex;
  gap: 24px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  background: transparent;
}

/* =========================
   左：画像
   ========================= */
.uikit-guide-image {
  flex: 0 0 160px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uikit-guide-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* =========================
   右：テキスト
   ========================= */
.uikit-guide-content {
  flex: 1;
}

/* タイトル（ポイント1など） */
.uikit-guide-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: rgba(0, 0, 0, 0.85);
}

/* 説明文 */
.uikit-guide-text {
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.75);
}

/* =========================
   スマホ対応
   ========================= */
@media (max-width: 768px) {
  .uikit-guide-item {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .uikit-guide-image {
    width: 100%;
    max-width: 240px;
  }
}

/* =========================
   NGボックス全体
   ========================= */
.uikit-ng-box {
  margin: 28px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: transparent;
}

/* =========================
   上部NG見出し
   ========================= */
.uikit-ng-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #4f3101;
}

/* NGテキスト */
.uikit-ng-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
}

/* ×マーク */
.uikit-ng-mark {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

/* =========================
   画像エリア
   ========================= */
.uikit-ng-image {
  padding: 20px;
  background: #ffffff;
  display: flex;
  justify-content: center;
}

.uikit-ng-image img {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}


/* =========================
   シンプル画像ボックス
   ========================= */
.uikit-simple-box {
  margin: 24px 0;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: transparent;
  text-align: center;
}

/* =========================
   画像（余白なし版）
   ========================= */
.uikit-simple-image {
  width: 100%;
  max-width: 260px;
  margin: 0 auto 14px;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
}

.uikit-simple-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* =========================
   説明文
   ========================= */
.uikit-simple-text {
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.75);
}

.uikit-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* 一覧全体を中央に寄せる */
.uikit-store-wrapper {
  max-width: 960px;   /* PC時の基準幅 */
  margin: 0 auto;
  padding: 0 16px;    /* スマホ余白 */
  box-sizing: border-box;
}

/* =========================
   uikit 全体文字サイズ +1段階
   ========================= */
.uikit-scope {
  font-size: 112.5%;
}

.uikit-scope {
  font-size: 110%;   /* 少しだけ */
}

/* または */

.uikit-scope {
  font-size: 115%;   /* かなり大きめ */
}


/* =========================
   uikit 文字サイズ +1段階
   ========================= */
.uikit-card,
.uikit-card * {
  font-size: calc(1em * 1.12);
}


/* =========================
   背景
   ========================= */
body.page-apple-gift {
  background-color: #f6f8fb;
}



.page-apple-gift .page-bg {
  background: linear-gradient(#ffe7ab, #fafad2);
}