/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

/* color setup */
:root {
  --fc: #5087BE;
  --listitem: #f5f5f0;
}

/* Search form */
form.custom-search-form input {
  all: unset !important;
}

input[type="text"] {
  padding: 20px !important;
}

/* Smart Phone */
@media only screen and (max-width: 767px) {
  .responsive #top #wrap_all #main .container {
    width: 90%;
    max-width: 90%;
  }
}

#menu-item-3967 {
  display: none;
}

#menu-item-3966 {
  display: none;
}

/* PopUp List Menu */
/* Half Tone */
.cell-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 9999;
}

.cell-popup-overlay.visible {
  display: block;
}

.cell-popup-menu {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 400px;
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 10001;
}

.cell-popup-menu.visible {
  display: block;
}






/* デスクトップ */
@media only screen and (min-width: 768px) {
  .content {
    flex: 1;
    order: 2;
  }

  #main .container {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .container {
    /* PC向けの最大幅 */
    margin: 0 auto;
    display: flex;
  }

  /* Side ber Menu Custom 
  .inner_sidebar .current_page_item {
    a {
      display: block;
      background-color: #fff;
      color: #0073bb !important;
      box-shadow: 0 3px 5px -2px rgba(0, 0, 0, 1.0);
    }

    a:hover {
      color: #666 !important;
      background-color: #ffffdd;
      box-shadow: 0px 3px 5px -2px rgba(0, 0, 0, 1.0) !important;
    }
  }
*/
}



/* 検索窓（PC・スマホ共有） */
.custom-search-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0px auto;
  margin-bottom: 20px !important;
  max-width: 500px;

  input[type="search"] {
    display: block;
    padding: 6px 15px !important;
    font-size: 16px !important;
    border-radius: 25px !important;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    width: 800px !important;
    border: 1px solid #ccc !important;
  }

  input[type="search"]:focus {
    border-color: var(--fc) !important;
    background-color: #f8f9fa !important;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5) !important;
    outline: none;
  }

  button {
    padding: 7px 8px;
    font-size: 15px;
    background-color: var(--fc);
    color: #fff;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    box-sizing: border-box;
  }

  button:hover {
    background-color: color-mix(in hsl, #4f8bc2, #000 20%) !important;
    border-radius: 40px;
  }
}

/* 検索ナビゲーター */
.posts-per-page-form {
  position: absolute;
  text-align: left;
  padding: 0;
  top: 25px;
  right: 50px;
  width: 100px;
  color: #999;
}







@keyframes fadeOut {
  0% {
    opacity: 1;
    pointer-events: auto;
  }

  /* 表示中は操作可能 */
  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    pointer-events: none;
  }
}



/* 複製ボタン２度押し用停止中のスタイル */
.copy-contract.disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

/* ダイアログボタン */
#custom-confirm-dialog {
  button {
    color: white;
    font-size: 16px;
    background-color: #777;
    border: 1px solid #ccc;
    padding: 10px 20px !important;
    margin: 5px 5px;
  }

  button:hover {
    background-color: #999;
  }
}


/* サイドバー内メニュー項目 */

