@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/*アピールパネルデザイン(PC)*/
.appeal {
  height: calc(100vh - 80px);
  position: relative;
  background-position: center;
  background-size: cover;
  background-image: url(assets/images/main_image_4x3.jpg);
}
.main-text {
  position: absolute;
  top: 22%;
  left: 37%;
  width: 55%;
}

/*アピールパネルデザイン 1024px以下*/
@media (max-width: 1024px) {
  #appeal {
    height: 100vh;
    position: relative;
    background-position: 30%;
    background-size: cover;
    text-align: center;
    background-image: url(assets/images/main_image_4x3.jpg);
  }
  .main-text {
    position: absolute;
    top: 39%;
    left: 43%;
    width: 55%;
  }
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1024px以上*/
@media screen and (min-width: 1024px) {
  /*トップページ新着記事日付表示*/
  .new-entry-card-date {
    display: block;
    margin-right: 20px;
    font-weight: bold;
    width: 15%;
  }
  .new-entry-card-content {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
  }
  .new-entry-card-title {
    width: auto;
  }
  .post-date {
    font-size: 1rem;
  }
}
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*アピールパネルデザイン*/
  .appeal {
    height: calc(40vh - 50px);
    background-position: center;
  }
  /*トップページ新着記事日付表示*/
  .new-entry-card-date {
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
  }
  .new-entry-card-content {
    display: flex;
    flex-direction: column-reverse;
  }
}

/*834px以下*/
@media screen and (max-width: 834px) {
}

/*480px以下*/
@media screen and (max-width: 480px) {
}

/*cocoon独自の固定ページの項目を削除*/
.page .entry-title {
  display: none;
}
.page .entry-date {
  display: none;
}
.page .post-update {
  display: none;
}
.article-header .post-update {
  display: none;
}
.page .breadcrumb-home {
  display: none;
}
.admin-pv {
  display: none;
}
.author-info {
  display: none;
}

/*管理メニューの非表示*/
#admin-panel {
  display: none;
}
html {
  margin-top: 0 !important;
}
#wpadminbar {
  display: none !important;
}

/*PCサイズデザイン変更*/
/*ヘッダー*/
/*1024px以上*/
@media screen and (min-width: 1024px) {
  #header-container {
    padding-top: 10px;
    padding-bottom: 10px;
    top: 0;
  }
}
/*ロゴ*/
.logo-header img {
  width: 150px;
}

/*モバイルサイズデザイン変更*/
/*ヘッダー*/
.mobile-header-menu-buttons {
  background-color: #001a43;
}
/*ロゴ*/
.site-logo-image {
  width: 150px;
  height: auto;
}
.logo-menu-button img {
  margin: 0 1rem;
}

/*サイドメニュー*/
.mobile-menu-buttons .menu-content {
  background-color: #001a43;
  width: 100%;
}
.menu-close-button {
  padding-top: 5px;
  padding-right: 20px;
  text-align: right;
}
.fa {
  color: #ffffff;
}
.menu-drawer li {
  display: flex;
  border-bottom: 1px solid #ffffff;
  height: 50px;
  align-items: center;
}
.menu-drawer a {
  color: #ffffff;
  font-weight: bold;
}
.mobile-menu-buttons .menu-caption {
  color: #ffffff;
}

/* ハンバーガーメニュースライドイン */
.navi-menu-content {
  left: auto;
  right: 0;
  transform: translateX(105%);
}

/*お知らせ一覧スタイル変更*/
.entry-title,
.archive-title {
  background-color: #dcdcdc;
  padding: 10px;
}
.a-wrap {
  border-bottom: 1px dashed #808080;
}
.posts-not-found h2 {
  display: none;
}
.page-numbers span {
  color: #333333;
}

/*h3見出しのデザイン*/
.wp-block-heading {
  text-align: center !important;
  border: none !important;
}

/*お問い合わせデザイン*/
.contact {
  border: 1px solid #001a43;
  padding: 20px;
  display: flex;
  flex-flow: column;
  align-items: center;
}
.contact-sentence {
  margin-top: 32.4px;
  text-align: center;
}
.contact-button {
  display: inline-block;
  border: 1px solid #001a43;
  border-radius: 5.4px;
  background-color: #001a43;
  color: #ffffff;
  padding: 3px 60px;
  font-size: 15px;
  text-decoration: none;
}
.contact-button:hover {
  background-color: #ffffff;
  color: #001a43;
  border: 1px solid #001a43;
}

