@charset "UTF-8";

/* ==========================================================
   TNSB MEMBER STYLES
   (Login, MyPage, Forms, Registration, Plan Change)
   ========================================================== */

/* ----------------------------------------------------------
   TNSB / ログインフォーム、他
   ---------------------------------------------------------- */
.tnsb--form--wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.tnsb--form--wrap .left--area {
    width: 50%;
}
.tnsb--form--wrap .left--area .logo--area {
    width: 50%;
    margin: 34vh auto 0;
}
.tnsb--form--wrap .left--area .logo--area img {
    width: 270px;
    margin: 0 auto;
}
.tnsb--form--wrap .left--area .logo--area .logo--area--h1 {
    text-align: center;
    font-size: 1.2em;
    font-weight: 600;
    padding: .6em 0;
}
.tnsb--form--wrap .right--area {
    width: 50%;
    background: #fff;
    box-shadow: 0 0 40px -28px rgba(0, 0, 0, 0.4);
    min-height: 100vh;
    display: flex;
}
.tnsb--form--wrap .right--area .tnsb--form {
    width: 360px;
    margin: auto;
    justify-content: center;
    padding: 40px 0;
}
.swpm-pw-reset-strong-pass-message {
    display: none;
}
.swpm_reenter_new_passwordformError,
.swpm_new_passwordformError,
.user_nameformError,
.passwordformError,
.emailformError {
    position: initial !important;
    top: initial !important;
    left: initial !important;
    right: initial !important;
    margin-top: initial !important;
}
.formError .formErrorContent {
    width: 92% !important;
    min-width: inherit !important;
    border: 0 !important;
    box-shadow: none !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -o-box-shadow: none !important;
    padding: 4% !important;
}
.formError .formErrorArrow div {
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -o-box-shadow: none !important;
}

/* ----------------------------------------------------------
   ＜共通＞ フォームエリア
   ---------------------------------------------------------- */
/* フォームタイトル */
.tnsb--form--wrap .right--area .tnsb--form .tit {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 40px;
}
/* 入力エリア */
.tnsb--form input[type="text"],
.tnsb--form input[type="password"] {
    width: 340px;
    outline: none;
    background: #f7f7f7;
    border: none;
    line-height: 1;
    font-size: 1.2em;
    padding: .5em 10px;
    border-radius: 3px;
}
/* サブミットボタン */
.tnsb--form input[type="submit"] {
    background: #000;
    color: #fff;
    width: 100%;
    margin: 3em 0 0;
    display: block;
    padding: 1em;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 3px;
    position: relative;
    border: none;
    -webkit-appearance: none;
}
/* パスワードをお忘れですか？ / 会員について */
.tnsb--form--wrap .right--area .tnsb--form a {
    font-size: .9em;
    color: #999;
    text-decoration: underline;
}
.tnsb--form--wrap .right--area .tnsb--form a:hover {
    text-decoration: none;
}
/* ボタン下ボタン（アカウントをお持ちの〜 / 新規アカウント登録） */
.tnsb--form .btn-more a {
    display: block;
    background: #fff;
    color: #000;
    width: 100%;
    margin: 1em 0 0;
    display: block;
    padding: 1em 0;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 3px;
    text-align: center;
    text-decoration: none;
    transition: ease-in-out .2s;
}
.tnsb--form .btn-more a:hover {
    background: #e7e7e7;
}
.tnsb--form .btn-more.blk a {
    background: #000;
    color: #fff !important;
}
.tnsb--form .btn-more.blk a {
    color: #fff !important;
    text-decoration: none;
}
.tnsb--form .btn-more.blk:hover {
    background: #ccc;
    color: #fff;
}
/* 入力項目が違う際のエラー表示の装飾 */
.swpm_error {
    color: #777;
    padding: 1em;
    text-align: center;
}
.swpm_error ul li {
    color: red;
}
@media(max-width:780px) {
    .tnsb--form .btn-more a {
        border-radius: 100px;
    }
    .tnsb--form .btn-more.blk:hover {
        background: none;
    }
}

/* ----------------------------------------------------------
   ＜ログインしてください＞ membership-login
   ---------------------------------------------------------- */
