﻿@charset "UTF-8";

/*================================================
 *  CSSリセット
 ================================================*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;font-weight:normal;}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}

/*================================================
 *  一般・共通設定
 ================================================*/
body {
	font-size:16px;
	font-family:"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	/*line-height:1.6;*/
}

#contents {
	width:780px;
	margin:0 auto;
}

header {
	width:780px;
	margin:0 auto;
}

a {
	color:#0000FF;
}
a:hover {
	color:#4b00ff;
}

h1 {
	font-size:24px;
	/*line-height:1.4;*/
}

h2 {
	margin-bottom:0.5em;
	font-size:22px;
	/*color:#cf0c0c;*/
	/*border-bottom:3px solid #444;*/
}

h3 {
	margin-bottom:0.25em;
	font-size:20px;
}
/*h3:before {
	content:"\002714\00a0";
	color:#cf0c0c;
}*/

h4 {
	margin-bottom:0.25em;
	font-size:18px;
}
h4:before {
	content:"\00ab";
}
h4:after {
	content:"\00bb";
}

h5 {
	margin-bottom:0.25em;
	padding:2px;
	font-size:16px;
	border-top:1px dotted #ddd;
	border-bottom:1px dotted #ddd;
	background:#f3f3f3;
}

h6 {
	margin-bottom:0.25em;
	padding-left:5px;
	font-size:14px;
	border-left:5px solid #cf0c0c;
}

p {
	margin:0 0 1em 0;
}

img {
	vertical-align:bottom;
}

em {
	font-weight:bold;
}

strong {
	font-weight:bold;
	color:#ef8100;
}

pre {
	margin:1em 0;
	padding:1em;
}

blockquote {
	margin-bottom:1em;
	padding:1em;
	/*border:1px dotted #ddd;
	border-left:5px solid #ddd;*/
}

ul,ol,dl {
	margin:0 0 1em 0;
}
ul li {
	list-style:disc;
}
ol li {
	list-style:decimal;
}
li {
	margin-left:2em;
}

dt {
	margin-bottom:0.5em;
	/*border-bottom:1px dotted #ddd;*/
}
dt:before {
	content:"\0025a0";
}
dd {
	margin-bottom:1em;
}

table {
	width:100%;
	margin:1em;
	/*border-collapse:collapse;
	border:1px solid #ddd;*/
}
th {
    padding-right: 20px;
	/*text-align:center;*/
	vertical-align:middle;
	/*border:1px solid #ddd;
	background:#95bbc6;*/
}
td {
    padding-right: 20px;
  	margin:1em;
	/*border:1px solid #ddd;*/
}

/*================================================
 *  汎用クラス
 ================================================*/
.list {
	padding:0 0 0 2em;
}

.list li {
	margin:0;
	padding:0;
	list-style:none;
	text-indent:-1.3em;
}
.list li:before {
	content:"\002605\00a0";
	color:#ffc720;
}

.temp {
	clear:both;
	overflow:hidden;
	margin-bottom:50px;
}

.img {
	float:left;
	width:300px;
}

.text {
	float:right;
	width:450px;
}

.photo {
	margin:20px 0;
	padding:10px;
	box-shadow:rgba(113, 135, 164, 0.8) 0 3px 15px 0;
	background:#fff;
}

.photo img {
	max-width:100%;
}

/*================================================
 *  ヘッダー
 ================================================*/
header {
	margin-top:30px;
	margin-bottom:50px;
}
header h1 {
	margin-bottom:30px;
}
h1 span {
	font-size:12px;
}

/*================================================
 *  グローバルナビゲーション
 ================================================*/
nav {
	width:100%;
	position:fixed;
	top:0;
	left:0;
	padding:5px 0;
	opacity:0.8;
	/*background:#000;*/
	background:#666666;
	z-index:10;
}
nav ul {
	position:relative;
	float:left;
	left:50%;
	margin:0;
}
nav li {
	position:relative;
	left:-50%;
	float:left;
	list-style:none;
	margin:0;
	padding:0 20px;
}
nav li a {
	color:#fff;
	text-decoration:none;
}
nav li a:hover {
	color:#dfdfdf;
	text-decoration:underline;;
}

/*================================================
 *  メイン
 ================================================*/
section {
	margin-bottom:100px;
}

/*================================================
 *  フッター
 ================================================*/
footer {
	clear:both;
	padding:20px 0;
	font-size:11px;
	text-align:center;
}

