@charset "utf-8";

/* =========================================================
   Reset & Base
========================================================= */
* {
  box-sizing: border-box;
  font-family: 'メイリオ', Meiryo, 'ゴシック', sans-serif;
}

body,
input,
select {
  background: #f5f5f5;
  margin: 0;
}

a { transition: 0.6s; }
a:hover { opacity: 0.5; }

input[type="text"],
input[type="password"],
input[type="number"],
textarea {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  color: #555;
  padding: 8px;
}

input:focus,
textarea:focus {
  background: #fffdf2;
  border: 1px solid #888;
  outline: none;
}

td {
  cursor: help;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form_actions {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: center;
  padding-top: 5px;
}

.sch_det_select {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #555;
  padding: 8px;
}

.radio_label {
  align-items: center;
  color: #555;
  cursor: pointer;
  display: inline-flex;
  font-size: 85%;
  gap: 5px;
  margin-right: 20px;
}

.radio_label input[type="radio"],
.radio_label input[type="checkbox"] {
  margin: 0;
  vertical-align: middle;
}

/* Utilities */
.ta_c { text-align: center; }
.ta_l { text-align: left; }
.ta_r { text-align: right; }

.w5 { width: 5%; }
.w10 { width: 10%; }
.w15 { width: 15%; }
.w20 { width: 20%; }
.w25 { width: 25%; }
.w30 { width: 30%; }
.w50 { width: 50%; }
.w60 { width: 60%; }
.w90 { width: 90%; }
.w100 { width: 100%; }

.text1 {
  color: #555;
  font-size: 90%;
}

/* =========================================================
   Attention
========================================================= */

.attention1 {
  color: #dd0000;
  font-size: 90%;
  text-align: center;
}

.alert_success {
  color: #00a0ff;
  font-size: 90%;
  margin: 20px auto 0;
  text-align: left;
  width: 98%;
}

.alert_success_dele {
  color: #00a0ff;
  font-size: 90%;
  margin: 10px auto;
  text-align: left;
  width: 100%;
}

.alert_error {
  color: #dd0000;
  font-size: 90%;
  margin: 20px auto 0;
  text-align: left;
  width: 98%;
}

.alert_error_dele {
  color: #dd0000;
  font-size: 90%;
  margin: 10px auto;
  text-align: left;
  width: 100%;
}

/* =========================================================
   Header
========================================================= */
.header {
  background:#fff;
  border-bottom:1px solid #ddd;
  height:60px;
  position:fixed;
  top:0;
  width:100%;
  z-index:1000;
}

.header-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:60px;
  padding:0 20px;
}

.logo {
  display:flex;
  align-items:center;
  font-weight:600;
  color:#333;
  text-decoration:none;
}

.logo img {
  max-height:40px;
  display:block;
}

.logout {
  font-size:80%;
  color:#777;
  text-decoration:none;
}

/* =========================================================
   Layout
========================================================= */
.layout {
  display:flex;
  min-height:calc(100vh - 60px);
}

/* Sidebar */
.sidebar {
  background:#333;
  color:#fff;
  width:200px;
  position:fixed;
  top:60px;
  height:calc(100vh - 60px);
  overflow-y:auto;
}

.menu {
  list-style:none;
  margin:0;
  padding:20px 0;
  font-size:80%;
}

.menu_link a {
  display:block;
  padding:10px 20px;
  color:#dfdfdf;
  text-decoration:none;
}

.menu_link:hover {
  background:rgba(255,255,255,0.1);
}

.menu_h {
  font-weight:bold;
  padding:10px 0 2px 18px;
}

/* Container */
.container {
  margin-left:200px;
  margin-top:60px;
  padding:0 20px 100px;
  width:calc(100% - 200px);
}

.container h2 {
  background:#d57594;
  border:4px double #fff;
  border-radius:20px;
  color:#fff;
  font-size:90%;
  font-weight: normal;
  height:44px;
  line-height:38px;
  margin:20px 0 0;
  padding-left:20px;
}

.contents { margin-top:10px; }

/* =========================================================
   Buttons（元のまま復元：ここは触らない）
========================================================= */
.btn_back {
  background: #999;
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 75%;
  padding: 10px 30px;
  text-align: center;
  text-decoration: none;
  transition: 0.6s;
}