/* Show password / ログイン情報を保存 */
.swpm-rember-label, .swpm-password-toggle-label {
    font-size: 0;
    color: #6b6b6b;
}
.swpm-password-toggle-label:before {
    font-size: 11px;
    content: 'パスワードを表示する';
}
.swpm-rember-label:before {
    font-size: 11px;
    content: 'ログイン情報を保存する';
}
/* エラー表示の置き換え */
.swpm-login-error-msg {
    font-size: 0;
}
.swpm-login-error-msg:before {
    font-size: 14px;
    content: '入力内容が正しくありません';
}

/*----------------------------------------------------------
   ＜会員情報の変更＞ membership-join/membership-registration
   ---------------------------------------------------------- */
/* 項目の高さ調整 */
.tnsb--form--wrap .right--area .tnsb--form td {
    display: block;
}
.tnsb--form--wrap .right--area .tnsb--form td:nth-child(even) {
    margin-bottom: .7em;
}
.swpm-registration-firstname-row,
.swpm-registration-lastname-row,
.swpm-registration-membership-level-row {
    display: none;
}
.swpm_success {
    color: green;
}

/* ----------------------------------------------------------
   ＜パスワードの変更＞ membership-login/password-reset/
   ---------------------------------------------------------- */
.tnsb--form--wrap .right--area .tnsb--form .cs {
    font-size: 0.9em;
    margin: 0 0 3em;
}
.tnsb--form--wrap .right--area .tnsb--form .cs a {
    font-size: 1em !important;
    color: #000;
    padding: 0 0.2em;
}
/* メールアドレスを入力した後のテキスト */
.swpm-reset-pw-success {
    font-size: 0;
}
.swpm-reset-pw-success:before {
    font-size: 14px;
    content: 'リセットリンクを以下メールアドレス宛に送信しました。';
}
.swpm-reset-pw-success-email {
    padding: 1em;
    border: 1px solid #d9d9d9;
    margin: 1em 0;
    border-radius: 6px;
}
.swpm-reset-pw-success-box {
    margin: 0 !important;
    padding: 0 !important;
    background-color: initial !important;
    border-color: initial !important;
    color: initial !important;
    border-radius: 0 !important;
    border-style: none !important;
    border-width: 0 !important;
}
/* リセット完了の際に出るメッセージ */
.swpm-reset-password-success-msg {
    font-size: 0;
}
.swpm-reset-password-success-msg:before {
    font-size: 14px;
    content: 'パスワードがリセットされました。ログイン画面より再度ログインいただき、コンテンツをお楽しみください。';
}

@media(max-width:1111px) {
    .tnsb--form--wrap .left--area .logo--area .logo--area--h1 {
        font-size: 1.4vw;
    }
    .tnsb--form--wrap .left--area .logo--area img {
        width: 100%;
    }
}
@media(max-width:788px) {
    .tnsb--form--wrap .left--area {
        width: 100%;
    }
    .tnsb--form--wrap .right--area {
        width: 100%;
        box-shadow: none;
        min-height: initial;
        margin: 0;
    }
    .tnsb--form--wrap .left--area .logo--area {
        width: 100%;
        margin: 10vw auto 0vw;
    }
    .tnsb--form--wrap .left--area .logo--area img {
        width: 230px;
        margin: 0 auto;
    }
    .tnsb--form--wrap .right--area .tnsb--form {
        width: 90%;
    }
    .tnsb--form--wrap .right--area .tnsb--form .tit {
        margin-bottom: 20px;
    }
    .tnsb--form input[type="text"],
    .tnsb--form input[type="password"] {
        width: 94%;
        padding: 3%;
    }
    .tnsb--form--wrap .left--area .logo--area .logo--area--h1 {
        font-size: 14px;
    }
    .tnsb--form input[type="submit"] {
        margin: 2em 0 0;
        display: block;
        padding: 1.3em;
        font-size: 1.2em;
        border-radius: 100px;
    }
}
@media(max-width:555px) {
    .tnsb--form input[type="text"],
    .tnsb--form input[type="password"] {
        font-size: 16px;
    }
    .tnsb--form--wrap .left--area .logo--area {
        margin: 20vw auto 0vw;
    }
    .tnsb--form--wrap .left--area .logo--area img {
        width: 180px;
    }
    .tnsb--form--wrap .left--area .logo--area .logo--area--h1 {
        font-size: 11px;
    }
}