.custom-menu {
  hr {
    margin-bottom: 40px !important;
    border: none;
  }

  a {
    display: block;
    color: #369 !important;
    font-size: 15.5px;
    text-decoration: none;
    padding: 15px 10px 15px 10px !important;
    border-radius: 0px;
    font-weight: 600;
    width: 100% !important;
    border-bottom: 1px solid #ddd;
  }

  a:hover {
    background-color: color-mix(in hsl, var(--fc), #fff 70%);
    color: #369 !important;
  }
}

.custom-menu2 {
  hr {
    margin-bottom: 10px !important;
    border: none;
  }

  a {
    display: block;
    color: #555 !important;
    font-size: 13.5px;
    text-decoration: none;
    padding: 12px 10px 12px 10px !important;
    border-radius: 0px;
    font-weight: 500;
    width: 100% !important;
    border-bottom: 1px solid #ddd;
  }

  a:hover {
    background-color: color-mix(in hsl, var(--fc), #fff 70%);
    color: #333 !important;
  }
}



.sidebar {
  width: 230px !important;
  background: linear-gradient(to right, #fbfbfb, #fff);
  padding: 50px 20px 50px 20px !important;
  border-left: #ddd 1px solid !important;
  border-right: #ddd 1px solid !important;

}

.sidebar .inner_sidebar {
  width: 230px;
}


/* タブレット1126 */
@media (max-width: 1126px) {
  .sidebar {
    width: 110px !important;
  }

  .sidebar .inner_sidebar {
    margin: 0;
    padding: 0;
    text-align: center;
    width: 110px;
  }

  .custom-menu i {
    display: block;
    text-align: center;
    font-size: 24px !important;
    margin-bottom: 8px;
  }

  .custom-menu a {
    font-size: 13px !important;
    line-height: 1.4;
    text-align: center;
  }

  .custom-menu2 a {
    font-size: 12px !important;
    line-height: 1.2;
    text-align: center;
  }

  .custom-menu2 a {
    padding: 15px 0 !important;
  }

  .custom-menu2 i {
    display: block;
    text-align: center;
    font-size: 20px !important;
    margin-bottom: 8px;
  }

}




.cell-popup-menu ul {
  margin: 0;
  padding: 0;
  text-align: center;
}

.cell-popup-menu li {
  display: inline-block;
  flex-wrap: wrap;
  text-decoration: none;
  font-size: 17px;
  background-color: #f6f6f6;
  margin: 5px 5px;
  margin-bottom: 10px;
  border-radius: 5px;
}

.cell-popup-menu {
  background-color: #444;
}

.cell-popup-menu a {
  display: block;
  font-weight: bold;
  color: #226CAF;
  padding: 18px 10px;
  width: 120px;
}

.cell-popup-menu li:nth-child(4) a {
  color: #CB4645 !important;
}

.cell-popup-menu .menu-item:hover {
  background-color: #ddd;
  border-radius: 5px;
}

.close-menu {
  display: block;
  margin: 15px auto;
  padding: 10px 10px;
  background-color: #666;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
}

.cell-popup-menu .close-menu:hover {
  background-color: #999;
}

.cell-popup-menu .menu-title {
  margin-bottom: 20px;
  font-size: 16px;
  color: #fff;
}

.cell-popup-menu .menu-title strong {
  display: block;
  font-size: 12px;
  font-weight: normal;
  color: #ddd;
}


table,
th,
tr,
td {
  border: none !important;
}

.table-container {
  margin: 0 auto;
  width: 100% !important;

  th {
    text-align: center;
    font-size: 11px;
    background-color: color-mix(in hsl, #999, #4f8bc2 20%) !important;
    white-space: nowrap;
    color: white;
    border-right: 1px solid #eee !important;
    padding: 2px 10px;
  }

  tr:hover td {
    background-color: #fcfaf5;
  }

  td {
    border-bottom: solid 2px #999 !important;
    color: #666;
    border-right: 1px solid #eee !important;
    vertical-align: middle;
  }

  td:last-child {
    border-bottom: solid 2px #999 !important;
    color: #666;
    border-right: 0px solid #eee !important;
    vertical-align: middle;
  }

  td.list-type i {
    font-size: 20px;
    color: #359;
    margin-bottom: 10px;
  }

  td.list-type {
    font-size: 11px;
    line-height: 1.5em;
    text-align: center;
    color: #359;
    background-color: #eff9ff !important;
    min-width: 60px;
  }

  .list-type-tb {
    display: none !important;
  }

  td.list-title {
    background-color: #fff;
    font-size: 16px;
    line-height: 2em;
    padding: 20px 20px;
  }

  td.list-update {
    font-size: 12px;
    text-align: center;
  }

  td.list-cfname {
    font-size: 12px;
    text-align: center;

    line-height: 1.4em;
  }

  td.list-status {
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
  }

  td {
    margin-bottom: 10px !important;
  }

  .cell-link {
    color: #579 !important;
    display: block;
  }

  .cell-link a:hover {
    color: #666 !important;
    display: block;
  }

  td.list-title a.mitem {
    font-size: 12px !important;
    color: #579 !important;
    padding: 0 8px;
    border-left: solid 1px #ccc;
  }

  td.list-title a.mitem:nth-of-type(6) {
    border-right: solid 1px #ccc !important;
  }

  .list-tb-mode {
    display: none;
  }

  .menu-view {
    display: none;
    font-size: 11px;
    color: #666;
    border-radius: 25px;
    width: 250px;
    background-color: #f0f0f0;
    padding: 0px;
    text-align: center;
    margin: 0 auto;
    margin-top: 10px;
    cursor: pointer;
  }

  .menu-tb-mode {
    white-space: nowrap;
  }
}

#popup-menu-title,
.cell-link {
  /*
	display:inline-block;
  max-width: 400px!important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
*/
  line-height: 1.6em
}

#custom_html-5 .widgettitle {
  color: #fff !important;
  border-bottom-color: #fff !important;
}

#custom_html-5 .textwidget {
  text-align: left !important;
}

#custom_html-6 .textwidget,
#custom_html-8 .textwidget {
  text-align: left !important;
  font-size: 11px !important;
  line-height: 1.5em;
}

#custom_html-5 .textwidget a {
  line-height: 1.3em !important;
  display: block !important;
  padding: 10px 0px !important;
  font-size: 12px;
  color: #fff !important;
  border-bottom: 1px solid #fff !important;
}

