@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
#navi .navi-in a:hover {
  background-color: #c0c0ff80!important;
}
.navi-in > ul {
  justify-content: right;
}
.navi-in a {
  font-size: 14px;
  font-weight: bold;
}
#navi .navi-in > ul > li > a[href$="/login/"],
#navi .navi-in > ul > li > a[href$="/logout/"]{
  margin: 12px;
  height: auto;
  width: auto;
  color: white;
  font-weight: bold;
  line-height: 36px;
  background-color: #888;
  border-radius: 12px;
}
#navi .navi-in > ul > li > a[href$="/login/"]:hover,
#navi .navi-in > ul > li > a[href$="/logout/"]:hover{
  background-color: #222!important;
}
#navi .navi-in > ul > li > a[href$="/register-personal/"] {
  margin: 12px;
  height: auto;
  width: auto;
  color: white;
  font-weight: bold;
  line-height: 36px;
  background-color: #f80;
  border-radius: 12px;
}
#navi .navi-in > ul > li > a[href$="/register-personal/"]:hover {
  background-color: #a20!important;
}
.itl_shortcode section,
.itl_section {
  margin: 2em 0;
}
.itl_shortcode h2,
.itl_shortcode h3,
.itl_shortcode h4,
.itl_shortcode h5,
.itl_section h2,
.itl_section h3,
.itl_section h4,
.itl_section h5,
h2.section_header,
h3.section_header,
h4.section_header,
h5.section_header{
  margin-bottom: 0.8em;
}
.itl_shortcode h2 + div,
.itl_shortcode h3 + div,
.itl_section h2 + div,
.itl_section h3 + div,
h2.section_header + div,
h3.section_header + div {
  margin: 0.5em 2em;
}
.itl_shortcode h4 + div,
.itl_shortcode h5 + div,
.itl_section h4 + div,
.itl_section h5 + div,
h4.section_header + div,
h5.section_header + div {
  margin: 0.25em 1em;
}
@media (max-width: 800px) {
  .itl_shortcode h2 + div,
  .itl_shortcode h3 + div,
  .itl_section h2 + div,
  .itl_section h3 + div,
  h2.section_header + div,
  h3.section_header + div {
    margin: 0 0.75em;
  }
  .itl_shortcode h4 + div,
  .itl_shortcode h5 + div,
  .itl_section h4 + div,
  .itl_section h5 + div,
  h4.section_header + div,
  h5.section_header + div {
    margin: 0 0.5em;
  }
}
.align_center {
  text-align: center;
}
.align_right {
  text-align: right;
}
.display_none {
  display: none;
}
.select_none {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
.itl_shortcode button,
.itl_button {
  margin: 0 4px;
  padding: 1em 1.5em;
  border: none;
  background-color: #e0e0e0;
}
.itl_shortcode button:not([disabled]):hover,
.itl_button:not([disabled]):hover {
  background-color: #b0b0b0;
  cursor: pointer;
}
a.my_link_button {
  display: inline-block;
  margin: 1em;
  padding: 1em 1.5em;
  color: white !important;
  font-size: 1em;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-decoration: none;
  background-color: #40a0ff;
  cursor: pointer;
}
a.my_link_button:hover {
  background-color: #2080d0;
}
@media screen and (max-width: 520px) {
  .itl_shortcode button, a.my_link_button {
    padding: 0.8em 1.2em;
  }
}
.service_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, max(30%, 300px));
  grid-gap: 10px;
  justify-content: center;
  justify-items: center;
}
.service_name {
  font-weight: bold;
}
/* ページトップのお知らせ */
#header-container {
  position: relative;
  z-index: 1;
}
.page_top_notice_wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
}
.page_top_notice {
  display: grid;
  grid-template-columns: 1fr auto;
  padding-inline: 8px;
  background-color: #ff4444cc;
  border-bottom: 2px solid #ff4444;
  align-items: center;
}
.page_top_notice > * {
  padding: 8px;
}
.page_top_notice > a {
  color: white;
  text-decoration: none;
}
.page_top_notice > a:hover {
  text-decoration: underline;
}
.page_top_notice_close {
  color: white;
  cursor: pointer;
}
/* モーダル */
.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;
}
/* ツールチップ */
.my_tooltip {
  display: inline-block;
  position: relative;
  width: 1.5em;
  height: 1.5em;
  padding: 0 0.1em;
  color: white;
  font-weight: bold;
  text-align: center;
  background-color: #c0c0c0;
  border-radius: 50%;
}
.my_tooltip > div {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  width: min(400px, 40vw);
  margin-left: 0.5em;
  padding: 0.5em;
  font-size: 0.8em;
  color: white;
  font-weight: normal;
  background-color: #a0a0a0;
  border-radius: 10px;
}
.my_tooltip:hover > div {
  display: block;
}
/* フォーム */
.my_form {
  padding: 10px;
}
.my_field {
  padding-top: 15px;
}
.my_field_label {
  margin-bottom: 8px;
}
.my_field_area > input {
  font-size: 15px;
}
input[readonly] {
  background-color: #e0e0e0;
}
input[disabled] {
  background-color: #c0c0c0;
}
.my_field_error {
  position: relative;
  padding: 8px 12px;
  margin-top: 12px;
  color: white;
  background-color: #c74a4a;
  display: none;
}
.my_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;
}
.my_form_error::before {
  display: none;
}
.required_mark {
  color: red;
  font-weight: bold;
}
.my_form .my_field_caution {
  border-color: red;
}
.my_two_col_fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 40px;
}
/* タブメニュー */
.my_tab_menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}
.my_tab {
  opacity: 0.6;
  padding: 1em;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 10px;
  white-space: pre-wrap;
  word-break: break-all;
  cursor: pointer;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}