ul.membership--list--wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
ul.membership--list--wrap li {
    width: 31.3%;
    margin: 0 1% 2% 1%;
}
ul.membership--list--wrap li img {
    transition: ease-in-out .2s;
}
ul.membership--list--wrap li img:hover {
    transform: scale(0.97);
}

/* ----------------------------------------------------------
   ログイン時にログイン画面を開いた際の装飾
   ---------------------------------------------------------- */
.swpm-logged-expiry,
.swpm-logged-status {
    display: none;
}
.swpm-logged-username-label {
    display: inline-block;
}
.swpm-logged-username-value {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 3em;
}

/* ----------------------------------------------------------
   会員情報の変更 / tnsb-edit.php
   ---------------------------------------------------------- */
.tnsb--edit--area {
    position: relative;
    min-height: 60em;
}
.tnsb--edit--area .swpm_success {
    position: absolute;
    top: -1em;
    left: 0em;
    padding: .1em .3em;
    background: #d6fe00;
}
.tnsb--edit--area .swpm_success .swpm-profile-update-success {
    color: #000 !important;
}
.tnsb-avatar-img-container img {
    display: none;
}

.swpm-profile-username-row,            /* ユーザー名 */
.swpm-profile-email-row,               /* PASS 1 */
.swpm-profile-password-row,            /* PASS 2 */
.swpm-profile-password-retype-row,     /* パスワード２ */
.swpm-profile-country-row,             /* 国 */
.swpm-profile-company-row,             /* 会社名(ラジオネーム) */
.swpm-profile-membership-level-row     /* 会員レベル */
{
    display: none;
}

.swpm-profile-firstname-row,           /* 名 */
.swpm-profile-zipcode-row,             /* 郵便番号 */
.swpm-profile-state-row,               /* 都道府県 */
.swpm-profile-city-row,                /* 市区町村 */
.swpm-profile-street-row,              /* 番地（以降の住所） */
.swpm-profile-phone-row,               /* 電話番号 */
.swpm-profile-lastname-row,            /* 姓（氏名） */
.swpm-edit-profile-submit-section      /* ボタン */
{
    width: 100%;
    display: block;
    position: absolute;
}
.swpm-profile-firstname-row   {top: 2em;}
.swpm-profile-zipcode-row   {top: 9em;}
.swpm-profile-state-row     {top: 16em;}
.swpm-profile-city-row      {top: 23em;}
.swpm-profile-street-row    {top: 30em;}
.swpm-profile-lastname-row {top: 37em;}
.swpm-profile-phone-row     {top: 44em;}

.swpm-edit-profile-submit-section {top: 51em;}

.tnsb--edit--area td {
    display: block;
}
.tnsb--edit--area input[type="text"] {
/*     width: 340px; */
    outline: none;
    background: #f7f7f7;
    border: none;
    line-height: 1;
    font-size: 1.2em;
    padding: 1em 1.5%;
    border-radius: 3px;
}

.tnsb--edit--area input[type="submit"] {
    background: #000;
    color: #fff;
    width: 100%;
    margin: 1.5em 0 0;
    display: block;
    padding: 0.7em 1em;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 3px;
    position: relative;
    border: none;
    -webkit-appearance: none;
    width: 120px;
    position: absolute;
    left: 0;
}


/* ----------------------------------------------------------
   TNSB / マイページ
   ---------------------------------------------------------- */
.mypage--card {
    width: 350px;
    height: 200px;
    color: #fff;
    position: relative;
    border-radius: 10px;
    transition: ease-in-out .2s;
    background: -webkit-linear-gradient(122deg, rgba(180, 183, 192, 1), rgba(216, 219, 221, 1));
    background: -moz-linear-gradient(122deg, rgba(180, 183, 192, 1), rgba(216, 219, 221, 1));
    background: linear-gradient(122deg, rgba(180, 183, 192, 1), rgba(216, 219, 221, 1));
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}
.mypage--card:hover {
    transform: scale(1.01);
}
/*光沢エフェクト*/
.btnshine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
    transform: skewX(-25deg);
}
.btnshine:hover::before {animation: shine 0.5s;}
@keyframes shine {100% {left: 125%;}}

