/**
 * Theme Name:       Mai Prosper
 * Theme URI:        https://bizbudding.com/products/mai-prosper-theme/
 * Description:      Mai Prosper child theme for the Genesis Framework.
 * Author:           BizBudding
 * Author URI:       https://bizbudding.com/
 * Version:          2.0.2
 * Text Domain:      mai-prosper
 * Template:         genesis
 * Template Version: 3.3.2
 * License:          GPL-2.0-or-later
 * License URI:      http://www.gnu.org/licenses/gpl-2.0.html
 */

/**********************************/
/* 共通*/
/**********************************/
h2 {
	/*border-left: 4px solid #FF679A;
    border-bottom: 1px dashed #FF679A;
    font-size: 100%;
    padding: 5px 5px 5px 10px;
    margin: 10px 15px 0 0;*/
}
.mt-10 {
    margin-top: 10px;
}
.mt-20 {
    margin-top: 20px;
}
.mt-30 {
    margin-top: 30px;
}
.mt-40 {
    margin-top: 40px;
}
.mt-50 {
    margin-top: 50px;
}
.mb-10 {
    margin-bottom: 10px;
}
.mb-20 {
    margin-bottom: 20px;
}
.mb-30 {
    margin-bottom: 30px;
}
.mb-40 {
    margin-bottom: 40px;
}
.mb-50 {
    margin-bottom: 50px;
}
.hidden {
    display: none !important;
}
.fw-bold{
  font-weight: bold;	
}
.red{
  color: red;	
}
/* タイトル */
.page-header-wrap.wrap {
    display: none;
}
/**********************************/
/* TOPページ*/
/**********************************/
.column_3 {
    display: flex;
    justify-content: center;
}
.column_3_list {
    width: 30%;
    margin: 2%;
	border: 1.5px solid #000;
}
.column_3_list .wp-show-posts-columns {
    margin-left: 0!important;
}
.top_item h2.wp-show-posts-entry-title{
	font-size:1rem;
}
.top_item .wp-show-posts-inner {
    border: none;
	padding: 0.3rem 1rem;
}
.top-ttl2 {
    border: none;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}
@media only screen and (max-width: 767px){
	.column_3 {
		display: inline;
	}
	.column_3_list {
		width: 100%;
	}	
}
/**********************************/
/* 記事一覧*/
/**********************************/
.community_btn {
    text-align: right;
}
a.post_btn {
    background: #333;
    color: #fff;
    font-weight: bold;
    padding: 0.5rem;
}
.community_list {
    margin-top: 1rem;
}
.wp-show-posts-inner {
    padding: 1rem;
    border: 1px solid #333;
    border-radius: var(--border-radius-regular);
}
span.page-numbers.current {
    /*padding: 0.2rem 0.5rem;*/
    border: 1px solid #dc143c;
    color: #dc143c;
    margin: 5px;
}
a.page-numbers {
    padding: 0.2rem 0.5rem;
    border: 1px solid #808080;
    color: #808080;
    margin: 5px;
}