/*各種申し込み一覧デザイン*/
.application-content {
  color: #333;
}
.border-top {
  border-top: 2px solid #ccc;
  padding-top: 3%;
}
.application-type {
  display: inline;
  border: solid;
  border-radius: 10px;
  padding: 0 5%;
}
.performance-date {
  display: flex;
}
.place {
  display: flex;
}
.application-date {
  display: flex;
}
.border-bottom {
  display: flex;
  justify-content: center;
  border-bottom: 2px solid #ccc;
  padding-bottom: 3%;
}
.application-button {
  width: 80%;
  max-width: 450px;
  display: inline-block;
  font-size: 1rem;
  margin-top: 3%;
  height: 50px;
  background-color: orange !important;
  color: white !important;
  text-decoration: none;
  border: none !important;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

/* ホバー時のスタイル */
.application-button:hover {
  background-color: darkorange;
}

/* クリック時のスタイル */
.application-button:active {
  transform: translateY(2px);
}

/*公演情報デザイン*/
.performances {
  border: 1px solid #001a43;
  padding: 20px 20px 20px 10px;
}
.performances ul {
  list-style: none;
}
.performances ul li {
  margin-bottom: 10px;
}
/* トップページ_プロフィールデザイン */
.profile {
  border: 1px solid #001a43;
  padding: 20px 20px 20px 10px;
}
.profile ul {
  list-style: none;
}
.profile ul li {
  margin-bottom: 20px;
}

/*メッセージデザイン*/
.top-message {
  background-color: #d7e0ebe6;
  padding: 20px 10px;
}

/*トップページ［もっと見る］デザイン*/
.wp-block-button__link {
  width: 250px;
  height: auto;
  border-radius: 5px;
  padding: calc(3px + 2px) calc(5px + 2px);
  background-color: #001a43;
  border: 1px solid #001a43;
}
.wp-block-button__link:hover {
  background-color: #ffffff;
  color: #001a43;
  border: 1px solid #001a43;
}

/*トップページ見出しデザイン*/
.page-id-19 .wp-block-heading {
  position: relative;
  text-align: center;
}
.page-id-19 .wp-block-heading::before {
  background-color: #001a43;
  border-radius: 5px;
  bottom: -1px;
  content: "";
  height: 3px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 30px;
}

/*リストデザイン*/
.widget-entry-cards .a-wrap {
  margin-bottom: 0px;
}
.no-thumbnail .widget-entry-cards div.widget-entry-card-content {
  margin: 0.6em 0;
}

/*画面タイトルデザイン*/
.page-title,
.archive-title,
.entry-title {
  font-size: 2rem;
  background-color: #ffffff;
}

/*FAQデザイン*/
.page-id-24 .wp-block-heading {
  font-size: 2rem;
  background-color: #ffffff;
  text-align: left !important;
  padding: 10px 10px;
  margin: 16px 0;
}
.article h4 {
  border: none;
}
.ac_title_class {
  font-family: "Noto Sans JP", sans-serif !important;
}
.wpsm_panel-body {
  font-family: "Noto Sans JP", sans-serif !important;
}

/* 共通 */
.my-10 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.my-5 {
  margin-top: 5px;
  margin-bottom: 5px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-50 {
  margin-top: 50px;
}

.mt-80 {
  margin-top: 80px;
}

.mb-0 {
  margin-bottom: 0px !important;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-50 {
  margin-bottom: 50px;
}

.ta-c {
  text-align: center;
}

.ta-l {
  text-align: left;
}

.font-bold {
  font-weight: bold;
}

.fs-125 {
  font-size: 1.25rem;
}

.fs-150 {
  font-size: 1.5rem;
}

.border {
  border: 1px solid #555555;
  border-radius: 4px;
  padding: 5px;
}

.bold-border {
  border: 5px solid #555555;
  border-radius: 4px;
  padding: 5px;
}

.required-label {
  color: white;
  font-size: 1rem;
  border: 1px solid #dc3545;
  border-radius: 5px;
  padding: 2px 5px;
  background-color: #dc3545;
  margin-right: 10px;
}

.separator {
  border-top: 2px solid #ccc;
  margin: 20px 0;
}

.content-h2-title {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin: 30px 0;
  border-bottom: 2px solid #ccc;
}

a {
  color: #001a43;
}

/* テーブル共通 */
.w-50 {
  width: 50%;
}

.w-40 {
  width: 40%;
}

.w-30 {
  width: 30%;
}

.w-20 {
  width: 20%;
}

.w-10 {
  width: 10%;
}

table textarea {
  resize: none;
}

table tr:nth-of-type(2n + 1) {
  background-color: #ffffff;
}

.application-table td {
  width: 50%;
}

.primary-text {
  color: #001a43;
}

/* ボタン共通 */
.custom-button {
  width: 80%;
  max-width: 450px;
  cursor: pointer;
  text-align: center;
  height: 50px;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 5px;
  box-sizing: border-box;
}
.custom-button-fill {
  border: 3px solid #001a43;
  background-color: #001a43;
  color: white;
}
.custom-button-fill:hover {
  background-color: #ffffff;
  color: #001a43;
  border: 3px solid #001a43;
}
.custom-button-outline {
  border: 3px solid #ccc;
  background-color: #ffffff;
  color: #333333;
}
.custom-button-outline:hover {
  background-color: #001a43;
  color: white;
  border: 3px solid #001a43;
}

/* フォーム共通 */
.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.form-row label {
  flex: 1;
  min-width: 100px;
  margin-right: 10px;
  cursor: text;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #f9f9f9;
}

/*894px以下*/
@media screen and (max-width: 894px) {
  .form-row label {
    min-width: 40%;
  }
}
/*719px以下*/
@media screen and (max-width: 719px) {
  .form-row {
    display: flex;
    flex-flow: column;
  }
  #support_count {
    margin-top: 0.5rem;
  }
  #scheduled_transfer_date {
    font-size: 16px;
    margin-top: 0.5rem;
  }
  input[type="file"][name="file"] {
    margin-top: 0.5rem;
  }
  .required-label {
    font-size: 14px;
  }
}

/* 申し込みフォーム */
/*715px以上のテーブルレイアウト*/
@media screen and (min-width: 715px) {
  .h-performance-title {
    display: none;
  }
  .biko-title {
    display: none;
  }
  .biko-content {
    display: none;
  }
  #tickets th,
  #tickets td {
    font-size: 14px;
  }
  input,
  select,
  textarea {
    font-size: 14px;
  }
}

