/*
Theme Name: 岩手医科大学保護者会
Text Domain: lightning
Theme URI: https://lightning.vektor-inc.co.jp/en/
Description: Lightning is a very simple & easy to customize theme which is based on the Bootstrap. It is also very friendly with custom post types and custom taxonomies. When you add a new one, the breadcrumbs will be adjusted and posts will look beautifully without editing or adding a template files.
Author: Vektor,Inc.
Author URI: https://www.vektor-inc.co.jp
Version: 15.30.4
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Lightning WordPress theme, Copyright (C) 2015-2025 Vektor,Inc.
Lightning WordPress theme is licensed under the GPL.

Lightning WordPress Theme bundles the following third-party resources:

Font Awesome icon font, Copyright 2012 Fonticons, Inc.
its fonts are licensed under the terms of the SIL OFL License 1.1, and its code is licensed under the terms of the MIT license
Source: https://fontawesome.com/

Bootstrap framework, Copyright 2011 Bootstrap Authors and Twitter, Inc.
Bootstrap is licensed under the terms of the MIT license
Source: https://getbootstrap.com/

CSS Simple Tree Shaking
CSS Simple Tree Shaking is licensed under the terms of the GNU General Public License v2 license
Source: https://celtislab.net/
Template: lightning
*/

.um-field-required label:after {
    content: ' *';
    color: red;
    margin-left: 2px;
}

.um-field[data-key="gakunen"]
{
    width: 8rem;
}

.um-field[data-key="class"],
.um-field[data-key="gakusekiId"]
{
    width: 10rem;
}

.um-field[data-key="telno"]
{
    width: 15rem;
}

/* 横並びにしたい2フィールドを対象 */
.um-field[data-key="hogosya_sei"],
.um-field[data-key="hogosya_mei"] {
    display: inline-block;
    width: 50%;
    box-sizing: border-box;
    padding: 10px 10px 0 0;
    vertical-align: top; /* 高さ崩れ対策 */
}

/* この2つを含む .um-row だけflex化（必要な場合） */
.um-field[data-key="hogosya_sei"],
.um-field[data-key="hogosya_mei"] {
    margin-bottom: 15px; /* 各フィールド間の余白 */
}

/* 横並びにしたい2フィールドを対象 */
.um-field[data-key="gakusei_sei"],
.um-field[data-key="gakusei_mei"] {
    display: inline-block;
    width: 50%;
    box-sizing: border-box;
    padding: 10px 10px 0 0;
    vertical-align: top; /* 高さ崩れ対策 */
}

/* この2つを含む .um-row だけflex化（必要な場合） */
.um-field[data-key="gakusei_sei"],
.um-field[data-key="gakusei_mei"] {
    margin-bottom: 15px; /* 各フィールド間の余白 */
}

/* 横並びにしたい2フィールドを対象 */
.um-field[data-key="birthday_month"],
.um-field[data-key="birthday_day"] {
    display: inline-block;
    width: 8rem;
    box-sizing: border-box;
    padding: 10px 10px 0 0;
    vertical-align: top; /* 高さ崩れ対策 */
}

/* この2つを含む .um-row だけflex化（必要な場合） */
.um-field[data-key="birthday_month"],
.um-field[data-key="birthday_day"] {
    margin-bottom: 15px; /* 各フィールド間の余白 */
}

/* スマホ対応：幅はそのままにするか調整 */
@media screen and (max-width: 768px) {
    .um-field[data-key="birthday_month"],
    .um-field[data-key="birthday_day"] {
        width: 8rem;
        padding: 5px 3px;
    }
}

/* Ultimate Member - 新規登録ボタンの色を変更 */
.um-button.um-alt {
    background-color: #ff6600 !important; /* ボタンの背景色 */
    color: #ffffff!important;            /* テキストの色 */
    border: none !important;             /* 必要に応じて境界線の調整 */
}

/* より具体的にセレクタを指定 */
.um-right .um-button.um-alt:hover {
    background-color: #ffbb00 !important;
}
.step {
  display: none;
}

.step.active {
  display: block;
}