.btn_newbranc {
  background: #4a90e2;
  font-size: 70%;
  padding: 5px 15px;
}

.btn_back:hover { opacity: 0.8; }

.btn_submit {
  background: #4a90e2;
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  color: #fff;
  cursor: pointer;
  font-size: 80%;
  letter-spacing: 2px;
  padding: 10px 60px;
  text-decoration: none;
  transition: 0.6s;
}

.btn_submit:hover { opacity: 0.8; }

.client_table_link1 {
  background: #fff;
  border: 1px solid #4a90e2;
  border-radius: 4px;
  color: #4a90e2;
  display: inline-block;
  font-size: 85%;
  letter-spacing: 2px;
  min-width: 50px;
  padding: 5px 10px 4px;
  text-align: center;
  text-decoration: none;
}

.client_table_link1:hover {
  background: #4a90e2 !important;
  color: #fff !important;
  opacity: 1;
}

.client_table_dellink {
  background: #fff;
  border: 1px solid #666;
  border-radius: 4px;
  color: #777;
  display: inline-block;
  font-size: 85%;
  letter-spacing: 2px;
  margin: 0 0 0 10px;
  padding: 4px 5px 3px 6px;
  text-align: center;
  text-decoration: none;
}

.client_table_dellink:hover {
  background: #777 !important;
  color: #fff !important;
  opacity: 1;
}

.sch_btn_back {
  background: #999;
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 75%;
  margin: 0 0 0 10px;
  padding: 8px 12px;
  text-align: center;
  text-decoration: none;
  transition: 0.6s;
}

.sch_btn_back:hover { opacity: 0.8; }

/* schedule用 */
.sch_btn_new {
  background: #4a90e2;
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  color: #fff;
  cursor: pointer;
  font-size: 75% !important;
  letter-spacing: 2px;
  padding: 8px 20px !important;
  text-decoration: none;
  transition: 0.6s;
}

.sch_btn_new:hover { opacity: 0.8; }

.btn_submit_sl {
  background: #4a90e2;
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  color: #fff;
  cursor: pointer;
  font-size: 80%;
  letter-spacing: 2px;
  margin: 0;
  padding: 10px 60px;
  transition: 0.6s;
}

.btn_submit_sl:hover { opacity: 0.8; }

/* sales用 */
.sls_btn_submit {
  background: #4a90e2;
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 80%;
  letter-spacing: 2px;
  padding: 8px 30px;
  transition: 0.6s;
}

.sls_btn_submit:hover { opacity: 0.8; }

.sch_btn_new2 {
  background: #4a90e2;
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  color: #fff;
  cursor: pointer;
  font-size: 75%;
  letter-spacing: 2px;
  padding: 8px 20px;
  text-decoration: none;
  transition: 0.6s;
}

.sch_btn_new2:hover { opacity: 0.8; }

.sch_btn_new3 {
  background: #4a90e2;
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  color: #fff;
  cursor: pointer;
  font-size: 75%;
  letter-spacing: 2px;
  padding: 8px 20px;
  text-decoration: none;
  transition: 0.6s;
}

.sch_btn_new3:hover { opacity: 0.8; }

/* =========================================================
   Tags
========================================================= */
.tag_status {
  border-radius: 3px;
  font-size: 90%;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 2px 6px 0;
}

.tag_active {
  background: #ebf8ff;
  border: 1px solid #4299e1;
  color: #2b6cb0;
}

.tag_inactive {
  background: #fff5f5;
  border: 1px solid #feb2b2;
  color: #c53030;
}

/* =========================================================
   パンくず
========================================================= */
/* Breadcrumb */
.breadcrumb { margin: 10px 0 -10px; }
.breadcrumb ul{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  gap:8px;
  align-items:center;
  font-size:80%;
  color:#666;
}
.breadcrumb li{ display:flex; gap:8px; align-items:center; }
.breadcrumb li::after{
  content:"›";
  color:#aaa;
}
.breadcrumb li:last-child::after{ content:""; }
.breadcrumb a{
  color:#4a90e2;
  text-decoration:none;
}
.breadcrumb span{
  color:#666;
  font-weight:600;
}