/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* =======================================================
    基本設定
   ======================================================= */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
    color: #333;
    margin: 0;
    padding: 0;
}
a {
    color: #0053C1;
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: #F7A531;
    text-decoration: none;
}
a:focus, a:active {
    outline: none;
    border: none;
}
.ast-single-post .entry-content a,
.ast-comment-content a:not(.ast-comment-edit-reply-wrap a){
    text-decoration: none;
}
/* サイト背景 */
.site-content{
    background-color:#fff;
    background-image:url(./img/page_bg.png);
    background-position:center bottom;
    background-repeat:no-repeat;
    background-size:100% auto;
}
.user-registration-MyAccount-navigation{
    display: none;
}
/* タイトル */
.site-title {
    font-size: 30px;                                                            /* 変更箇所（ロゴなしの場合） */
}

.mat20{ margin-top: 20px!important; }
.mat40{ margin-top: 40px!important; }
.mab10{ margin-bottom: 10px!important; }
.mab20{ margin-bottom: 20px!important; }
.bold{ font-weight:bold!important; }
.red{ color:red!important; }
.fs_small{ font-size: 0.8em; }
.fs18{ font-size: 18px!important; }
.fs20{ font-size: 20px!important; }
.fs22{ font-size:22px!important; }
.fs40{ font-size:40px!important; }
.fs60{ font-size:60px!important; }
.fs160{font-size: 160px!important;}

.torikeshi{
    text-decoration-line: line-through;
    color:red;
}
.black{
    color:#333;
}

/* =======================================================
    コンテナ・レイアウト
   ======================================================= */
.ast-container,
#main,
body.user-registration-page #user-registration.user-registration-MyAccount,
body.user-registration-page .user-registration.user-registration-MyAccount,
body.user-registration-membership_page_user-registration-login-forms #user-registration.user-registration-MyAccount, 
body.user-registration-membership_page_user-registration-login-forms .user-registration.user-registration-MyAccount{
    max-width: 1980px!important;
    padding:20!important;
}
.container, .ast-container {
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}
.custom-dashboard-content {
  display: flex;
  max-width: 100%;
  margin: 0 auto;
  gap: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  text-align: left;
}
#content {
    padding: 10px 40px 40px;
}
.site-primary-header-wrap.ast-builder-grid-row-container.site-header-focus-item.ast-container{
	padding:0;
}
.site-below-header-wrap.ast-builder-grid-row-container.site-header-focus-item.ast-container{
	padding:0 20px 20px 20px;
}
#user-registration.horizontal .user-registration-MyAccount-content{
    padding: 0!important;
}
#user-registration.vertical, #user-registration.horizontal,
#user-registration.horizontal, #user-registration{
    box-shadow:none!important;
}
body.user-registration-membership_page_user-registration-login-forms #user-registration:not(.user-registration-MyAccount),
body.user-registration-membership_page_user-registration-login-forms .user-registration:not(.user-registration-MyAccount),
body.user-registration-page #user-registration:not(.user-registration-MyAccount),
body.user-registration-page .user-registration:not(.user-registration-MyAccount) {
        margin: 0 auto;
        margin-top: 20px;
}
/* ログイン */
body.user-registration-membership_page_user-registration-login-forms #user-registration:not(.user-registration-MyAccount),
body.user-registration-membership_page_user-registration-login-forms .user-registration:not(.user-registration-MyAccount),
body.user-registration-page #user-registration:not(.user-registration-MyAccount), 
body.user-registration-page .user-registration:not(.user-registration-MyAccount){
    max-width: 1980px!important;
}
.ur-frontend-form.login {
    max-width: 1980px!important;
    padding: 20px!important;
}

/* レスポンシブ */
@media screen and (max-width: 1024px){
    .custom-dashboard-content{
        flex-direction: column; /* 横並び→縦並びに変更 */
        gap: 10px;
        padding: 10px;
    }
}
@media screen and (max-width: 768px) {
    .custom-dashboard-content {
        max-width: 100%;
    }
    #content {
        padding: 10px;
    }
    .site-primary-header-wrap.ast-builder-grid-row-container.site-header-focus-item.ast-container{
        padding:0;
    }
    .site-below-header-wrap.ast-builder-grid-row-container.site-header-focus-item.ast-container{
        padding:10px;
    }
    #user-registration.horizontal .user-registration-MyAccount-content{
        padding: 0!important;
    }
    .container, .ast-container {
        padding: 10px!important;
    }
}



/* =======================================================
    左メニュー
   ======================================================= */