#custom_html-5 .textwidget a:hover {
  text-decoration: underline !important;
}

#custom_html-5 .textwidget b {
  color: #fff !important;
  display: block;
  margin-bottom: 3px;
}

@media only screen and (max-width: 1023px) {

  .table-container th:nth-child(3),
  .table-container th:nth-child(4),
  .table-container td:nth-child(3),
  .table-container td:nth-child(4) {
    display: none !important;
  }

  table.table-container {
    width: 100% !important;
  }

  .list-title {
    font-size: 18px !important;
  }

  .list-tb-mode {
    display: block !important;
    line-height: 1.5em;
    font-size: 12px;
    margin: 8px 1px;
  }

  .list-update-tb {
    display: block;
  }

  .list-cfname-tb {
    display: block;
  }

  .list-status-tb {
    display: none;
  }

  .menu-tb-mode {
    display: none !important;
  }

  .menu-view {
    display: block !important;
    font-size: 10px;
    border-radius: 25px;
    margin-top: 10px;
    width: 250px;
    background-color: #f0f0f0;
    padding: 0px;
    text-align: center;
    pointer: cursol;
  }

  td:nth-child(2) {
    cursor: pointer;
  }

  .status-color {
    padding: 2px 0px;
    display: inline-block;
    margin-bottom: 5px;
    border-bottom: solid 2px #88cccc !important;
  }
}

@media only screen and (max-width: 640px) {

  talbe.table-container {
    overflow-x: auto;
    /* 横スクロールを許可 */
    -webkit-overflow-scrolling: touch;
    /* スマホでのスムーズなスクロール */
  }

  .table-container th:nth-child(1),
  .table-container td:nth-child(1),
  .table-container th:nth-child(5),
  .table-container td:nth-child(5) {
    display: none;
  }

  .list-tb-mode {
    display: block !important;
    line-height: 1.5em;
    font-size: 12px;
    margin-top: 8px;
  }

  .list-update-tb {
    display: block;
  }

  .list-cfname-tb {
    display: block;
  }

  .list-status-tb {
    display: block !important;
  }

  .menu-tb-mode {
    display: none !important;
  }

  .table-container td {
    padding: 20px 10px !important;
    width: 95% !important;
  }

  .cell-link {
    max-width: auto !important;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
  }

  td.list-title {
    border-right: none !important;
    font-size: 18px !important;
  }

  td.list-type {
    width: auto !important;
  }

  .table-container .list-type-tb {
    display: inline-block !important;
    color: #666;
    background-color: #fff;
    border-radius: 0px;
    border: solid 0px #666;
    text-align: center;
    margin-bottom: 10px;
    padding: 0px 0px !important;
  }
}



.swpm-login-widget-logged {
  display: flex;
  flex-direction: column;
  gap: 2px;
  /* 各行の間隔 */
  width: 100% !important;
  border-radius: 0px;
  margin-top: 0px;
  padding: 12px 15px 0px 15px;
  border: 0px solid #333;
  background-color: #f6f6f6;
  border-bottom: 1px solid #ddd;
}