.wp-show-posts-columns .wp-show-posts-single:not(.wp-show-posts-masonry-block) {
	display: block;
}
/* 抜粋のフォントサイズ */
.wp-show-posts-entry-content p {
	font-size: 15px;
}
/* 記事と記事の間隔 */
.wp-show-posts-columns .wp-show-posts-inner {
	margin: 0 0 0px 10px !important;
}
/* 「続きを読む」ボタン */
a.wp-show-posts-read-more, a.wp-show-posts-read-more:visited {
	display: initial;
	padding: initial;
	border: initial;
	color: hsl( 123, 100%, 33% );
	font-size: 12px;
}
/* 「続きを読む」ボタン（hover時） */
a.wp-show-posts-read-more:focus, a.wp-show-posts-read-more:hover {
	border: initial;
	color: hsl( 123, 100%, 23% );
	background: initial;
}
/* 抜粋の一文目（挨拶文なので消す） */
.wp-show-posts-entry-content p:first-child {
	display: none;
}
/**********************************/
/* ログインフォーム*/
/**********************************/
.w3eden .input-wrapper.input-withvalue {
    border: 1px solid #ddd;
}
/**********************************/
/* イラストオーダー*/
/**********************************/
.order-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: sans-serif;
}
.order-table th,
.order-table td {
    border: 1px solid #ddd;
    padding: 12px;
    vertical-align: top;
    text-align: left;
}
.order-table th {
    background-color: #f4f4f4;
    color: #333;
    font-weight: bold;
}
.order-table tr:nth-child(even) {
    /*background-color: #fafafa;*/
}
.order-table img {
    max-width: 100px;
    height: auto;
    display: block;
}
/**********************************/
/* 検索結果*/
/**********************************/
time.entry-time {
    display: none;
}
span.entry-author {
    display: none;
}
/**********************************/
/* ヘッダー*/
/**********************************/
.custom-header {
  background: #fff;
  font-family: sans-serif;
  border-bottom: 1px solid #eee;
  width: 100%;
}
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 11px 0px 0px;
  font-size: 12px;
  color: #fff;
}
.logo-section {
  display: flex;
  flex-direction: column;
}
.logo {
  font-size: 24px;
  font-weight: bold;
}
.tagline {
  font-size: 11px;
  color: #666;
}
.top-links a {
  margin-left: 12px;
  color: #333;
  text-decoration: none;
  font-size: 12px;
}
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  flex-wrap: wrap;
}
.category-menu button {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin: 3px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
}
.search-login {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-form {
  position: relative;
  max-width: 220px;
  height: 32px;
}
.search-field {
  width: 100%;
  padding: 10px 30px 10px 18px;
  border-radius: 20px;
  border: 1px solid #ccc;
  font-size: 12px;
}
.search-submit {
  position: absolute;
  top: 35%;
  right: 8px;
/*  transform: translateY(-50%);*/
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  box-shadow: none;
  cursor: pointer;
}

/* ホバー時の色変化・沈み効果を無効化 */
.search-submit:hover,
.search-submit:active,
.search-submit:focus {
  background: transparent;
  box-shadow: none;
  transform: none;
  outline: none;
}
.search-field::placeholder {
  font-size: 12px;
  margin-top: -10px;
}
input[type=search].search-field {
    font-size: 12px;
}
.login-button {
  background: #ff3399;
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 12px;
  text-decoration: none;
  font-weight: bold;
}
.login-button:hover {
  color: inherit; /* ホバー時も親要素の色を継承 */
  text-decoration: none; /* ホバー時も下線を消す */
}
button,
[type="submit"] {
  /*background-color: #fff;
  padding: 1px 6px;
  cursor: pointer;*/
}
button:hover,
[type="submit"]:hover {
/*  background-color: #fff;    /* 青や灰色になる */
/*  border-color: #888;*/
}
/* カテゴリメニューのスタイル（横並び） */
ul.category-menu {
  display: flex;
  gap: 1px; /* 項目間の隙間（必要に応じて調整してください） */
  padding: 0;
  margin: 0;
  list-style: none; /* リストの丸いマークを消す */
}
ul.category-menu li {
  /*width: 150px;            /* 横幅固定（必要に応じて調整してください） */
  border: 1px solid #C9C9C9;  /* 枠線 */
  border-top-left-radius: 10px;  /* 左上の丸み */
  border-top-right-radius: 10px; /* 右上の丸み */
  border-bottom-left-radius: 0;  /* 左下は丸みなし */
  border-bottom-right-radius: 0; /* 右下は丸みなし */
  padding: 7px 0 7px;           /* 中の余白 */
  box-sizing: border-box;  /* 横幅にpaddingとborderを含める */
  text-align: center;      /* テキスト中央寄せ（任意） */
  background-color: #fff;  /* 背景色（任意） */
  color: #000;
  font-size: 15px;
}
.category-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1rem;
}
.category-menu li {
  cursor: pointer;
  position: relative;
  padding: 0.5rem;
  background-color: #fff;
  transition: background-color 0.3s;
}
ul.category-menu li {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
}
ul.category-menu li:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 10;
}
/* 下線と色の出現を防止 */
.category-menu a,
.category-menu a:hover,
.category-menu a:visited {
  text-decoration: none !important;
  color: inherit !important;
}
.header-right-menu {
    list-style: none;
    display: flex;          /* 横並びにする */
    gap: 1rem;              /* 項目間にスペース */
    margin: 0;
    padding: 0;
}
.header-right-menu li {
    margin: 0;
    padding: 0;
}
.header-right-menu a {
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
    display: block;
}
.top-bar-u {
    background: #f5f5f5;
}
/* Genesisのデフォルトheader-right */
.genesis-nav-menu, .widget_header-right, ul.header-right-menu + ul.genesis-nav-menu {
    display: none !important;
}
.title-area.title-area-first {
    display: none;
}
.top-bar.top-bar-u {
  position: relative;
  z-index: 1; /* 前面に表示（背景との重なりを調整） */
}
.top-bar.top-bar-u::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  background-color: #f0f0f0; /* 灰色 */
  transform: translateX(-50%);  /* 中央基準に補正 */
  z-index: -1;
}
body {
  overflow-x: hidden;
}
/* サブメニュー　hoverで表示 */
/* モーダル共通スタイル */
/* 共通モーダルスタイル */
.modal-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 1rem;
  width: 100%;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 10px 20px;
}
/* 個別カラー設定 */
.modal-menu1 {
  background-color: #FF8484;
  border-radius: 12px;
  padding: 20px;
}
.modal-menu2 {
  background-color: #A4CC57; 
  border-radius: 12px;
  padding: 20px;
}
.modal-menu3 {
  background-color: #72D5A3;
  border-radius: 12px;
  padding: 20px;
}
.modal-menu4 {
  background-color: #FFAC4B; 
  border-radius: 12px;
  padding: 20px;
}
.modal-menu5 {
  background-color: #4CB5DC; 
  border-radius: 12px;
  padding: 20px;
}
.modal-menu6 {
  background-color: #EF8BAB; 
  border-radius: 12px;
  padding: 20px;
}
.modal-menu7 {
  background-color: #DBDBDB; 
  border-radius: 12px;
  padding: 20px;
}
.modal-menu8 {
  background-color: #DBDBDB; 
  border-radius: 12px;
  padding: 20px;
}
/* nav-bar を基準に position: relative にしておく */
.nav-bar {
  position: relative;
}
/* 各モーダル用に個別位置調整（必要があれば） */
.modal-menu1,
.modal-menu2,
.modal-menu3,
.modal-menu4,
.modal-menu5,
.modal-menu6,
.modal-menu7,
.modal-menu8 {
  /* 必要なら left の位置を調整する */
}
.modal-inner-section {
  display: flex;
  /*flex-wrap: wrap;*/
  gap: 20px;
  justify-content: space-between;
}
.modal-inner-item {
/*  flex: 1 1 20%;*/
  min-width: 200px;
  margin-right: 2%;
  width:100%;
  display: flex;
  flex-direction: column;
/*  margin-left: 30px;*/
  padding: 10px 0;
	  text-align: left;
}
.center-align {
  justify-content: center;
  align-items: center;
  text-align: center;
}
.modal-inner-item h2 {
  font-size: 20px;
  margin: 0;
  border-left: none;
  border-bottom: none;
}
.modal-label {
  background-color: white;
  border-radius: 9999px;
  padding: 5px 15px;
  font-weight: bold;
  display: inline-block;
  width: fit-content;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: #000;
}
.label-none{
  background-color: unset;
}
.free-label{
	background: #EA3381;
	border-radius: 15px;
	color: #fff;
	padding: 3px 6px;
	font-size: 0.6rem;
	margin-left: 5px;
}
.modal-inner-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.modal-inner-list2 {
  margin-bottom: 2rem;
}
.modal-inner-list1 {
  margin-bottom: 1rem;
}
.modal-inner-list li {
  border-bottom: 1px solid white;
  padding: 10px 0;
  position: relative;
}
.modal-inner-list li a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  display: block;
  padding-right: 20px;
  position: relative;
  font-size: 0.65rem;
  font-size: 0.75rem;
  text-decoration: none;
}
.modal-inner-list li::after {
  content: '＞';
  color: white;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
}
li.menu1 {
    border-bottom: 4px solid #FF8484 !important;
}
li.menu2 {
    border-bottom: 4px solid #A4CC57 !important;
}
li.menu3 {
    border-bottom: 4px solid #57CC93 !important;
}
li.menu4 {
    border-bottom: 4px solid #FFAC4B !important;
}
li.menu5 {
    border-bottom: 4px solid #4CB5DC !important;
}
li.menu6 {
    border-bottom: 4px solid #EF8BAB !important;
}
li.menu7 {
    border-bottom: 4px solid #DBDBDB !important;
}
li.menu8 {
    border-bottom: 4px solid #DBDBDB !important;
	/*padding: 10px 20px 5px !important;*/
}
.icon-y {
  /*position: absolute;*/
  display:inline-block
  margin-top: -30px;
  font-size: 0.5rem;
  font-weight: bold ;
}
img.icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 9.5px;
  margin-top: -1.5px;
  margin-top: 0;	
}
img.icon-tab {
  position: relative;
  top: -3px;
}
.custom-header::after {
  content: "";
  display: block;
  position: relative;
  /*top: -10px;*/ /* .custom-header との間隔 */
  width: 100vw; /* 画面全体幅にする */
  height: 2px;
  background-color: #ccc; /* グレー */
  margin-left: calc(-50vw + 50%); /* コンテナからはみ出して画面左端に揃える */
}
.modal-login {
  position: absolute;
  top: 100%;
  left: -17.5%;
  background: #ffffff;
  border: 1px solid #ddd;
  display: none;
  max-width: 178px;
  height: auto;
  padding: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
@media screen and (max-width: 768px) {
  .modal-inner-section {
    flex-direction: column;
  }

  .modal-inner-item {
    width: 100%;
    border-left: none; /* SP時は線を非表示 */
    padding-left: 0;
    margin: 0;
  }
}
/* PC時の1列目を半分の幅に */
@media screen and (min-width: 769px) {
  ul.category-menu li {
    width: 87px;
    height: 37px;
  }
  ul.category-menu li.menu8 {
    width: 198px;
  }
  .modal-inner-item:first-child {
    min-width: 100px;
	width: 10%;
  }
  .modal-inner-item:first-child {
    border-right: 2px solid white;
    padding-right: 20px
  }
  .modal-inner-item2 {
    min-width: 330px !important;
	width: 33% !important;
  }
}
ul.login-list {
    margin: 0;
    text-align: left;
	padding: 8px 0 0;
}
ul.login-list li{
    border-bottom: solid 1px #DDDDDD;
    padding: 0 16px 3px;
    margin-bottom: 6px;
	list-style: none;
}
ul.login-list li:last-child {
	border:0;
	margin-bottom: 3px;
}

ul.login-list li a {
    color: #000;
	font-size: 13px;
}

ul.login-list li a:hover {
    text-decoration: none;
}

/* 月刊連載一覧 */
/* ▼ フィルター全体（右寄せ・レスポンシブ） */
.category-filter {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 16px;
  white-space: nowrap;
}

/* PCで右寄せ */
@media screen and (min-width: 768px) {
  .category-filter {
    float: right;
    width: 30%;
    justify-content: flex-end;
  }
}

.serialization-count {
  margin-bottom: 10px;
  font-size: 14px;
  color: #666;
}

.serialization-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.serialization-list li {
  margin-bottom: 12px;
  border-bottom: 1px solid #e0e0e0;
}

.serialization-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  padding: 8px 0;
  transition: background 0.2s;
  color: #333;
}

