@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ヘッダーロゴサイズ調整（正方形ロゴ用） */
.l-header__logo img {
  height: 48px !important;   /* ← 好みで 40〜60px に調整 */
  width: auto !important;
}

/* =====================================
   Simple Membership ユーザー名制御
   ===================================== */

/* ========= 登録フォーム ========= */
/* ユーザー名行を完全に非表示（DOMは残す） */
#swpm-registration-form .swpm-username-row,
#swpm-registration-form label[for="user_name"],
#swpm-registration-form input[name="user_name"],
#swpm-registration-form input[name="swpm_user_name"] {
  display: none !important;
}


/* ========= プロフィールフォーム ========= */
/* ユーザー名行を非表示 */
#swpm-profile-form .swpm-username-row {
  display: none !important;
}


/* ========= ログインフォーム ========= */
/* ログインでは必ず表示（メールログイン用） */
#swpm-login-form .swpm-username-label,
#swpm-login-form .swpm-username-input {
  display: block !important;
}


/* ========= 念のための保険 ========= */
/* ログインwidgetが別DOMでも必ず表示 */
.swpm-login-widget-form .swpm-username-label,
.swpm-login-widget-form .swpm-username-input {
  display: block !important;
}

