/* mypage-legacy.css
 * 旧サイト移植CSS等 でリニューアル後の修正を含まない。
 */

/* --------------------------------------------------------------------------
   旧サイトCSS移植: プロフィール・マイデータのモバイル基本スタイル
   -------------------------------------------------------------------------- */

.profile,
.mydata {
    width: 100%;
    margin-top: 2.6667vw;
    padding: 2.6667vw;
    background-color: #fff;
    border-radius: 2vw;
    box-sizing: border-box;
}

.profile .nickname,
.profile .mail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 13.3333vw;
    box-sizing: border-box;
}

.profile .nickname {
    margin-top: 2.6667vw;
    border-bottom: none;
}
.profile .mail {
    border-top: none;
}

.profile .nickname_left,
.profile .mail_left {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35.9281%;
    height: 100%;
    background-color: #004d8f;
    color: #fff;
    font-size: 3.7333vw;
    border-bottom: solid 0.5333vw #fff;
    box-sizing: border-box;
}

.profile .mail_left {
    border-bottom-color: #004d8f;
}

.profile .nickname_right,
.profile .mail_right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64.0719%;
    height: 100%;
    border: solid 0.5333vw #004d8f;
    border-left: none;
    box-sizing: border-box;
}

.profile .mail_right {
    border-top: none;
}

.profile .nickname_right p,
.profile .mail_right p {
    width: 83%;
    padding: 0 0.7em;
    color: #333;
    font-size: 3.7333vw;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
}

.profile .nickname_right a,
.profile .mail_right a {
    width: 17%;
    margin-top: 1%;
    color: #004d8f;
    font-size: 3.2vw;
    text-decoration: none;
}

.mydata_list li a {
    display: block;
    width: 100%;
    color: #333;
    font-size: 3.7333vw;
    line-height: 2.5;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: dotted 0.2667vw #333;
}

h1.midashi {
    color: #fff;
    background-color: #000;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    padding: 8px 0;
    border-bottom: none;
    display: block;
    justify-content: initial;
}

.favorite-count {
    text-align: center;
    border-bottom: 1px solid #000;
}

.list > ul a {
    display: block;
    width: 100%;
    color: #333;
    text-decoration: none;
    border-bottom: dotted 1px #333;
    position: relative;
    box-sizing: border-box;
}

.list > ul a li {
    display: block;
    width: 100%;
    padding: 5px 10px;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list > ul a li span {
    display: inline-block;
    max-width: 100%;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    color: #f80;
}

.boxArea {
    padding: 0 10px;
}

h2 {
    position: relative;
    color: #fff;
    background: #3f51b5;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    margin: 40px -10px 20px -10px;
    padding: 10px 5px 10px 10px;
}

h2:before {
    content: '▼';
}

h2:after {
    content: ' ';
    position: absolute;
    top: 100%;
    left: 20px;
    height: 0;
    width: 0;
    border: 10px solid transparent;
    border-top: 10px solid #3f51b5;
}

.box {
    position: relative;
    margin-top: 2em;
    padding: 0.5em;
    border: solid 3px #62c1ce;
}

.box .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    vertical-align: middle;
    font-size: 17px;
    background: #62c1ce;
    color: #fff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}

.box p {
    margin: 5px 0;
    padding: 0;
    font-weight: bold;
}

.boxArea img {
    max-width: 100%;
    height: auto;
}

@media (min-width: 835px) {
    .list > ul a li {
        font-size: 14px;
    }
    h2 {
        font-size: 16px;
        margin: 30px 0 15px;
        padding: 8px 10px;
    }
    h2:after {
        border-width: 8px;
    }
    .box .box-title {
        font-size: 15px;
    }
}

/* --------------------------------------------------------------------------
   10. 旧サイトCSS移植: ニックネーム編集フォーム（sp.css + check.css より抽出）
   -------------------------------------------------------------------------- */

#form {
    width: 98%;
    background-image: linear-gradient(to top, rgb(31, 169, 215) 0%, rgb(136, 222, 250) 85%);
    border-bottom: 1px solid #939393;
    border-top: 1px solid #c9c9c9;
    display: block;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 3px #000;
    overflow: hidden;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6;
}

#form p {
    margin: 5px 0;
}

#form a {
    color: #fff;
    font-size: 18px;
}

#form input[type='text'] {
    border: 1px solid #666;
    border-radius: 4px;
    background: linear-gradient(to bottom, #fff, #efefef);
    box-shadow: #666 1px 1px 1px inset;
    height: 2em;
    color: #000;
    text-shadow: none;
}

#form .word {
    height: 30px;
    border: 1px solid #666;
    margin-bottom: 10px;
    border-radius: 4px;
    background: linear-gradient(to bottom, #fff, #efefef);
    box-shadow: #666 1px 1px 1px inset;
}

input.login,
button.login,
a.button.login {
    background-color: #111;
    color: #fff;
    cursor: pointer;
    border: 0;
    font-weight: bold;
    font-size: 24px;
    line-height: 1;
    padding: 5px 10px 6px;
    text-shadow:
        0 -1px 1px rgba(0, 0, 0, 0.25),
        -2px 0 1px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    display: inline-block;
    vertical-align: middle;
}

.login::selection {
    background: transparent;
}

input.login:hover,
button.login:hover,
a.button.login:hover {
    opacity: 0.8;
    color: #fff;
}

input.login:active,
button.login:active,
a.button.login:active {
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.7);
    border-bottom: 0;
    border-top: 1px solid #666;
}

@media (min-width: 835px) {
    #form {
        padding: 15px;
        font-size: 14px;
    }
    input.login,
    button.login,
    a.button.login {
        font-size: 18px;
    }
}