.serialization-list li a:hover {
  background-color: #f5f5f5;
}

.serialization-list .title {
  font-weight: bold;
  flex: 1;
}

.serialization-list .cat {
  margin-left: 10px;
  font-size: 0.9em;
  color: #666;
  white-space: nowrap;
}

.serialization-list .date {
  margin-left: 10px;
  font-size: 0.9em;
  color: #999;
  white-space: nowrap;
}

.pagination {
  text-align: center;
  margin: 30px 0;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 4px;
  border: 1px solid #ccc;
  color: #333;
  text-decoration: none;
}

.pagination .current {
  /*background-color: #333;*/
  color: #fff;
  border-color: #333;
}

.pagination .page-numbers:hover {
  background-color: #eee;
}
.clear {
  clear: both;
}
/* ダウンロード一覧から項目削除 */
#wpdmmydls-465632541b45f90e14722f952cdeddef th:nth-child(2) {
  display: none;
}
#wpdmmydls-465632541b45f90e14722f952cdeddef td.__dt_col_categories {
  display: none;
}
.col-md-7 p {
    display: none;
}
/*.お問い合わせ */
ul.contact_order {
}
/*.TOPページ日付 */
time.entry-time {
    display: inline;
}
.news-list .entry-wrap.entry-wrap-grid {
  display: grid;
  grid-template-columns: 15% 30% 50%;
  gap: 10px;
}

