@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
#search-menu-open {
  display: none;
}
#navi .navi-in a:hover {
  background-color: #c0c0ff80!important;
}
.blogcard-footer {
    display: none;
}
section {
  margin: 0.5em 0 2em;
}
h2.section_header + div, h3.section_header + div{
  margin: 2em;
}
h4.section_header + div, h5.section_header + div {
  margin: 1em;
}
@media (max-width: 800px) {
  h2.section_header + div, h3.section_header + div {
    margin: 0 0.75em;
  }
  h4.section_header + div, h5.section_header + div {
    margin: 0 0.5em;
  }
}
label {
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
button {
  cursor: pointer;
  touch-action: manipulation;
}
.align_center {
  text-align: center;
}
.align_right {
  text-align: right;
}
.select_none {
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
.text_ellipsis:not([data-lines]) {
  overflow-x: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.text_ellipsis[data-lines="2"] {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.text_ellipsis[data-lines="3"] {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.display_none {
  display: none;
}
button {
  border: none;
}
fieldset {
  border: none;
}
.itl_button {
  display: flex;
  margin: 2px 4px;
  padding: 0.25em 1em;
  color: inherit;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 0.75em;
  border-color: #f0f0f0;
  background-color: #f0f0f0;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.itl_button:not([disabled]):hover {
  color: inherit;
  background-color: #c0c0c0;
}
.itl_submit[disabled] {
  background-color: #b0d0f8;
  cursor: default;
}
.itl_submit, a.itl_link_button {
  display: inline-block;
  margin: 0.5em 1em;
  padding: 0.75em 1.5em;
  min-width: 10em;
  color: white;
  font-size: 1em;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-color: #60a0f0;
  background-color: #60a0f0;
  cursor: pointer;
}
.itl_submit:not([disabled]):hover, a.itl_link_button:not([disabled]):hover {
  color: white;
  background-color: #305078;
}
@media screen and (max-width: 520px) {
  button, a.itl_link_button {
    padding: 0.8em 1.2em;
  }
}
/* モーダル */
.modal_container {
  display: none;
  position: fixed;
  inset: 0;
  padding: 40px 20px;
  text-align: center;
  background: #00000050;
  box-sizing: border-box;
  overflow: auto;
  z-index: 1300;
}
.modal_container::before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.modal_body {
  display: inline-block;
  position: relative;
  width: 90%;
  max-width: 500px;
  vertical-align: middle;
}
.modal_close {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -40px;
  right: -40px;
  width: 40px;
  height: 40px;
  font-size: 40px;
  color: #ffffff;
  cursor: pointer;
}
.modal_block {
  padding: 30px;
  text-align: left;
  background: #ffffff;
}
.modal_confirm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
}
.modal_confirm > button {
  margin: 1em 0 0;
  width: min(90%, 10em);
  background-color: #d0d0d0;
}
/* フォーム */
.itl_field {
  margin: 15px 0;
}
.itl_field_label {
  margin-bottom: 8px;
}
.itl_field_area > input {
  font-size: 15px;
}
input[readonly] {
  background-color: #e0e0e0;
}
input[disabled] {
  background-color: #c0c0c0;
}
input[type=checkbox] {
  margin-right: 0.5em;
}
.itl_field_error {
  position: relative;
  padding: 8px 12px;
  margin-top: 12px;
  color: white;
  background-color: #c74a4a;
  display: none;
}
.itl_field_error::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 10px;
  z-index: 1;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #C74A4A;
  border-left: 10px solid transparent;
}
.itl_form_error::before {
  display: none;
}
.required_mark {
  color: red;
  font-weight: bold;
}
.itl_form .itl_field_caution {
  border-color: red;
}
.itl_two_col_fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 40px;
}
/* タブメニュー */
.itl_tab_menu_top > .itl_tab_menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}
.itl_tab_menu_top > .itl_tab_menu > .itl_tab {
  opacity: 0.6;
  padding: 1em;
  font-size: 1.1em;
  font-weight: bold;
  white-space: pre-wrap;
  word-break: break-all;
  cursor: pointer;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}
.itl_tab_menu_top > .itl_tab_menu >  .itl_tab:hover {
  opacity: 1;
  background-color: #e8e8e8;
}
.itl_tab_menu_top > .itl_tab_menu >  .itl_tab.itl_tab_selected {
  opacity: 1;
  background-color: #d0d0d0;
}
.itl_tab_menu_top > .itl_tab_content_area > .itl_tab_content {
  padding: 1em;
}

.itl_tab_menu_left {
  display: grid;
  grid-template-columns: min(30%, 350px) 1fr;
  grid-gap: 10px;
}
.itl_tab_menu_left > .itl_tab_menu > .itl_tab {
  margin: 2px;
  padding: 0.2em 0.8em;
  background-color: #e8e8e8;
  cursor: pointer;
}
.itl_tab_menu_left > .itl_tab_menu > .itl_tab:hover {
  background-color: #c0c0c0;
}
.itl_tab_menu_left > .itl_tab_menu > .itl_tab.itl_tab_selected {
  background-color: #c0c0c0;
}
.itl_tab_menu_left > .itl_tab_menu > .itl_tab > .tab_name::before{
  content: "|";
  position: absolute;
  left: 0;
  font-size: 1rem;
}
.itl_tab_menu_left > .itl_tab_menu > .itl_tab > .tab_name {
  position: relative;
  padding-left: 1em;
  font-size: 0.8em;
}
.itl_tab_menu_left > .itl_tab_content_area > .itl_tab_content {
  padding: 0 1em;
}
@media (max-width: 800px) {
  .itl_tab_menu_left {
    grid-template-columns: auto 1fr;
  }
  .itl_tab_menu_left > .itl_tab_menu > .itl_tab > .tab_name {
    display: none;
  }
}
.itl_tab_content {
  display: none;
  min-height: 200px;
  border-top: none;
}
/* ページングテーブル */
.paging_table {
  margin: 0.5em 0!important;
  width: 100%;
}
.paging_option {
  text-align: right;
  user-select: none;
}
.paging_option > div {
  display: inline-flex;
  align-items: baseline;
}
.paging_option span {
  padding: 0 0.2em;
}
.paging_option input, .paging_option select {
  padding: 0!important;
  width: auto!important;
}
.hide_record {
  display: none;
}

/* AItelefonista */
.read_text {
  min-height: auto;
  resize: vertical;
}
.phone_number_section_header {
  position: relative;
}
.phone_number_section_header::after {
  content: attr(data-phone_number);
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0.25em;
  font-size: 0.75em;
}
@media screen and (max-width: 800px){
  .phone_number_section_header::after {
	margin: 0.1em;
    font-size: 0.55em;	  
  }
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