/*================================================
 *  ページトップへの戻り
 ================================================*/
.totop {
	position:fixed;
	bottom:15px;
	right:15px;
}
.totop a {
	display:block;
	text-decoration:none;
}
.totop img {
	background:#000;
}
.totop img:hover {
	background:#333;
}

/*================================================
 *  タブレット/スマートフォン向けデザイン
 ================================================*/
/* スクロールバーを考慮して20px大きいサイズで切り替え */
@media screen and (max-width:799px) {
	body {
		box-sizing:border-box;
		width:100%;
		padding:0 10px;
	}

	#contents {
		width:100%;
	}

	header {
		width:100%;
	}

}
/*================================================
 *  カスタムスタイル
 ================================================*/
 /* Formを中央揃えにする */
.align_center{
    width: fit-content;
    margin: auto;
    /*border: 1px solid #333;*/
    /*background: #e3f5ff;*/
}

/* buttonのスタイルを指定 */
button {
    width: 15em;
    height:3em;
    font-size: 15px;
    background: Royalblue;
	color: white;
    /*border: none;*/
	border: 1px solid white;
    border-radius: 3px;
    cursor: pointer;
}
button.delete {
	width: 15em;
	height:3em;
	font-size: 15px;
	background: orangered;
	color: white;
    /*border: none;*/
	border: 1px solid white;
    border-radius: 3px;
    cursor: pointer;
}
button.edit_button {
    width: 6em;
    height:2em;
    font-size: 14px;
    background: Royalblue;
    /*border: none;*/
	border: 1px solid white;
	color: white;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
}
button.delete_button {
    width: 6em;
    height:2em;
    font-size: 14px;
    background: orangered;
	color: white;
    /*border: none;*/
	border: 1px solid white;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
}
button.extract_button {
    width: 8em !important;
    height:2em;
    font-size: 14px;
    background: Royalblue;
	color: white;
    /*border: none;*/
	border: 1px solid white;
    border-radius: 3px;
    cursor: pointer;
}
/* 長い文字数のボタンのスタイルを指定 */
button.horizontal {
    padding-left: 1em;
    padding-right: 1em;
    height: 3em;
}
/* inputフィールドの幅を指定 */
/* 顧客ID */
input[name="FIT0009"] {
    width: 80px;
}
/* 顧客名 */    
input[name="FVC0017"] {
    width: 400px;
    ime-mode: active;
}
/* フリガナ */    
input[name="FVC0007"] {
    width: 400px;
    ime-mode: active;
    writing-mode: horizontal-tb;
    text-transform: full-width;
}
    
/* 郵便番号 */
input[name="FVC0058"] {
    width: 80px;
}
/* 都道府県 */
input[name="FVC0046"] {
    width: 200px;
    ime-mode: active;
}
/* 市区町村、番地 */    
input[name="FVC0022"] {
    width: 400px;
    ime-mode: active;
}
/* 建物名など */
input[name="FVC0044"] {
    width: 400px;
    ime-mode: active;
}
/* 営業担当 */
input[name="FVC0008"] {
    width: 400px;
    ime-mode: active;
}
/* 電話番号 */
input[name="FVC0045"] {
    width: 400px;
}
/* FAX番号 */
input[name="FVC0002"] {
    width: 400px;
}
/* 記号・番号 */
input[name="FVC0013"] {
    width: 70px;
}
input[name="FVC0049"] {
    width: 70px;
}
/* 記号・番号（旧設定） */
input[name="mark"] {
    width: 80px;
}
input[name="number"] {
    width: 120px;
}
/* 生年月日 */    
input[name="yyyy"] {
    width: 60px;
}
input[name="mm"] {
    width: 40px;
}
input[name="dd"] {
    width: 40px;
}
/* 氏名 */
input[name="FVC0012"] {
    width: 400px;
    ime-mode: active;
}
/* 顧客 */
select[name="FIT0009"] {
    width: 400px;
    height: 2em;
    font-size: 14px;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 3px;
}
/* メールアドレス */
input[name="FVC0056"] {
    width: 200px;
}
/* パスワード */
input[name="FVC0047"] {
    width: 200px;
}