/* スマホ（幅768px以下）では 30%・30%・40% に切り替え */
@media screen and (max-width: 768px) {
  .news-list .entry-wrap.entry-wrap-grid {
    grid-template-columns: 30% 30% 40%;
    gap: 10px;
  }
}
/* TOPNEWS */
.news-list .mai-grid.entries.entries-grid.has-boxed.has-lg-margin-top.has-lg-margin-bottom {
    text-align: center;
    margin: 0 auto;
    width: 80%;
}
/* スマホ（幅768px以下）では 30%・30%・40% に切り替え */
@media screen and (max-width: 768px) {
  .news-list .mai-grid.entries.entries-grid.has-boxed.has-lg-margin-top.has-lg-margin-bottom {
    width: 100%;
  }
}
.news-list .entry {
    border: none;
    border-radius: none;
    box-shadow: none; 
}
.mai-grid.news-list.entries.entries-grid.has-boxed.has-lg-margin-top.has-lg-margin-bottom {
  border: 1.5px solid #eee !important; /* 薄いグレーの枠線 */
  border-radius: 8px;     /* 角を丸く */
  padding: 32px 48px;          /* 内側の余白 */
  box-sizing: border-box; /* paddingを含めて幅を調整 */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* ほんのり影をつける */
  background-color: #fff; /* 背景を白に（必要に応じて） */
  transition: box-shadow 0.3s ease; /* ホバー時に滑らかに */
}
.news-list .entry.entry-grid.is-column.has-entry-link.news.type-news.pmpro-has-access:not(:first-of-type) {
  border-top: 1px solid #eee; /* 上に薄い灰色の線 */
  padding-top: 16px; /* 線との余白（必要なら） */
  margin-top: 19px;  /* 要素間の間隔（必要なら） */
}
.news-list .entry-wrap.entry-wrap-grid{
    padding: 0 10px 0 10px;
}
.news-list .entry-meta.entry-meta-before-content {
    margin-bottom: 0;
}
.news-list h3.entry-title {
    margin-bottom: 0;
}
.news-list a.entry-title-link {
    font-weight: normal;
}
/* heder */
img.custom-logo {
    width: 129px;
    height: 25px;
	margin-top: 6px;
}
.top-bar-m {
    height: 32px;
	margin: 0;
}
.wp-block-group.alignfull.has-black-color.has-text-color.has-background.has-xs-font-size.has-xs-padding-top.has-xs-padding-bottom {
    height: 100%;
}
.mai-columns{
    padding: 4px 0;
}
/* マイページダウンロード件数表示 */
.w3eden h3 {
    display: block !important;
}
/* レイアウト調整 */
:root {
 /*   --breakpoint-xl: 1440px;：*/
}
section.before-header.template-part {
    height: 24px;
}
.site-header-wrap {
  margin: 0 auto;
  max-width: 1320px;
}
.login-button {
  width: 208px;
  height: 32px;
  display: inline-block;
  padding: 7px 10px 7px 10px;
  text-align: center;
}
header.site-header {
    max-width: 1440px;
    /* padding: 0 60px; */
    text-align: center;
    margin: 0 auto;
	margin-top: 18px;
}
.site-header-wrap {
    margin: 0 auto;
    max-width: 1320px;
}
.wp-block-group.alignfull.has-black-color.has-text-color.has-background.has-xs-font-size.has-xs-padding-top.has-xs-padding-bottom {
    padding: 0;
}
p.has-no-margin-bottom.has-black-color.has-text-color.has-sm-font-size {
    font-size: 12px;
}
p.has-black-color.has-text-color.has-link-color.has-sm-font-size.wp-elements-567edecc33f78490f2316ed37d51a6e4 {
    font-size: 12px;
}
/*  */
/* お問い合わせ */
/*  */
.cf7-row {
    display: flex;
    gap: 10px; /* フィールド間の間隔 */
}