.mypage--card .id--logo {
    position: absolute;
    right: 20px;
    bottom: 20px;
}
.mypage--card .id--id {
    font-size: 0.7em;
    position: absolute;
    right: 16px;
    top: 12px;
    color: rgba(0, 0, 0, 0.4);
    line-height: 1;
}
.mypage--card .id--id:after {
    content: '▶︎';
    font-size: .8em;
    margin-left: 0.7em;
}
.mypage--card .id--no {
    position: absolute;
    left: 30px;
    top: 20px;
    font-size: .9em;
    font-weight: 600;
}
.mypage--card .id--radioname {
    position: absolute;
    left: 30px;
    top: 40px;
    font-size: 1.2em;
    font-weight: 600;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
    display: inline-block;
    width: 18em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mypage--card .id--name {
    position: absolute;
    left: 30px;
    top: 40px;
    font-size: 1.2em;
    font-weight: 600;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
}
.mypage--card .id--name.add {
    left: 31px;
    top: 66px;
    font-size: 0.8em;
    text-shadow: none;
}
.mypage--card .id--plan {
    font-size: 0.8em;
    font-weight: 600;
    color: #999;
    position: absolute;
    bottom: 61px;
    left: 30px;
    line-height: 1.9;
}
.mypage--card .id--plan span {
    display: block;
    background: #eaff62;
    color: #999;
    border-radius: 10px;
    line-height: 1;
    padding: 0.3em 1em;
}
.mypage--card .id--date {
    font-size: 0.8em;
    font-weight: 600;
    color: #999;
    position: absolute;
    bottom: 20px;
    left: 30px;
    line-height: 1.4;
}
.mypage--card .id--date span {
    display: block;
    color: #fff;
    font-size: 1.2em;
    font-weight: 600;
}
.logout_text_btn a {
    font-size: .9em;
    color: #858585;
    margin: 3em 0 0 1em;
    display: inline-block;
}
.mypage--card.gold .id--plan {
    color: #bbb86a;
}

@media(max-width:444px) {
    .mypage--card:hover {
        transform: scale(1);
    }
    .btnshine {
        position: relative;
        overflow: hidden;
    }
    .btnshine::before {
        content: '';
        position: absolute;
        top: 0;
        left: -75%;
        width: 50%;
        height: 100%;
        background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
        transform: skewX(-25deg);
        transition: left 0.5s;
    }
    .btnshine.tapped::before {
        left: 125%;
    }
    .mypage--card {
        width: 90vw;
        height: 57vw;
        border-radius: 3vw;
        margin: 0 auto;
    }
    .mypage--card .id--radioname {
        top: 37px;
        font-size: 1.7em;
        width: 78vw;
        font-weight: bold;
    }
    .mypage--card .id--name.add {
        left: 31px;
        top: 74px;
        font-size: 1em;
        text-shadow: none;
    }
    .mypage--card .id--name {
        top: 37px;
        font-size: 1.7em;
    }
}

/* TNSB. MYPAGE > CARD （BASIC, GOLD） */
/* TNSB. IN（月額） */
.mypage--card.basic {
    background: -webkit-linear-gradient(122deg, rgba(0, 0, 0, 1), rgba(111, 114, 126, 1));
    background: -moz-linear-gradient(122deg, rgba(0, 0, 0, 1), rgba(111, 114, 126, 1));
    background: linear-gradient(122deg, rgba(0, 0, 0, 1), rgba(111, 114, 126, 1));
}
.mypage--card.basic .id--plan span {color:#131212;}
.mypage--card.basic .id--id {color: rgba(255, 255, 255, 0.6);}

/* TNSB. IN（年額） */
.mypage--card.gold {
    background: -webkit-linear-gradient(98deg, rgba(214, 210, 157, 1), rgba(187, 183, 105, 1) 91.6%);
    background: -moz-linear-gradient(98deg, rgba(214, 210, 157, 1), rgba(187, 183, 105, 1) 91.6%);
    background: linear-gradient(98deg, rgba(214, 210, 157, 1), rgba(187, 183, 105, 1) 91.6%);
}
.mypage--card.gold .id--id {color: rgba(0, 0, 0, 0.35);}
.mypage--card.gold .id--plan,
.mypage--card.gold .id--date {color: rgba(0, 0, 0, 0.25);}


/* ----------------------------------------------------------
   TNSB. MYPAGE > MENU
   ---------------------------------------------------------- */
.mypage--link--list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}
.mypage--link--list li {
    width: 48%;
    margin: 2% 0;
    box-sizing: border-box;
    position: relative;
    line-height: 2.7;
}
.mypage--link--list li:nth-child(add) {margin-right: 1%;}
.mypage--link--list li:nth-child(even) {margin-left: 1%;}
.mypage--link--list li.list2 {
    line-height: 1;
}
.mypage--link--list a {
    display: block;
    width: 84%;
    padding: 1.5% 3%;
    border-bottom: 1px solid rgba(1, 0, 0, 0.10);
    text-decoration: none;
    color: #333;
    position: relative;
    padding-left: 10%;
}
.mypage--link--list li.list2 a span {
    display: block;
    font-size: 0.8em;
    color: #999;
    margin: 0.6em 0 0;
}
/* アイコンのスタイル */
.menu-icon {
    position: absolute;
    left: 1em;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    margin: 0 !important;
    color: #666;
}
/* アイコン画像のスタイル */
.menu-icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}
/* list2の場合のアイコン位置調整 */
.mypage--link--list li.list2 .menu-icon {
    top: 1em;
    transform: translateY(0);
}
.mypage--link--list li:after {
    content: '→';
    position: absolute;
    right: 2em;
    bottom: 0.5em;
    opacity: 0;
    transition: ease-in-out .1s;
}
.mypage--link--list li.list2:after {
    bottom: 1.2em;
}
.mypage--link--list li:hover:after {
    right: 1em;
    opacity: 1;
}