.dashboard_menu{
    max-width: 20%;
}
.dashboard_list {
  flex-shrink: 0;
  max-width: 200px;
  box-sizing: border-box;
  position: sticky;
  top: 20px;
  height: fit-content;
  list-style: none;
  margin: 0;
}
.dashboard_list a {
  display: block;
  text-decoration: none!important;
  color: #333;
  background: #fff;
  padding: 10px 15px;
  border: 1px solid #ddd;
}
.dashboard_list a:hover,
.dashboard_list a:focus,
.dashboard_list a:active {
  background: #4FA263;                                                         /* 変更箇所 */
  color: #fff;
}

/* レスポンシブ */
@media screen and (max-width: 1024px){
    .dashboard_menu {
        max-width: 100%;
    }
    .dashboard_list {
        max-width: 100%;
        position: static;
        top: auto;
        margin-bottom: 20px;
    }
}

/* =======================================================
    右コンテンツ
   ======================================================= */
.dashboard_main {
  flex: 1;
  background: #fff;
  padding: 0;
  border-radius: 12px;
  box-sizing: border-box;
  max-width: 80%;
}
.dashboard_content{
  display: flex;
  max-width: 1600px;
  margin: 0 auto;
  gap: 10px;
  box-sizing: border-box;
}
.dashboard_content_inner{
    padding: 10px;
    width: 50%;
}
.dashboard_box{
    padding: 10px 10px 30px 10px;
}
/* レスポンシブ */
@media screen and (max-width: 1024px){
    .dashboard_main{
        max-width: 100%;
    }
    .dashboard_content {
        flex-direction: column;
        padding: 10px;
        max-width: 100%;
    }
    .dashboard_content_inner{
        width: 100%;
    }
}


/* =======================================================
    タイトル
   ======================================================= */
.title1{
    color: #2c3e50;
    margin-bottom: 0!important;
    font-size: 24px;
}
.title2 {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    font-size: clamp(1.6rem, 1.8vw, 2rem)!important;
    padding: 0.5em 1em!important;
    padding-right: 56px;
    margin-top: 1em!important;
    margin-bottom: 1em!important;
    color: #fff!important;
    letter-spacing: 0.2em;
    background: #4FA263;                                                 /* 変更箇所 */
    text-align: left;
    font-weight: bold!important;
    line-height: 1;
    cursor: default;
    box-sizing: border-box;
}
.title3 {
    font-size: clamp(1.4rem, 1.6vw, 1.8rem)!important;
    color: #333!important;
    font-weight: bold;
    margin:  0.5em 0 1em!important;
    padding: 0.4em 0.8em!important;
    border-top: 3px solid #4FA263;                                                /* 変更箇所 */
    border-bottom: 1px solid #DDDDDD;
    text-align: left;
    letter-spacing: 0.1em;
}
.title4 {
    position: relative;
    font-size: clamp(1.2rem, 1.4vw, 1.6rem)!important;
    font-weight: 600;
    margin:  0.3em 0 0.8em!important;
    padding-left: 0.75em;
    border-left: 5px solid #0073aa;                                                  /* 変更箇所 */
    color: #333;
}

.title5 {
font-size: clamp(1.05rem, 1.3vw, 1.5rem)!important;
font-weight: 600;
margin: 1.2em 0 0.6em;
padding: 0.3em 0.6em;
color: #096A8B;
display: inline-block;
}

/* レスポンシブ対応 */
@media (max-width: 768px){
    .title1 {
        font-size: 22px;
    }
}
/* =======================================================
    テーブル
   ======================================================= */