.cf7-row label {
    flex: 1; /* 同じ幅で並べたい場合 */
}

/*  */
/* 登録画面 */
/*  */
.pmpro_level_cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* 3列対応 */
  gap: 24px;
  margin-top: 24px;
}

/* ✅ カード本体 */
.pmpro_level_card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  width: calc(33.333% - 16px); /* 横3列対応 */
  min-width: 309px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
  text-align: center;
}

/* ✅ カードホバー効果 */
.pmpro_level_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* ✅ レベル名 */
.pmpro_level_card h3.level-name {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #333;
}

/* ✅ ボタン（中央＆角丸） */
.pmpro_level_card .pmpro_btn {
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  background: #DBDBDB;
  color: #000 !important;
  padding: 10px;
  border-radius: 999px; /* ← 角丸ボタン */
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border: none;
  font-size: 16px;
}

.pmpro_level_card .pmpro_btn-outline {
  background: #fff;
  color: #0073aa !important;
  border: 1px solid #0073aa;
}

.pmpro_level_card_link {
  text-decoration: none;
  color: inherit;
  width: calc(33.333% - 16px);
  min-width: 250px;
}

.pmpro_level_card {
  background: #fff;
  border: 1px solid #EEEEEE;
  border-radius: 12px;
  padding: 38px 28px 30px;
  box-sizing: border-box;
  text-align: center;
  /* 浮き上がり無効 */
  transition: none;
  box-shadow: none;
}

.pmpro_level_card:hover {
  box-shadow: none;
  transform: none;
}

.content {
    max-width: 1000px;
}
.membership-ttl {
    font-size: 23px;
    font-weight: bold;
    text-align: center;
	margin-top: 30px;
	color: #000;
}
.level-action {
    margin-top: 37px;
}
/* 料金非表示 */
.pmpro_level_cards .level-price {
    /*display: none;*/
}
.pmpro_level_cards .member-level-ttx {
    font-size: 16px;
    font-family: Bilo;
    font-weight: bold;
	height: 40px;
}
.member-list-line {
    border: solid 1px #707070;
    margin: 38.5px 0 25.5px 0;
}
ul.member-list-ttx {
    text-align: left;
    height: 103px;
    font-size: 16px;
	line-height: 1.2;
}
a.pmpro_btn {
    width: 252px;
    height: 44px;
}

/* ボタンスタイル */
.pmpro_btn {
  background-color: #DBDBDB;
  color: #000000 !important;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pmpro_btn:hover {
  background-color: #DBDBDB;
  /*color: #000000 !important;*/
}
.level_btn:hover {
  background-color: #F7CD47;
  color: #000000 !important;
}