@media(max-width:780px) {
    .mypage--link--list li {
        width: 100%;
        margin: 3% 0;
        line-height: 2.7;
    }
    .mypage--link--list li:nth-child(even) {
        margin-left: 0;
    }
    .mypage--link--list a {
        width: 100%;
        padding: 1.5% 2%;
        padding-left: 10%;
        box-sizing: border-box;
    }
    .menu-icon {
        left: 2%;
    }
    .mypage--link--list li:after {
        content: '〉';
        position: absolute;
        right: 1em;
        bottom: 0.5em;
        opacity: 1;
        transition: ease-in-out .1s;
    }
}


/* ----------------------------------------------------------
   TNSB. MYPAGE > プランの変更
   ---------------------------------------------------------- */
.tnsb ul.plan.only {
    margin: 1em 0 0;
}
.tnsb ul.plan.only li {
    border-bottom: 0;
}
.tnsb ul.plan.only.off {
    color: #ccc;
    background: #fafafa;
    border: 0;
}
.tnsb ul.plan.only.on:hover {
    background: #fafafa;
    border: 1px solid #5e5e5e;
}
.plan_cs {
    margin: 2em 0;
}
.plan_cs2 {
    margin: 2em 0;
    color: #707070;
}

/* TNSB. MYPAGE > プランの変更 > 購入画面 or キャンセル画面 */
.stripe-button-el {
    background-image: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.stripe-button-el span {
    background: #000000 !important;
    padding: 0.3em 2em !important;
    font-size: 0.94rem !important;
}
.stripe-button-el span:hover {
    background: #5c5c5c !important;
}
.stripe--btn--area {
    margin: 2em 0;
}
.gold-early.stripe--btn--area a {
    background-color: #000;
    color: #fff;
    width: 120px;
    padding: 0.7em 1em !important;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    outline: none;
    border-radius: 6px;
    appearance: none;
}


/* ----------------------------------------------------------
   TNSB. MYPAGE > メールアドレスの変更
   ---------------------------------------------------------- */
.tnsb--form.mail_change .swpm-profile-username-row,
.tnsb--form.mail_change .swpm-profile-email-row,
.tnsb--form.mail_change .swpm-profile-password-row,
.tnsb--form.mail_change .swpm-profile-password-retype-row,
.tnsb--form.mail_change .swpm-profile-firstname-row,
.tnsb--form.mail_change .swpm-profile-lastname-row,
.tnsb--form.mail_change .swpm-profile-phone-row,
.tnsb--form.mail_change .swpm-profile-street-row,
.tnsb--form.mail_change .swpm-profile-city-row,
.tnsb--form.mail_change .swpm-profile-state-row,
.tnsb--form.mail_change .swpm-profile-zipcode-row,
.tnsb--form.mail_change .swpm-profile-country-row,
.tnsb--form.mail_change .swpm-profile-company-row,
.tnsb--form.mail_change .swpm-profile-membership-level-row {
    display: none;
}
.tnsb--form.mail_change .swpm-profile-email-row {
    display: block;
}
.tnsb--form.mail_change tr label {
    display: none;
}
.tnsb--form.mail_change table,
.tnsb--form.mail_change tbody,
.tnsb--form.mail_change tr,
.tnsb--form.mail_change td {
    width: 100%;
    display: block;
    position: relative;
}
.tnsb--form.mail_change tr input[type="text"]#email {
    max-width: 100%;
    min-width: 0;
    width: 96%;
    padding: 2% 2%;
}
.tnsb--form.mail_change .swpm-edit-profile-submit-section {
    position: relative;
}
.tnsb--form.mail_change input[type="submit"] {
    width: 120px;
    margin: 1.5em 0 0;
    padding: 0.7em 1em;
    font-size: 1.1em;
    position: absolute;
    right: 0;
    top: -710px;
}
.cs_cancel {
    font-size: .9em;
    color: #7e7e7e;
    padding: 1em 0;
    display: inline-block;
    margin: 1em 0 0;
}