.table1-wrapper {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}
.table1 {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #fff;
    color: #333;
    table-layout: fixed;    /* 幅均等 */
    box-sizing: border-box;
}
.table1 th,
.table1 td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #E3A8A5;
    word-wrap: break-word; /* コンテンツを折り返し */
    word-break: break-word; /* 長い単語も折り返し */
    white-space: normal; /* 改行を許可 */
    vertical-align: top;
}
.table1 th {
    background-color: #E9D1D0;
    font-weight: bold;
}
.table1 tr:nth-child(even) td {
    background-color: #fafafa;
}
.table1 tr:hover td {
    background-color: #f1f1f1;
}
/* ユーザー側のテーブルで使用 */
.table1.w35 th {
    width: 35%;
}
/* 溢れたテキストを「…」に変換 */
.table1.category_table th,
.table1.category_table td{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
 /* 幅は自動調整 */
.table1.layout_auto {
    table-layout: auto;
}
.table1.layout_auto th {
    white-space: nowrap;
}

.table1 .highlight-row {
    border-top: 2px solid #ccc;
    font-weight: bold;
}
.table1 .highlight-row td {
    padding-top: 8px;
}



/* レスポンシブ */
@media (max-width: 1024px) {
    .table1 {
        min-width: 900px;
    }
}
@media (max-width: 768px) {
    .table1 {
        min-width: 700px;
    }
}



/* =======================================================
    ボタン
   ======================================================= */
/* ログインボタン */
.user-registration-Button.button {
    display: block!important;
    width: fit-content!important;
    margin: 1em!important;
    padding: 0.8em 4em 0.8em 3em!important;
    font-size: clamp(1.2rem, 1.4vw, 1.5rem)!important;
    font-weight: 500!important;
    text-decoration: none!important;
    text-align: center!important;
    background-color: #009BC5!important;                                           /* 変更箇所 */
    color: #FFF;
    letter-spacing: 0.2em!important;
    cursor: pointer!important;
    position: relative!important;
    border-radius: 0!important;
    border:none!important;
    border-radius: 5px!important;
}
.ur-form-container .button,.ur-form-container button,
.user-registration .button,.user-registration button {
    box-shadow: none!important;
}
.user-registration-Button.button:after{
    content: "";
    display: block;
    width: 1.5em;
    height: 1.5em;
    background: url(img/pik.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    right: 2em;
    transform: translate(0,-50%);
}
.user-registration-Button.button:hover,
.user-registration-Button.button:active,
.user-registration-Button.button:focus {
    opacity: .7;
}
.ur-form-container .button:hover,
.ur-form-container button:hover,
.user-registration .button:hover,
.user-registration button:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* ログアウトボタン */
.logout-link {
    background-color: #e74c3c;
}
.logout-link:hover {
    background-color: #c0392b;
}
/* アカウント情報変更ボタン */
.custom-dashboard-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}
.dashboard-link {
    display: flex;
    align-items: center;
    background-color: gray;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none!important;
    transition: background-color 0.3s, transform 0.3s;
    font-weight: 500;
    border-radius: 5px!important;
}
.dashboard-link .dashicons {
    margin-right: 8px;
    font-size: 20px;
}
.dashboard-link span {
    display: inline-block;
}
.dashboard-link:hover {
    opacity: .7;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color:#fff;
}
.dashboard-link:hover .dashicons {
    color: #ffffff;
}
/* レスポンシブ */
@media (max-width: 768px){
    .custom-dashboard-links {
        gap: 10px;
    }
    .dashboard-link {
        padding: 8px 16px;
    }
    .dashboard-link .dashicons {
        font-size: 18px;
        margin-right: 6px;
    }
}

/* 独自PDFダウンロードボタン（協賛管理で使用） */
.pdf-download-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}
.pdf-download-btn:hover {
    background-color: #555;
}