/* ✅ モバイル時：1列 */
@media (max-width: 768px) {
  .pmpro_level_card {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ログイン画面END */
.custom-confirmation-wrapper {
  border: solid 1.5px #E0E0E0;
  background: #fff;
  border-radius: 8px;
  padding: 68px 160px 82px;
  max-width: 880px;
  max-height: 390px;
  margin: 40px auto;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  font-family: "Hiragino Kaku Gothic ProN", "游ゴシック体", YuGothic, sans-serif;
}

.custom-confirmation-title {
  font-size: 23px;
  font-weight: bold;
  margin-bottom: 20px;
}

.custom-confirmation-divider {
  height: 2px;
  width: 100%;
  background: #e5e5e5;
  margin: 40px auto 48px;
  position: relative;
}

.custom-confirmation-highlight {
  height: 2px;
  width: 20%;
  background: #f3a5c4;
  position: absolute;
  top: 0;
  left: 0;
}

.custom-confirmation-message {
  font-size: 19px;
  color: #333;
  margin-bottom: 64px;
}

.custom-confirmation-button {
	display: inline-block;
    background: #EF8BAB;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 11px 40px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
    max-width: 324px;
    max-height: 44px;
}

.custom-confirmation-button:hover {
  color: #fff;               /* 白を維持 */
  text-decoration: none;    /* 下線を出さない */
}

/* ===== 📱スマホ・タブレット対応 ===== */
@media screen and (max-width: 480px) {
  .custom-confirmation-wrapper {
    padding: 30px 20px;
    margin: 20px 10px;
  }

  .custom-confirmation-title {
    font-size: 18px;
  }

  .custom-confirmation-message {
    font-size: 13px;
    margin-bottom: 24px;
  }

  .custom-confirmation-button {
    width: 100%;
    font-size: 15px;
    padding: 14px 0;
  }

  .custom-confirmation-highlight {
    width: 30%;
    left: 35%;
  }
}
/* ログイン画面 */
h2.login-title {
    font-size: 23px;
    text-align: center;
}
.custom-login-wrapper {
  border: solid 1.5px #E0E0E0;
  max-width: 396px;
  margin: 24px auto;
  padding: 2em;
  padding-top: 24px;
  background: #fff;
  text-align: center;
  border-radius: 8px;
  font-size: 16px;
}

p.login-username {
    text-align: left;
}
p.login-password {
    text-align: left;
}
.pmpro_form_field-password-toggle {
    text-align: center;
}

.custom-login-wrapper .login-title {
  font-size: 24px;
  margin-bottom: 20px;
}

.custom-login-wrapper input.input {
  width: 100%;
  padding: 12px;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.login-submit input[type="submit"] {
  background: #DBDBDB;
  color: #000;
  font-weight: bold;
  border: none;
  padding: 14px 24px;
  width: 100%;
  cursor: pointer;
  border-radius: 4px;
}

.login-submit input[type="submit"]:hover {
  background: #F7CD47;
}

.login-links {
    margin-top: 20px;
}

.login-links a {
  font-size: 13px;
  color: #e91e63;
  text-decoration: none;
}

.register-message {
  margin-top: 2em;
  font-size: 13px;
}

.register-link {
    display: inline-block;
    background: #DBDBDB;
    font-size: 16px !important;
    color: #000 !important;
    font-weight: bold;
    border: none;
    padding: 14px 24px;
    width: 100%;
    cursor: pointer;
    border-radius: 4px;
}

.register-link:hover {
  background: #F7CD47;
}
/* 縦並びに整える */
.pmpro_card_actions .pmpro_actions_nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.pmpro_login_wrap span {
  color: transparent !important;
  font-size: 0 !important;
}
/* ユーザー情報入力 */
.custom-checkout-wrapper {
    max-height: none;
	text-align: left;
}
.custom-checkout-wrapper .pmpro_level_name_text,
.custom-checkout-wrapper .member-level-ttx,
.custom-checkout-wrapper .member-list-line,
.custom-checkout-wrapper .member-list-ttx,
.custom-checkout-wrapper .pmpro_level_cost_text,
.custom-checkout-wrapper h2.pmpro_form_heading.pmpro_font-large {
	display: none;
}
label.pmpro_form_label {
    margin: 24px 0 10px;
}
.pmpro_btn_erea {
    display: flex;
}
.back-link-btn {
    width: 120px;
	margin-right: 4px;
}
a.back-btn {
    width: 100%;
    text-align: center;
	border-radius: 4px;
}
a.back-btn:hover {
	background-color: #DBDBDB;
	text-decoration: none;
}
.pmpro_btn {
	height: 44px;
}
.pmpro_next_btn {
    background: #EF8BAB;
    color: #fff !important;
	width: 196px;
	border-radius: 4px;
	padding: 10px;
}
.pmpro_asterisk abbr, .pmpro_asterisk abbr[title] {
    display: none;
}
span.pmpro_asterisk:after { 
	content: "(必須)";
	font-size: 10px;
	color: #EF8BAB;
}
span.pmpro_form_field-password-toggle-state {
    display: none;
}
/* すでにアカウントをお持ちですか ?  */
fieldset#pmpro_user_fields .pmpro_card_actions {
    display: none;
}
fieldset#pmpro_form_fieldset-\%e8\%bf\%bd\%e5\%8a\%a0\%e6\%83\%85\%e5\%a0\%b1 {
    margin-top: -30px;
}
p.pmpro_form_fields-description {
    display: none;
}
fieldset#pmpro_social_login .pmpro_card_content .pmpro_form_fields .pmpro_form_field {
    display: none;
}
/*.プロフィール確認 */
.pmpro_membership-account-level {
    margin-top: 30px;
}
/*.プロフィール編集 */
.pmpro_membership-profile_edit_content,
.pmpro_membership-account-content{
	max-width: 797px;
	margin: 0 auto;
	text-align: center;
}
.pmpro_membership-profile_edit,
.pmpro_membership-account{
	width: 100%;
	padding:57px 0 126px;
	text-align: left;
	border: solid 1.5px #E0E0E0;
    border-radius: 8px;
}
.pmpro_membership-account{
	padding:57px 92px 126px;
}
.profile_icon_edit{
	padding:40px 92px 33px;
}
h2.profile_edit_ttl {
    font-size: 14px;
	font-family: Bilo;
}
h2.profile_edit_ttl2 {
	padding: 0 92px;
    font-size: 14px;
	font-family: Bilo;
}
.pmpro_membership-profile_edit input[type="submit"] {
    font-weight: bold;
    background: #F0B6C8;
    color: #fff;
    margin: 10px;
    border-radius: 4px;
    font-family: Barlow;
}
.stripe_portal_btn a {
    font-weight: bold;
    background: #F0B6C8;
    color: #000;
    margin: 10px;
	border-radius: 8px;
	font-family: Barlow;
}
.stripe_portal_btn a:hover {
	background: #F7CD47;
	color: #000;
}
.pmpro_membership-profile_edit_input{
	padding:0 236px 0;
}
.pmpro_membership-profile_edit label.pmpro_form_label {
    font-size: 14px;
    font-family: Bilo;
}
.pmpro_membership-profile_edit .pmpro_btn.pmpro_btn-cancel{
	font-size: 16px;
	font-family: Bilo;
	border-radius: 4px;
	width:40%;
}
.pmpro_membership-profile_edit .pmpro_btn.pmpro_btn-submit-update-profile{
    background: #EF8BAB;
	color: #fff !important;
	border-radius: 4px;
	width:58.5%;
}
.pmpro_membership-profile_edit .pmpro_form_input{
	height: 44px;
	/*width: 324px;*/
}
.pmpro_membership-profile_edit h2.pmpro_form_heading.pmpro_font-large {
    display: none;
}
.pmpro_membership-profile_edit .pmpro_spacer {
    margin: -20px;
}
form#basic-user-avatar-form {
    text-align: center;
}
img.avatar.avatar-96.photo {
    margin: 0 auto;
}
#basic-user-avatar-form p.description {
    display: none;
}
.pmpro_membership-profile_edit .pmpro_form_field.pmpro_form_field-first_name {
    display: none;
}
.pmpro_membership-profile_edit .pmpro_form_field.pmpro_form_field-last_name{
	display: none;
}
.pmpro_membership-profile_edit .pmpro_form_field.pmpro_form_field-display_name {
    display: none;
}
/* メンバーシップキャンセル画面 */
#pmpro_cancel a.pmpro_btn {
    width: auto;
    height: 44px;
}
#pmpro_cancel a.pmpro_btn:hover {
	text-decoration: none;
}
/* お気に入りボタン非表示 */
.fav_icon {
    display: none;
}
.card.card-fav {
    display: none;
}
/* ダッシュボードプロフ編集非表示 */
#udm-account {
    display: none;
}
/* ダッシュボードプロフ編集 */
.site-inner {
    /*background: #F4F4F4;*/
}
.user_dashboard {
  display: flex;
  max-width: 1100px;
}
.user_dashboard_left {
  width: 262px;
  padding: 10px;
  box-sizing: border-box;
}
.user_dashboard_right {
  max-width: 798px;
  padding: 10px;
  box-sizing: border-box;
  margin-left: 40px;
}
/* ダウンロード検索結果 */
main.download-search-results {
    max-width: 1000px;
    margin: 0 auto;
}
.download-search-results .card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}
.download-search-results .card {
    width: calc(33.333% - 13.33px);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.download-search-results .card-image img {
    width: 300px;
    height: auto;
    display: block;
}
.download-search-results .card-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.download-search-results .card-title {
    font-size: 16px;
    margin: 0 0 10px;
}
.download-search-results .card-button {
    text-align: center;
}
/* ダウンロード履歴5件 */
.download-thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.download-thumb-grid a {
    display: block;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}
.download-thumb-grid a:hover {
    transform: scale(1.03);
}
.download-thumb-grid img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.download-pagination {
  margin-top: 25px;
  text-align: center;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.download-pagination .page-navi {
  display: inline-block;
  margin: 0 6px;
  padding: 8px 14px;
  border: 1.5px solid #0073aa;
  border-radius: 6px;
  text-decoration: none;
  color: #0073aa;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  user-select: none;
  cursor: pointer;
}
.download-pagination .page-navi:hover {
  background-color: #0073aa;
  color: #fff;
  border-color: #005177;
}
.download-pagination .page-navi.current {
  background-color: #005177;
  color: #fff;
  border-color: #003952;
  cursor: default;
}
.download-pagination .page-navi.prev,
.download-pagination .page-navi.next {
  font-weight: 700;
  font-size: 1.1em;
  padding: 8px 16px;
}
.download-pagination .page-navi.prev:hover,
.download-pagination .page-navi.next:hover {
  background-color: #004a6e;
  border-color: #002f49;
  color: #fff;
}
.card.card-dls {
  display: none !important;
}
/* 「bg-white」のcard-headerを持つcard全体を非表示に */
.card.card-default.dashboard-card:has(> .card-header.bg-white) {
  display: none;
}
/* Hide username field AND its label on PMPro checkout */
.pmpro_form_field-username {
   /*display: none !important;*/
}


/* Hide username field AND its label on PMPro checkout */
.pmpro_form_field-username {
/*    display: none !important;*/
}
/*.パスワードヒント */
span.pmprosp-tooltip__password {
    display: none;
}
/*.パスワードアイコン横並び */
input#password {
    width: 75%;
}
#password,
.pmpro_form_field-password-toggle {
  display: inline-block;
  vertical-align: middle;
}
#password,
.pmpro_form_field-password-toggle {
  margin-right: 8px; /* 任意。必要に応じて調整 */
}
/* 項目非表示 */
#user_name1-2_div label.pmpro_form_label, #user_name1-2_div span.pmpro_asterisk:after,
#user_name2-2_div label.pmpro_form_label, #user_name2-2_div span.pmpro_asterisk:after {
  color: transparent;     /* 元のテキストを透明に */
  position: relative;
}