/*714px以下のテーブルレイアウト*/
@media screen and (max-width: 714px) {
  #tickets {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
  }
  #tickets th,
  #tickets td {
    font-size: 12.8px;
  }
  .h-performance-date {
    display: none;
  }
  .d-performance-date {
    display: none;
  }
  .h-biko {
    display: none;
  }
  .d-biko {
    display: none;
  }
  .select-form {
    padding: 3px;
  }
  input,
  select,
  textarea {
    font-size: 12.8px;
  }
}

/* PCとスマートフォンでの<input type="date"/>のスタイルをリセット */
input[type="date"] {
  appearance: none; /* ブラウザのデフォルトスタイルを無効化 */
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form-row > div {
  flex: 2;
  width: calc(100% - 110px);
}

#support_count {
  width: 100px;
}

/* マイページ_アカウントタブを削除 */
a[data-tab="general"] {
  display: none !important;
}

/* マイページ_［返金口座備考］［会期更新の保留］フィールドを削除 */
.page-id-17 div[data-key="field_6600da6740be6"] {
  display: none !important;
}
.page-id-17 div[data-key="field_6613382814a01"] {
  display: none !important;
}
.page-id-17 div[data-key="field_661cd7d668100"] {
  display: none !important;
}

/* 会員情報編集_［会員情報編集］ボタン削除 */
input[value="会員情報編集"] {
  display: none !important;
}

/* タイプ（公演・お茶会・グッズ） */
.status-tea {
  padding: 5px;
  border-radius: 5px;
  background-color: #d4edda;
  color: #155724;
}

.status-goods {
  padding: 5px;
  border-radius: 5px;
  background-color: #cce5ff;
  color: #004085;
}

.status-performance {
  padding: 5px;
  border-radius: 5px;
  background-color: #f8d7da;
  color: #721c24;
}

.status-already-application {
  padding: 5px;
  border-radius: 5px;
  background-color: #fff3cd;
  color: #856404;
  margin-left: 5px;
}

/************************************
** 新着記事・人気記事・ナビカードウィジェット（タイトルを重ねた大きなサムネイル以外）
************************************/
.widget-entry-cards:not(.large-thumb-on) .card-title {
  width: 80%;
}

/* サイト全体のフォント */
.ff-noto-sans-jp,
.wf-active .ff-noto-sans-jp,
.wp-admin-ff-noto-sans-jp .editor-styles-wrapper {
  font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", YuGothic,
    "游ゴシック体", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ",
    "Meiryo", sans-serif;
}
.ff-noto-serif-jp,
.wf-active .ff-noto-serif-jp,
.wp-admin-ff-noto-serif-jp .editor-styles-wrapper {
  font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", YuGothic,
    "游ゴシック体", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ",
    "Meiryo", sans-serif;
}

/* リンクカラー変更 */
.custom-link {
  color: #0066be;
}
.custom-link:visited {
  color: #500050;
}

/* モバイルサイズ_トップへ */
.go-to-top-button {
  background-color: #001a43 !important;
}