/* ----------------- 基本のボタン ----------------- */
.btn {
    display: block!important;
    width: fit-content!important;
    margin: 1em!important;
    padding: 0.8em 4em 0.8em 3em!important;
    font-size: clamp(1.2rem, 1.4vw, 1.5rem)!important;
    font-weight: 500!important;
    text-decoration: none!important;
    text-align: center!important;
    background-color: #009BC5!important;                                   /* 変更箇所 */
    color: #FFF!important;
    letter-spacing: 0.1em!important;
    cursor: pointer!important;
    position: relative!important;
    transition: background-color 0.3s, transform 0.3s!important;
    border-radius: 5px!important;
}
.btn:after {
    content: ""!important;
    display: block!important;
    width: 1.5em!important;
    height: 1.5em!important;
    background: url(img/pik.png)!important;
    background-repeat: no-repeat!important;
    background-size: contain!important;
    position: absolute!important;
    top: 50%!important;
    right: 2em!important;
    transform: translate(0,-50%)!important;
}
.btn:hover {
    opacity: .7;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.is_red { background-color: red!important; }
.is_gray{ background-color: #a9a9a9!important; }
.btn.is_gray:hover,
.btn.is_gray:focus,
.btn.is_gray:active {
    opacity: 1 !important;
    transform: none;
    box-shadow: none;
}
.btn.is_gray:after {
    content: none !important;
}

/* テーブル内で使用するボタン */
.btn_small {
  display: inline-block;
  padding: 4px 8px;
  margin: 4px;
  border-radius: 6px;
  text-decoration: none!important;
  color: #fff;
  width:100%;
  text-align: center;
  line-height: 1.6em;
}
.btn_blue { background: #0073aa; }          /* 領収証ボタン */
.btn_green { background: #28a745; }         /* 参加証ボタン */
.btn_purple { background: #6a5acd; }        /* 受講証ボタン */
.btn_brown { background: #a0522d; }
.btn_orange { background: #ff8c00; }
.btn_red    { background: #d9534f; }
.btn_gray    { background: #a9a9a9; }
.btn_gray2    { background: #999; }

.btn_small:hover,
.btn_small:focus,
.btn_small:active {
    opacity: 0.8;
    color:#fff;
}
.btn_small.btn_gray:hover,
.btn_small.btn_gray:focus,
.btn_small.btn_gray:active {
    opacity: 1 !important;
}

.btn_small.btn_gray2:hover,
.btn_small.btn_gray2:focus,
.btn_small.btn_gray2:active {
    background: #a9a9a9;
    opacity: 0.8;
}

/* submit用ボタン（お知らせの登録するボタン） */
.btn_submit{
    display: block;
    width: fit-content;
    padding: 10px 30px!important;
    font-size: clamp(1rem, 1.3vw, 1.5rem)!important;
    background-color: #000080!important;                                    /* 変更箇所 */
    color: #FFF!important;
    border-radius: 5px!important;
    margin: 10px 0;
}
.btn_submit:hover{
    opacity: .7;
}





/* =======================================================
    アコーディオン
   ======================================================= */
.accordion-item {
  overflow: hidden;
}
.accordion-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5!important;
  border-radius: 50%;
  line-height: 1;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  z-index: 5;
  -webkit-font-smoothing: antialiased;
  color: #333!important;
}
.accordion-toggle:active,
.accordion-toggle:hover{
  background: #b7e9c3!important;                                        /* 変更箇所 */
  color:#333!important;
}
.accordion-item.active .accordion-toggle {
  transform: translateY(-50%) rotate(45deg);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  padding: 0 10px;
}
.accordion-item.active .accordion-content {
  max-height: 100%;
  opacity: 1;
  padding: 0;
}

/* =======================================================
    メッセージ
   ======================================================= */
/* 支払い完了 */
.payment-complete {
    background-color: #dff0d8;
    color: #3c763d;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    font-weight: bold;
}
/* 支払い未完了 */
.payment-pending {
    background-color: #ffd1e8;
    color: red;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    font-weight: bold;
}
.payment-pending a{
    color: red;
}
.payment-pending a:hover{
    color: #ff8820;
}
/* 新規アカウント登録 */
.registration-message {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 16px 0 rgba(17, 17, 26, .05), 0 8px 32px 0 rgba(17, 17, 26, .05);
    border: 0;
    margin-bottom: 30px;
}

/* =======================================================
    お知らせ
   ======================================================= */
.oshirase-box {
    border: 1px solid #ccc;
    padding: 10px;
    max-height: 400px;
    overflow-y: auto;
    background-color: #f9f9f9;
}
.oshirase-box dl {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}
.oshirase-box dt {
    font-weight: bold;
    color: #333;
    margin-bottom: 6px;
}
.oshirase-box dd {
    margin: 0;
    white-space: pre-wrap;
    color: #555;
}
.oshirase-future-list table {
    width: 100%;
    border-collapse: collapse;
}
.oshirase-future-list th,
.oshirase-future-list td {
    border: 1px solid #ccc;
    padding: 8px;
}
.oshirase-future-list th {
    background: #f0f0f0;
}


/* =======================================================
    パスワード編集フォーム
   ======================================================= */
.edit-user-password-form {
    max-width: 500px;
    margin: 0 auto;
}
.edit-user-password-form p {
    margin-bottom: 15px;
}
.edit-user-password-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.edit-user-password-form input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.edit-user-password-form button {
    background-color: #3498db;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}
.edit-user-password-form button:hover {
    background-color: #2980b9;
}
/* エラーメッセージ */
.password-edit-errors {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}
.password-edit-errors p {
    margin: 0;
}
/* パスワード変更後のメッセージ */
.password-changed-message {
    background-color: #dff0d8;
    color: #3c763d;
    padding: 15px;
    border: 1px solid #d6e9c6;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* =======================================================
    参加登録フォーム
   ======================================================= */
#cp_calculatedfieldsf_pform_1,
#main {
    max-width: 1100px;
    margin: 0 auto;
    background-color: transparent;
    padding: 30px;
    border-radius: 8px;
    /* border:1px solid #000; */
}
#cp_calculatedfieldsf_pform_1 h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 24px;
}
#cp_calculatedfieldsf_pform_1 label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #34495e;
}
#cp_calculatedfieldsf_pform_1 input[type="text"],
#cp_calculatedfieldsf_pform_1 input[type="email"],
#cp_calculatedfieldsf_pform_1 input[type="password"] {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}
#cp_calculatedfieldsf_pform_1 input[type="text"]:focus,
#cp_calculatedfieldsf_pform_1 input[type="email"]:focus,
#cp_calculatedfieldsf_pform_1 input[type="password"]:focus {
    border-color: #3498db;
    outline: none;
}
#cp_calculatedfieldsf_pform_1 .r {
    color: #e74c3c;
}
#cp_calculatedfieldsf_pform_1 .captcha img {
    display: block;
    margin: 10px auto 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
#cp_calculatedfieldsf_pform_1 .captcha input[type="text"] {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}
#cp_calculatedfieldsf_pform_1 .captcha input[type="text"]:focus {
    border-color: #3498db;
    outline: none;
}
/* 送信ボタンのスタイル */
#cp_calculatedfieldsf_pform_1 .pbSubmit {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #3498db;                                        /* 変更箇所（必要に応じて） */
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
}
#cp_calculatedfieldsf_pform_1 .pbSubmit:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#cp_calculatedfieldsf_pform_1 .password-edit-errors,
#cp_calculatedfieldsf_pform_1 .cff-error-dlg {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-bottom: 20px;
}
#cp_calculatedfieldsf_pform_1 .password-changed-message {
    background-color: #dff0d8;
    color: #3c763d;
    padding: 15px;
    border: 1px solid #d6e9c6;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* レスポンシブ */
@media (max-width: 768px){
    #cp_calculatedfieldsf_pform_1,
    #main{
        padding: 10px;
    }
    #cp_calculatedfieldsf_pform_1 {
        padding: 20px;
    }
    #cp_calculatedfieldsf_pform_1 h2 {
        font-size: 20px;
    }
    #cp_calculatedfieldsf_pform_1 .pbSubmit {
        padding: 10px 20px;
    }
}