#user_name1-2_div label.pmpro_form_label::after, #user_name2-2_div label.pmpro_form_label::after  {
  content: "　";           /* 全角スペース */
  color: black;           /* 表示色 */
  position: absolute;
  top: 0;
  left: 0;
}
#user_name_div,
#user_name1-2_div,
#user_name2_div,
#user_name2-2_div {
  display: inline-block;    /* または flexboxで横並び */
  vertical-align: top;      /* 上揃え */
  width: 48%;               /* 適宜調整 */
  box-sizing: border-box;   /* パディング・ボーダー込みで幅調整 */
  margin-right: 2%;         /* 余白 */
}
/* 最後の要素の右マージンは不要ならリセット */
#user_name1-2_div, #user_name2-2_div {
  margin-right: 0;
}
small.custom-field-message {
    font-size: 100%;
}
/* 
 * ユーザー編集画面
 *  */
.pmpro_list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
/* 横並びさせたい氏名と氏名2 */
.pmpro_list li:nth-child(4),
.pmpro_list li:nth-child(5),
.pmpro_list li:nth-child(6),
.pmpro_list li:nth-child(7) {
  flex: 1 1 45%;
}
/* それ以外は幅100% */
.pmpro_list li:not(:nth-child(4)):not(:nth-child(5)):not(:nth-child(6)):not(:nth-child(7)) {
  flex: 1 1 100%;
}
/* 項目非表示 */
.pmpro_card_content ul.pmpro_list li:nth-child(5) strong,
.pmpro_card_content ul.pmpro_list li:nth-child(7) strong {
    display: none;
}
/* 
 * イラストオーダー
 *  */