.cancel_link button {
    background-color: #000;
    color: #fff;
    width: 120px;
    padding: 0.7em 1em !important;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    outline: none;
    border-radius: 6px;
    appearance: none;
}
.cancel_link {
    background-color: #d4d4d4;
    color: #fff;
    width: 120px;
    border-radius: 6px;
    text-align: center;
    line-height: 2.6;
}
@media(max-width:780px) {
    .tnsb--form.mail_change input[type="submit"] {
        margin: 1.5em 0 0;
        font-size: 1.1em;
        position: absolute;
        right: inherit;
        left: 0;
        top: -660px;
        border-radius: 6px;
    }
    .tnsb--form.mail_change tr input[type="text"]#email {
        width: 92%;
        padding: 4%;
    }
}


/* ----------------------------------------------------------
   TNSB / 追加CSS（アバター）
   ---------------------------------------------------------- */
/* 全体のコンテナ */
.tnsb-avatar-form {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
}

/* アバター画像部分 */
.tnsb-avatar-img {
    width: 100px;
    height: 100px;
    border: 1px solid #ccc;
    border-radius: 100px;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    flex-shrink: 0;
}

/* フォーム部分 */
.tnsb-avatar-form form {
    flex: 1;
    margin: 0;
}
.tnsb-avatar-form form p {
    margin-bottom: 15px;
}
.tnsb-avatar-form form label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}
/* 固有のファイル入力スタイル */
.tnsb-avatar-form form input[type="file"]#avatar {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 20px;
    font-size: 14px;
    box-sizing: border-box;
}
/* 送信ボタンのスタイル */
.tnsb-avatar-form form input[type="submit"] {
    background: #5c5c5c;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.tnsb-avatar-form form input[type="submit"]:hover {
    background: #000;
}

/* ★復元箇所: マイページのアバターエリア */
.mypage-avatar-area {
    height: 100px;
    width: 100px;
    border-radius: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.mypage-avatar-area:hover {
    opacity: .6;
}

@media(max-width:444px) {
    .mypage-avatar-area {
        height: 28vw;
        width: 28vw;
    }
}

/* ==========================================================
   マイページ：アカウント情報表示エリア (Move from base.css)
   ========================================================== */
dl.mypage--info {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #ccc;
}
dl.mypage--info dt {
    margin-top: 1em;
    color: #939393;
}
dl.mypage--info dt:first-child {
    margin-top: 0;
}
.mypage--info a {
    text-decoration: underline;
    margin: 0 0.15em;
}
.mypage--info a:hover {
    text-decoration: none;
}