.swpm-logged-label {
  text-align: left;
  /* 左寄せ（デフォルトでもOK） */
  color: #666;
  font-weight: normal;
  font-size: 10px;
  line-height: 2em;
  margin-bottom: 2px;
  border-bottom: dashed 1px #ccc !important;
  /*  border-image: linear-gradient(to right, #bbb, #ddd) 1;*/
}

.swpm-logged-value {
  word-break: break-all;
  font-size: 12.5px;
  line-height: 1.5em;
  text-align: left;
  /* 左寄せ */
  color: #666;
}

.swpm-edit-profile-link {
  background-color: #eee;
}

.swpm-form-country-label-wrap,
.swpm-form-country-input-wrap,
.swpm-membership-level-row,
.swpm-profile-account-delete-section,
.swpm-edit-profile-link,
.swpm-logged-status {
  display: none !important;
}

.swpm-logged-logout-link {
  display: none;
}

#ac-set-table2 {
  margin-top: 30px;
}

#ac-set-table2,
#ac-set-table {
  border-top: 1px solid #ddd !important;

  input[type="text"] {
    border-radius: 5px !important;
    margin: 0 !important;
    padding: 10px 10px !important;
    background-color: white !important;
  }

  input[type="password"],
  input[type="email"] {
    border-radius: 5px !important;
    max-width: 200px;
    padding: 10px 10px;
    margin: 0;
    background-color: white !important;
  }

  input[type="text"][name="last_name"],
  input[type="text"][name="first_name"] {
    width: 80px;
  }

  input[type="text"][name="address_zipcode"],
  input[type="text"][name="address_state"],
  input[type="text"][name="address_zipcode"] {
    width: 100px;
  }

  input[type="text"][name="company_name"],
  input[type="text"][name="address_city"],
  input[type="text"][name="address_street"] {
    max-width: 250px !important;
  }

  input[type="text"][name="phone"] {
    width: 150px;
  }

  .hissu {
    color: white;
    font-size: 11px;
    background-color: #ff7788;
    padding: 2px;
    border-radius: 4px;
    margin-left: 8px;
  }

  td {
    line-height: 0em;
    padding: 15px 5px;
    vertical-align: middle;
  }

  .ac-small {
    font-size: 10px !important;
    background-color: #fff !important;
    padding: 0 !important;
  }

  td.ac-set-v {
    line-height: 1.2em;
    color: #666;
    font-size: 13px !important;
    background-color: #fff !important;
    border-bottom: 1px solid #ddd !important;
    vertical-align: middle;
    padding: 10px 10px;
  }

  td.ac-set-v02 {
    width: 50px;
    line-height: 1.2em;
    color: #666;
    font-size: 13px !important;
    background-color: #fff !important;
    border-bottom: 1px solid #ddd !important;
    vertical-align: middle;
  }

  td.ac-set {
    color: #333;
    width: 100px;
    font-size: 11.5px !important;
    border-bottom: 1px solid #ddd !important;
    background: linear-gradient(to right, #f6f6f6, #fff) !important;
    vertical-align: middle;
    text-align: right;
    padding: 25px 0 25px 15px !important;
  }

  td.ac-set02 {
    width: 10px;
    color: #333;
    font-size: 11.5px !important;
    border-bottom: 1px solid #ddd !important;
    vertical-align: middle;
    text-align: right;
    padding: 0 !important;
  }

  td.ac-set03{
    color: #353;
    font-size: 12px !important;
    text-align: left;
    padding: 5px 0;
    line-height: 1.5em;
    word-break: break-all;
    margin:0;
  }
  td.ac-set04{
    color: #353;
    font-size: 12px !important;
    border-bottom: 1px solid #ddd !important;
    text-align: left;
    padding: 5px 0;
    padding-top:30px;
    line-height: 1.5em;
    word-break: break-all;
    margin:0;
  }
  .ac-text1{
    background-color:#efe;
    border:1px solid #cdc;
    display:block;
    color: #353;
    font-size: 12px !important;
    text-align: left;
    padding: 15px;
    line-height: 1.5em;
    word-break: break-all;
    margin:0;
  }
  .ac-text2{
    display:block;
    color: #666;
    font-size: 11.5px !important;
    text-align: left;
    line-height: 1.4em;
    padding-bottom:10px;
    word-break: break-all;
  }

}
button[name="simple_membership_edit_profile"]{
  margin-top:30px!important;
  width:300px!important;
}

  .account-editpage {
    color: #fff !important;
    display: inline-block;
    font-size: 13px;
    background-color: #477DB3;
    border-radius: 5px;
    padding: 10px 20px;
    margin-left: -10px;
  }

  a.account-editpage:hover {
    background-color: #5290ce !important;
  }


  .precautions {
    display: block;
    font-size: 11.5px;
    line-height: 1.4em;
    padding: 0 15px;

    ul {
      padding: 0;
      margin: 0 0 10px 0;
      margin-top: -10px;
    }

    li {
      padding:0;
      margin-left: 0;
      list-style: "※";
    }
  }