.my_tab:hover {
  opacity: 1;
  background-color: #d0e0ff;
}
.my_tab.my_tab_selected {
  opacity: 1;
  background-color: #c0f0ff;
}
.my_tab_content_area {
  padding: 1em;
}
.my_tab_content {
  display: none;
  min-height: 200px;
  border-top: none;
}
/* ページングテーブル */
.paging_table {
  width: 100%;
}
.paging_option {
  text-align: right;
  user-select: none;
}
.paging_option > div {
  display: inline-flex;
  align-items: center;
}
.paging_option span {
  padding: 0 0.2em;
}
.paging_option input, .paging_option select {
  width: 4em !important;
}
/* スライダー */
.slider_wrapper {
  position: relative;
  margin: 0;
  width: 100%;
  height: 480px;
  border-radius: 10px;
  overflow: hidden;
}
.slider {
  margin: 0 -25%;
  height: 100%;
}
.item_wrapper {
  float: left;
  width: 20%;
  height: calc(100% - 20px);
  margin: 10px 0px;
  padding: 0px;
  box-sizing: border-box;
}
.item {
  height: 100%;
  margin: 0 10px;
  padding: 10px;
  border-radius: 10px;
  background-color: #f0f0f0;
  box-shadow: 2px 2px 2px gray;
  box-sizing: border-box;
}
.slider_left_wrapper, .slider_right_wrapper {
  display: table;
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 36px;
  font-weight: bold;
  background-color: #c0d0d0f0;
  cursor: pointer;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}
.slider_left_wrapper {
  left: 0;
}
.slider_right_wrapper {
  right: 0;
}
.slider_left_wrapper:hover, .slider_right_wrapper:hover {
  background-color: #a0c0c0;
}
.slider_left, .slider_right {
  display: table-cell;
  padding: 0 10px;
  vertical-align: middle;
}

@media screen and (max-width: 767px) {
  .slider {
    margin: 0 -100%;
  }
  .item_wrapper {
    width: calc(100% / 3);
  }
  .item {
    margin: 0 40px;
  }
}
/* 契約ページ */
.service_summary {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.service_summary > div {
  margin: 20px;
}
.service_image {
  width: max(60%, 320px);
}
.service_info {
  width: max(40%, 320px);
}
.service_title {
  font-size: 1.8em;
  font-weight: bold;
  letter-spacing: 0.05em;
}
.service_caption {
  margin-bottom: 2em;
  font-size: 0.85em;
}
@media screen and (max-width: 520px) {
  .service_summary {
    display: block;
  }
  .service_image {
    margin: 20px auto !important;
  }
}
/* legacy plan */
.price_table {
  line-height: 1.25;
  border-collapse: collapse;
  width: 100%;
}
.price_table tr {
  border: 2px solid #dddddd;
}
.price_table thead th {
  padding: 2em;
  border-right: 2px solid white;
  background-color: #50535d;
  color: white;
}
.price_table tbody th {
  border-right: 2px solid #dddddd;
}
.price_table td {
  padding: 1.5em .5em;
  text-align: center;
  font-weight: bold;
  font-size: 1.5em;
}
.price_table span {
  font-size: .6em;
}
/* new plan */
#plan_wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, 240px);
  justify-content: center;
}
.plan {
  position: relative;
  display: grid;
  grid-template-rows: auto 7rem 1fr auto;
  gap: 8px;
  padding: 4px;
  text-align: center;
}
.plan.recommended_plan {
  padding: 0;
  border: 4px solid #ff8040;
}
.plan_name {
  margin-top: 1em;
  padding: 0.5em 0;
  color: white;
  font-weight: bold;
  background-color: #aaaaaa;
}
.paid_plan .plan_name {
  background-color: #ffb000;
}
.plan.recommended_plan .plan_name {
  margin-top: 0;
  padding: 1em 0;
  background-color: #ff8040;
}
.plan_price {
  padding-bottom: 0.5em;
  font-size: 1.4em;
  font-weight: bold;
  border-bottom: 2px dotted black;
}
.free_plan .plan_price {
  font-size: 1.8em;
}
.plan_price span {
  font-size: 0.7em;
}
.plan_detail {
  margin-top: 1em;
  min-height: 5rem;
  font-size: 0.8em;
}
.plan > div:last-child {
  margin-bottom: 8px;
}
.plan_contract {
  padding: 0.5em!important;
  width: 80%;
  border-radius: 0.5em;
}
.detail_notes {
  font-size: 12px;
}

.ul-align-center {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.current_contract_period_wrapper {
	display: none;
}
.my_subscription_contract_wrapper, .my_subscription_update_wrapper {
  display: none;
}
.subscription_cancel_wrapper {
  display: none;
}
.subscription_contract_form_wrapper > .my_form {
  display: none;
}
.itl_shortcode .contract_button {
  display: block;
  width: max(30%, 300px);
  margin: 0 auto;
  border-radius: 30px;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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