/* 抽出条件専用のフィールド設定 */
/* 氏名（抽出条件） */
input[name="FVC0023"] {
    width: 200px;
}
/* 記号（抽出条件） */
input[name="FVC0013"] {
    width: 70px;
}
/* 番号（抽出条件） */
input[name="FVC0049"] {
    width: 70px;
}
/* 最終受診日（抽出条件） */
input[name="exam_date_from"] {
    width: 150px;
}
input[name="exam_date_to"] {
    width: 150px;
}

/* 全体のinputスタイルの統一 */
input[type="text"] {
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
}

/* email入力フィールドのスタイル */
input[type="email"] {
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
}

/* password入力フィールドのスタイル */
input[type="password"] {
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
}

/* date入力フィールドのスタイル */
input[type="date"] {
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    height: 2em;
}

/* selectフィールドのスタイル */
select {
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
}

/* IME設定 */
/* その他のテキストフィールドはIME OFF */
input[type="text"]:not([name="FVC0012"]):not([name="FVC0017"]):not([name="FVC0007"]):not([name="FVC0046"]):not([name="FVC0022"]):not([name="FVC0044"]):not([name="FVC0008"]) {
    ime-mode: disabled;
}

/* メールアドレスフィールドのIME OFF */
input[type="email"] {
    ime-mode: disabled;
}

/* パスワードフィールドのIME OFF */
input[type="password"] {
    ime-mode: disabled;
}

/* dateフィールドのIME OFF */
input[type="date"] {
    ime-mode: disabled;
}

/*================================================
 *  ポイント設定画面専用スタイル
 ================================================*/
.pointset-container {
    text-align: center;
}

.pointset-container h1 {
    margin-bottom: 20px;
}

.pointset-container h2 {
    margin-bottom: 15px;
}

.pointset-container p {
    margin-bottom: 10px;
    text-align: left;
}

.pointset-table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}

.pointset-table th,
.pointset-table td {
    border: 1px solid #999;
    padding: 8px;
    text-align: left;
}

.pointset-table th {
    background-color: #f2f2f2;
}

.pointset-input {
    width: 100px;
    padding: 4px;
    border: 1px solid #ccc;
}

.pointset-form {
    max-width: 1000px;
    margin: 0 auto;
}

/*================================================
 *  支援金加減算設定画面専用スタイル
 ================================================*/
.supportcalc-table {
    border: 1px solid #4472C4;
    border-collapse: collapse;
    margin: 0 auto;
    width: 95%;
}

.supportcalc-table thead {
    background-color: #B4C6E7 !important;
}

.supportcalc-table thead th {
    background-color: #B4C6E7 !important;
    padding: 10px;
    border: 1px solid #4472C4;
    white-space: nowrap;
}

.supportcalc-table th {
    background-color: #B4C6E7 !important;
    padding: 10px;
    border: 1px solid #4472C4;
    white-space: nowrap;
}

.supportcalc-table th.service-column {
    width: 200px;
}

.supportcalc-table th.plan-column {
    width: 180px;
}

.supportcalc-table th.points-main {
    width: 300px;
}

.supportcalc-table th.points-8 {
    width: 150px;
}

.supportcalc-table th.points-5 {
    width: 150px;
}

.supportcalc-table td {
    padding: 8px;
    border: 1px solid #4472C4;
}

.supportcalc-table td.center {
    text-align: center;
}

.supportcalc-notes {
    width: 95%;
    margin: 10px auto;
}

.supportcalc-notes .left-note {
    text-align: left;
    float: left;
}

.supportcalc-notes .right-note {
    text-align: right;
    float: right;
}

.supportcalc-notes .clear {
    clear: both;
}

/*================================================
 *  共通リストコンテナスタイル（管理画面）
 ================================================*/
/* リストコンテナの基本スタイル */
.customer-list-container,
.customeruser-list-container,
.contents-list-container,
.email-list-container,
.administrator-list-container,
.supportcalc-list-container,
.pointset-list-container,
.questionnaire-list-container,
.question-list-container,
.functionupdate-list-container,
.healthcheck-list-container {
    height: 450px;
    max-height: 450px;
    overflow-y: scroll;
    overflow-x: auto;
    border: 1px solid #ccc;
    margin: 0 auto;
    box-sizing: border-box;
}

/* 各リストコンテナの幅設定 */
.customer-list-container,
.customeruser-list-container,
.contents-list-container,
.email-list-container,
.administrator-list-container,
.supportcalc-list-container,
.pointset-list-container,
.questionnaire-list-container,
.healthcheck-list-container {
    width: 100%;
    max-width: 800px;
}