.oc-mark,
.accordion h3 { 
    cursor: pointer;
    padding: 20px;
    margin: 0;
    margin-bottom:-2px;
    transition: background-color 0.3s ease;
}
.accordion h3 { 
  cursor: pointer;
  background: #5087BE;
  padding: 20px;
  margin: 0;
  margin-bottom:-2px;
  border-top-left-radius:8px;
  border-top-right-radius:8px;
  transition: background-color 0.3s ease;
}
.oc-mark{
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.accordion div {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    background:#dcedff;
    padding: 0 20px;
    border-top: none;
}
.ac-contents{
  display:block;
  padding:20px 15px;
}






.oc-mark{
	display:block;
	color:#fff;
	font-size:12px;
	text-align:center;
  background-color: color-mix(in hsl, #5087BE, #000 20%) !important;
	cursor: pointer!important;
	border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
	padding:8px;
}
.oc-mark:hover{
  background-color: color-mix(in hsl, #5087BE, #000 30%) !important;
}
.group-2 .oc-mark{
  background-color: color-mix(in hsl, #78A27A, #000 20%) !important;
}
.group-2 .oc-mark:hover{
  background-color: color-mix(in hsl, #78A27A, #000 30%) !important;
}
.group-3 .oc-mark{
  background-color: color-mix(in hsl, #AA9E5E, #000 20%) !important;
}
.group-3 .oc-mark:hover{
  background-color: color-mix(in hsl, #AA9E5E, #000 30%) !important;
}
/*
.inputhint2 {
  display: block;
  line-height: 1.6em;
  padding: 0px 0px 0px 0px;
	font-size: 12px;
  color: #777;
}
.inputhint3 {
	display: block;
  line-height: 1.4em;
	font-size: 11.5px;
  color: #777;
	margin-left:5px;
	margin-top:0px;
	margin-bottom:20px;
}
*/
.inputhint {
display: block;
margin: 5px 0 0px 0;
display: block;
font-size: 13px!important;
line-height:1.4em;
color: white;
font-weight: normal;
}




/* 成功メッセージのスタイル */
.post-success-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #555 !important;
  color: #fff !important;
  padding: 20px 30px;
  font-size: 18px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  text-align: center;
  pointer-events: auto;
  /* 初期状態でイベントを受け取る */
}

/* メッセージを数秒後にフェードアウト */
.post-success-message {
  animation: fadeOut 2s forwards;
}







.icon-input-form {
  display: flex;
  align-items: center;
}
.icon-input-container {
  display: flex !important;
  border: 1px solid #ccc !important;
  /* 枠線 */
  border-radius: 4px !important;
  /* 角丸 */
  overflow: hidden !important;
  /* ボーダーのはみ出しを隠す */
  background-color: #fff !important;
  /* 背景色 */
}

/* テキスト入力 */
.icon-input {
  flex: 1 !important;
  /* 横幅を最大化 */
  padding: 0.5rem !important;
  border: none !important;
  /* ボーダーなし */
  font-size: 1rem !important;
  outline: none !important;
  /* フォーカス時の青枠を非表示 */
}

/* アイコンボタン */
.icon-button {
  background-color: #f9f9f9 !important;
  /* 背景色 */
  border: none !important;
  /* ボーダーなし */
  padding: 0.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ホバー時のスタイル */
.icon-button:hover {
  background-color: #f9f9f9!important;
}