/* =======================================================
    領収証
   ======================================================= */
.receipt {
    border: 1px solid #ccc;
    padding: 30px 60px;
    max-width: 1000px!important;
    min-width: 800px!important;
    margin: 20px auto;
    background: #fff;
}
.receipt h2 {
    text-align: center;
    color: #333;
}
.receipt p {
    font-size: 14px;
    margin: 0;
}
.text_right{
    text-align: right;
}
.receipt_name{
    text-align:center;
    font-weight: bold;
    border-bottom: solid 1px #333;
    margin-top: 20px;
    margin-bottom: 20px;
}
.receipt_total{
    text-align:center;
    font-weight: bold;
    background-color: #d3d3d3;
    padding: 20px;
    margin-bottom: 20px;
}
.receipt_total p{
    font-size: 16px;
}
.receipt_table{
    width:100%;
}
.receipt_table,
.receipt_table th,
.receipt_table td{
    border-style: solid;
    border-width: 1px;
    border-collapse: collapse;
    font-size: 12px;
    margin-bottom: 20px;
}
.receipt_table th,
.receipt_table td{
    text-align: left;
    width:33%;
}
.receipt_table th{
    background-color: #dcdcdc;
}
.receipt_sign {
    width: 70%;
    position: relative;
    margin-top: 100px;
    margin-left:auto;
    margin-right: 0;
    text-align: right;
}
.receipt_sign p {
    position: relative;
    font-size:14px;
    z-index: 1000;
    margin-right: 20px;
}
.inkan {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    max-width: 70px;
    height: auto;
    z-index: 1;
}
/* PDF専用の調整 */
@media print {
    div#page {
        height: auto;
        min-height: 90vh;
        overflow: hidden;
        page-break-inside: avoid;
    }
    body {
        margin: 0;
        padding: 0;
    }
}
/* レスポンシブ */
/* @media (max-width: 768px){
    .receipt {
        padding: 15px;
    }
    .receipt h2 {
        margin: 0;
    }
    .receipt_total{
        padding: 10px;
        margin-bottom: 10px;
    }
    .receipt_table,
    .receipt_table th,
    .receipt_table td{
        margin-bottom: 10px;
    }
    .receipt_sign {
        width: 80%;
        margin-top: 40px;
    }
    .receipt_sign p {
        font-size:12px;
    }
    .inkan {
        top: -30px;
    }
} */


/* =======================================================
    参加証
   ======================================================= */
.certificate_name{
    text-align:left;
    font-weight: bold;
    border-bottom: solid 1px #333;
    margin-top: 20px;
    margin-bottom: 20px;
}
.certificate_sign {
    width: 70%;
    position: relative;
    margin-top: 100px;
    margin-left:auto;
    margin-right: 0;
    text-align: right;
}
.certificate_sign p {
    position: relative;
    font-size:18px;
    z-index: 1000;
    margin-right: 20px;
}
.certificate_inkan {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    max-width: 70px;
    height: auto;
    z-index: 1;
}

/* =======================================================
    ネームカード
   ======================================================= */
.receipt.is_certificate{
    position: relative;
    padding: 0;
    margin: 0;
    width: 1000px;
    min-width: 1000px;
    max-width: 1000px;
    height: 1450px;
    min-height: 1450px;
    max-height: 1450px;
    /* height: 1415px;
    min-height: 1415px;
    max-height: 1415px; */

    page-break-inside: avoid!important;
    overflow: hidden;
}
.receipt.is_certificate{
    page-break-before: avoid;
    page-break-after: avoid;
    page-break-inside: avoid;
}