.question-list-container,
.functionupdate-list-container {
    width: 900px;
    max-width: 900px;
}

.functionupdate-list-container {
    width: 800px;
    max-width: 800px;
}

.question-list-container {
    height: 400px;
    max-height: 400px;
}

/* テーブルの基本スタイル */
.customer-list-container table,
.customeruser-list-container table,
.contents-list-container table,
.email-list-container table,
.administrator-list-container table,
.supportcalc-list-container table,
.pointset-list-container table,
.questionnaire-list-container table,
.question-list-container table,
.functionupdate-list-container table,
.healthcheck-list-container table {
    width: calc(100% - 2px);
    border-collapse: collapse;
    table-layout: fixed;
    margin: 0 !important;
}

/* thead スタイル（固定ヘッダー） */
.customer-list-container thead,
.customeruser-list-container thead,
.contents-list-container thead,
.email-list-container thead,
.administrator-list-container thead,
.supportcalc-list-container thead,
.pointset-list-container thead,
.questionnaire-list-container thead,
.question-list-container thead,
.functionupdate-list-container thead,
.healthcheck-list-container thead {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
}

/* th スタイル */
.customer-list-container th,
.customeruser-list-container th,
.contents-list-container th,
.email-list-container th,
.administrator-list-container th,
.supportcalc-list-container th,
.pointset-list-container th,
.questionnaire-list-container th,
.question-list-container th,
.functionupdate-list-container th,
.healthcheck-list-container th {
    padding: 8px 4px;
    background-color: #f9f9f9;
    box-sizing: border-box;
    white-space: nowrap;
}

/* questionnaire/questionのth（ボーダー有り） */
.questionnaire-list-container th {
    border-bottom: 2px solid #ccc;
}

.question-list-container th,
.functionupdate-list-container th {
    border: 1px solid #ccc;
    background-color: #f5f5f5;
}

.customer-list-container th,
.customeruser-list-container th,
.contents-list-container th,
.email-list-container th,
.administrator-list-container th,
.supportcalc-list-container th,
.pointset-list-container th,
.healthcheck-list-container th {
    border-bottom: 2px solid #ccc;
}

/* td スタイル */
.customer-list-container td,
.customeruser-list-container td,
.contents-list-container td,
.email-list-container td,
.administrator-list-container td,
.supportcalc-list-container td,
.pointset-list-container td,
.questionnaire-list-container td,
.functionupdate-list-container td,
.healthcheck-list-container td {
    padding: 4px 4px;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
}

.question-list-container td {
    padding: 4px 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    word-wrap: break-word;
}

/* hover効果 */
.customer-list-container tbody tr:hover,
.customeruser-list-container tbody tr:hover,
.contents-list-container tbody tr:hover,
.email-list-container tbody tr:hover,
.administrator-list-container tbody tr:hover,
.supportcalc-list-container tbody tr:hover,
.pointset-list-container tbody tr:hover,
.questionnaire-list-container tbody tr:hover,
.question-list-container tbody tr:hover,
.functionupdate-list-container tbody tr:hover,
.healthcheck-list-container tbody tr:hover {
    background-color: #f5f5f5;
}

.question-list-container tbody tr:hover {
    background-color: #f9f9f9;
}

/* アクションボタンのスタイル */
.question-actions,
.functionupdate-actions {
    white-space: nowrap;
}

.question-actions button,
.functionupdate-actions button {
    margin: 0 2px;
}

/*================================================
 *  emailsend_compose 専用スタイル
 ================================================*/
.listbox-health,
.listbox-recipients {
    width: 100%;
    max-width: 800px;
    overflow-y: scroll;
    overflow-x: hidden;
    border: 1px solid #ccc;
    margin: 0 auto;
    box-sizing: border-box;
}

.listbox-health {
    height: 260px;
    max-height: 260px;
}

.listbox-recipients {
    height: 150px;
    max-height: 150px;
}

.listbox-health table,
.listbox-recipients table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 0 !important;
}

.listbox-health thead,
.listbox-recipients thead {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
}

.listbox-health th,
.listbox-recipients th {
    padding: 8px 4px;
    border-bottom: 2px solid #ccc;
    background-color: #f9f9f9;
    box-sizing: border-box;
}

.listbox-health td,
.listbox-recipients td {
    padding: 4px 4px;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
}

.listbox-health tbody tr:hover,
.listbox-recipients tbody tr:hover {
    background-color: #f5f5f5;
}