.cf7-hidden-field {
    display: none !important;
}
p.order-txt {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}
/* Contact Form 7の画像選択用ラジオボタン */
/* 固有クラス名で他ページと被らないように */
/* ラッパー */
.cf7-image-select-wrapper-unique {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 20px;   /* 必要に応じて調整 */
  margin-bottom: 0;
  padding: 0;
}

/* ラベル（全体の枠） */
label.cf7-image-select-label-unique {
  cursor: pointer;
  display: flex;
  flex-direction: column;  /* 縦並び */
  align-items: center;
  width: 170px;
  text-align: center;
}

/* 画像 */
label.cf7-image-select-label-unique img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
  margin-bottom: 8px;
}

/* ラジオボタン */
label.cf7-image-select-label-unique input[type="radio"] {
  margin-top: 5px;
  cursor: pointer;
  position: static;
  opacity: 1;
  width: auto;
  height: auto;
}

/* 選択されたときの画像ハイライト */
label.cf7-image-select-label-unique input[type="radio"]:checked + img {
  border-color: #007acc;
  box-shadow: 0 0 8px #007acc;
}

/* 任意：画像の下にラベルテキストを表示したいとき */
label.cf7-image-select-label-unique span.cf7-image-select-label-text-unique {
  margin-top: 5px;
  font-weight: bold;
  font-size: 16px;
  user-select: none;
}

/* 登録画面（プレミアム）
#pmpro_level-5 {
  position: relative;
} */

/* オーバーレイ背景 
#pmpro_level-5::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(200, 200, 200, 0.7);
  z-index: 10;
}*/

/* COMING SOONテキスト
#pmpro_level-5::after {
  content: "Coming\A Soon";
  white-space: pre;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  text-align: center;
  z-index: 11;
} */