.receipt .bg{
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.receipt .bg img{
    width:100%;
    height:auto;
    display:block;
}
/* 文字類は背景画像より前面に出す */
.receipt.is_certificate > div{
    position: absolute;
    z-index: 2;
    /* border:1px solid blue; */
}

.receipt.is_certificate p {
    font-size: 16px;
    margin: 0;
}

/* 左上所属 */
.left_top_aff{
    position: absolute;
    top: 73mm;
    left: 30mm;
    width: 90mm;
    height:120px;
    display: flex;
    align-items: flex-end; /* 下寄せ */
    text-align: left;
    box-sizing: border-box;
}
.left_top_aff p{
    margin: 0;
}
/* 左上氏名 */
.left_top_name{
    position: absolute;
    top: 120mm;
    left: 30mm;
    width: 90mm;
    height:40px;
    display: flex;
    align-items: flex-end;
    text-align: left;
    box-sizing: border-box;
}
.receipt .left_top_name p {
    font-size: 26px;
    font-weight: bold;
    margin: 0;
}
/*  参加証明書ID */
.left_bottom_id{
    position: absolute;
    top: 216mm;
    left: 100mm;
    width: 20mm;
    text-align: left;
}
/*  参加証明書所属 */
.left_bottom_aff{
    position: absolute;
    top: 230mm;
    left: 30mm;
    width: 90mm;
    height:100px;
    display: flex;
    align-items: flex-end; /* 下寄せ */
    text-align: left;
    box-sizing: border-box;
}
.left_bottom_aff p{
    margin: 0;
}


/* 参加証明書氏名 */
.left_bottom_name{
    position: absolute;
    top: 268mm;
    left: 30mm;
    width: 90mm;
    height:40px;
    display: flex;
    align-items: flex-end;
    text-align: left;
    box-sizing: border-box;
}
.receipt .left_bottom_name p {
    font-size: 26px;
    font-weight: bold;
    margin: 0;
}



@page{
    size: A4 portrait;
    margin: 0;
}




/* =======================================================
    テーブル　スクロール制御
   ======================================================= */
.table-scroll {
  overflow-x: auto;
  cursor: grab!important;
  user-select: none;
}

.table-scroll.is-dragging {
  cursor: grabbing!important;
}

.table-scroll table {
  min-width: 1200px;
}

/* ==========================
    admin_user_list 管理画面検索フォーム
========================== */
.admin-search-form{
    display:inline-grid;     /* ←重要 */
    grid-template-columns: 1fr auto auto auto;
    gap:12px;
    align-items:center;
    width: min(700px,100%);
    margin:0 0 24px;
}

.admin-search-input{
    min-width:0;
    width:100%;
    padding:10px 14px;
    border:1px solid #ccc;
    border-radius:6px;
}
.admin-search-input:focus{
    border-color:#2271b1;
    outline:none;
    box-shadow:0 0 0 3px rgba(34,113,177,.15);
}

/* スマホ */
@media (max-width: 768px){
    .admin-search-form{
        display: grid;
        grid-template-columns: 1fr auto auto auto;
        gap: 8px;
        width: 100%;
    }

    /* 検索欄を1行目いっぱい */
    .admin-search-input{
        grid-column: 1 / -1;
        width: 100%;
        box-sizing: border-box;
    }
    .admin-per-page{
        min-width: 110px;
    }
    .admin-search-form .btn_small{
        white-space: nowrap;
    }
}

/* ================================
 * ページネーション
 * ================================ */
.admin-pagination{
    margin: 10px 0;
    text-align:right;
}

.admin-pagination .page-numbers{
    display:inline-block;
    padding:4px 10px;
    margin:0 4px;
    border:1px solid #ccc;
    text-decoration:none;
    border-radius:4px;
    font-size: 0.8em;
}

.admin-pagination .page-numbers:hover{
    background:#ff8c00;
    color:#fff;
    border-color:#ff8c00;
}

.admin-pagination .current{
    background:#0073aa;
    color:#fff;
    border-color:#0073aa;
}

/* ================================
 * 合計数
 * ================================ */
.admin-list-summary{
    margin:0 0 12px;
    font-size:0.95rem;
    text-align:right;
}

.admin-list-summary strong{
    font-size:1.2em;
    font-weight: bold;
}

/* =======================================================
    admin_user_detail 2カラム
   ======================================================= */
.admin_user_detail_wrap{
    display:flex;
    gap:40px;
    align-items:flex-start;
}
.admin_user_detail_left{
    flex:1;
    min-width:0;
}
.admin_user_detail_right{
    flex:1;
    min-width:0;
}

/* SP対応 */
@media screen and (max-width:960px){
    .admin_user_detail_wrap{
        flex-direction:column;
    }
    .admin_user_detail_left,
    .admin_user_detail_right{
        width:100%;
    }
}


/* =======================================================
    ネームカード
   ======================================================= */
.receipt.is_certificate.is_pediatric_namecard {
    width: 1000px;
    min-width: 1000px;
    max-width: 1000px;
    height: 1380px;
    min-height: 1380px;
    max-height: 1380px;
    padding: 0;
    /* margin: 20px auto; */
    margin: 0;
    overflow: hidden;
    page-break-inside: avoid !important;
    box-sizing: border-box;
}

.is_pediatric_namecard .certificate_inner.is_col_2 {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
    align-items: flex-start;
    box-sizing: border-box;
}

/* 4面共通 */
.is_pediatric_namecard .certificate_inner.is_col_2 > div {
    flex: 0 0 50%;
    width: 50%;
    height: 50%;
    margin: 0;
    padding: 0;
    position: relative;
    box-sizing: border-box;
}
/* 左上 */
.is_pediatric_namecard .certificate_inner.is_col_2 > div:nth-of-type(1) {
    /* padding: 30px 30px 0 30px; */
    padding: 0 60px 0 0;
    border-right: 1px dashed #999;
    border-bottom: 1px dashed #999;
}
/* 右上 */
.is_pediatric_namecard .certificate_inner.is_col_2 > div:nth-of-type(2) {
    padding: 0;
    border-left: none;
    border-bottom: 1px dashed #999;
    display: flex;
    flex-direction: row;
    /* align-items: stretch; */
}
/* 左下 */
.is_pediatric_namecard .certificate_inner.is_col_2 > div:nth-of-type(3) {
    padding: 0;
    border-right: 1px dashed #999;
    border-bottom: none;
}
/* 右下 */
.is_pediatric_namecard .certificate_inner.is_col_2 > div:nth-of-type(4) {
    padding: 0;
    border: none;
}
.pediatric_namecard_front {
    position: relative;
    overflow: visible;
}
.pediatric_namecard_header {
    margin: 0 !important;
    padding: 0;
    text-align: center;
}
.pediatric_namecard_header img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/* ------------------------
 * 左上
 * ------------------------ */
/* 所属・氏名 */
.pediatric_namecard_affiliation,
.pediatric_namecard_name {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 0 5px;
    box-sizing: border-box;
}
/* ラベル */
.pediatric_namecard_label {
    flex: 0 0 50px;
    margin: 0 !important;
    padding: 5px 0 !important;
    font-size: 16px !important;
    line-height: 1.5;
    text-align: left;
    box-sizing: border-box;
    font-weight: bold;
}
/* 所属・氏名の内容 */
.pediatric_namecard_value {
    flex: 1;
    min-width: 0;
    /* min-height: auto; */
    margin: 0 !important;
    padding: 5px 5px 8px !important;
    border-bottom: 1px solid #505050;
    font-size: 20px !important;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
     /* 長い文字列を折り返す */
    overflow-wrap: anywhere;
    word-break: break-word;
    box-sizing: border-box;
}

.pediatric_namecard_affiliation {
    margin: 40px 0 25px !important;
}
.pediatric_namecard_name {
    margin: 25px 0 !important;
}

/* 氏名 */
.pediatric_namecard_name .pediatric_namecard_value {
    min-height: auto;
    font-size: 28px !important;
    font-weight: bold;
    line-height: 1.5;
}

 .pediatric_namecard_back {
    position: relative;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
    background: #fff;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
}

/* ------------------------
 * 右上
 * ------------------------ */
.pediatric_namecard_back {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
}

/* 左：ランチョン・懇親会 */
.pediatric_ticket_left {
    flex: 0 0 50%;
    width: 50%;
    height: 100%;
    /* padding: 15px 10px; */
    padding: 0 10px 30px 30px;
    border-right: 1px dashed #999;
    display: grid;
    /* grid-template-rows: repeat(3, 1fr); */
    grid-template-rows: repeat(3, 30%);
    align-content: start;
    overflow: hidden;
    box-sizing: border-box;
}
/* 関連セミナー3枠 */
.pediatric_related_list {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-rows: repeat(3, 30%);
    align-content: start;
    box-sizing: border-box;
}


/* 右：関連セミナー */
.pediatric_ticket_right {
    flex: 0 0 50%;
    width: 50%;
    height: 100%;
    /* padding: 15px 10px; */
    padding: 0 10px 30px 10px;
    overflow: hidden;
    box-sizing: border-box;
}

/* 1日目・2日目 */
.pediatric_ticket_left .pediatric_schedule {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0 !important;
    padding: 10px 5px 15px !important;
    box-sizing: border-box;
    overflow: hidden;
}

/* 1日目 */
.pediatric_schedule.is_day1 {
    border-bottom: 1px dashed #999;
}

/* 2日目 */
.pediatric_schedule.is_day2 {
    border-bottom: 1px dashed #999;
}

/* 日付ラベル */
.pediatric_ticket_left .pediatric_day_label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px !important;
    min-width: 90px !important;
    max-width: 90px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    margin: 0 auto 8px !important;
    padding: 0 !important;
    border-radius: 16px;
    background: #7E1B16;
    color: #fff;
    font-size: 16px !important;
    font-weight: bold;
    text-align: center !important;
    line-height: 1.2;
    box-sizing: border-box;
}


/* ランチョンセミナー */
.pediatric_ticket_left .pediatric_seminar_name {
    width: 100%;
    height: auto;
    min-height: 30px;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 18px !important;
    font-weight: bold;
    line-height: 1.3;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center;
}

/* ランチョンセミナー詳細 */
.pediatric_ticket_left .pediatric_seminar_info {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.4;
    text-align: left !important;
    box-sizing: border-box;
}

/* 日時 */
.pediatric_seminar_info .seminar_time {
    font-size: 13px;
    font-weight: bold;
}

/* 会場 */
.pediatric_seminar_info .seminar_venue {
    font-size: 13px;
    font-weight: bold;
}

/* 共催 */
.pediatric_ticket_left .pediatric_seminar_info .seminar_cohost {
    font-size: 13px;
    font-weight: bold;
    line-height: 1.4;
}
/* 有効期限 */
.pediatric_ticket_left .pediatric_seminar_info .seminar_deadline {
    font-size: 10px;
    font-weight: bold;
    line-height: 1.4;
}




/* 懇親会 */
.pediatric_ticket_left .pediatric_party {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0 !important;
    padding: 15px 5px 0;
    border-top: 1px dashed #999;
    box-sizing: border-box;
    overflow: hidden;
}

.pediatric_ticket_left .pediatric_party_name {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 20px !important;
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 20px !important;
}

.pediatric_ticket_left .pediatric_party_info {
    width: 100%;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.4;
    text-align: left !important;
}

/* 日時 */
.pediatric_party_info .party_time {
    font-size: 13px;
    font-weight: bold;
}

/* 会場 */
.pediatric_party_info .party_venue {
    font-size: 13px;
    font-weight: bold;
}

/* 関連セミナー */
.pediatric_related_item {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0 !important;
    padding: 10px 5px;
    border-bottom: 1px dashed #999;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.4;
    text-align: left;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    box-sizing: border-box;
}

.pediatric_related_item:last-child {
    /* border-bottom: 1px dashed #999; */
    border-bottom: none;
}

/* 日付ラベル */
.pediatric_related_day {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    margin: 0 auto 8px !important;
    padding: 0 !important;
    border-radius: 16px;
    background: #4FA263;
    color: #fff;
    font-size: 16px !important;
    font-weight: bold;
    text-align: center !important;
    line-height: 1.2;
    box-sizing: border-box;
}

.pediatric_related_item .related_seminar_name {
    width: 100%;
    height: auto;
    min-height: 40px;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 16px !important;
    font-weight: bold;
    line-height: 1.4;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center;
    margin-bottom: 20px!important;
}



/* 日時・会場 */
.pediatric_related_item .related_seminar_info {
    margin: 5px 0 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    font-weight: bold;
    line-height: 1.4;
}

/* --------------------------------
   所属・氏名の下の画像エリア
   -------------------------------- */
.pediatric_namecard_images {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 1000px !important;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-sizing: border-box;
    z-index: 20;
}

/* page_bg.png */
.pediatric_namecard_page_bg {
    width: 1000px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.pediatric_namecard_page_bg img {
    display: block;
    width: 1000px !important;
    max-width: none !important;
    height: auto;
    margin: 0 !important;
    padding: 0;
}

/* brick.png */
.pediatric_namecard_brick {
    width: 1000px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.pediatric_namecard_brick img {
    display: block;
    width: 1000px !important;
    max-width: none !important;
    height: auto;
    margin: 0 !important;
    padding: 0;
}


/* --------------------------------
   ネームカード折り方
   左：namecard_manual2.png
   右：namecard_manual3.png
   -------------------------------- */
.pediatric_namecard_blank {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    overflow: hidden;
    box-sizing: border-box;
}

.pediatric_namecard_blank img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0;
    padding: 0;
}