/* フォーマット */
body {
    height: 100vh;
    color: var(--black_2);
    background: var(--red_7);
}
body::before {
    content: none;
}
a {
    text-decoration: none;
}
input,
select,
textarea,
button {
    width: 100%;
    border: none;
    border-radius: 3px;
    margin: 0;
    padding: 5px 10px;
    font-size: 16px;
}
::placeholder {
    color: var(--place_1);
}

/* ラッパー */
.main {
    padding: 10px;
}
.header-contact figure {
    width: 42px;
    height: 40px;
    margin-left: 2px;
}
.footer {
    background: initial;
}

/* ステータス */
.status {
    padding: 5px 10px;
}
.status span {
    line-height: 1.8;
    border-left: 4px solid var(--white_0);
    box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
    padding: 1px 12px;
    color: var(--black_0);
    display: block;
}
.update span {
    border-left-color: var(--update_1);
    background: var(--update_2);
}
.error span {
    border-left-color: var(--error_1);
    background: var(--error_2);
}

/* ナビゲーション */
.mypage-nav-menu {
    width: 100%;
}
.highlight-nav-menu {
    padding: 10px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.mypage-nav-menu li,
.content-nav-menu li,
.highlight-nav-menu li {
    color: var(--black_1);
    background: var(--white_0);
    font-weight: 600;
    display: flex;
    align-items: center;
    position: relative;
}
.mypage-nav-menu li {
    margin-bottom: 5px;
    border-radius: 3px;
    text-align: center;
}
.content-nav-menu li {
    border-bottom: 1px solid #ccc;
}
.content-nav-menu:not(.portal) li:first-of-type {
    display: none;
}
.highlight-nav-menu li {
    display: none;
}
.highlight-nav-menu li:nth-of-type(2),
.highlight-nav-menu li:nth-of-type(3) {
    display: inherit;
    background: var(--red_7);
    border-radius: 5px;
    box-shadow: 2px 2px 4px #0003;
}
.user-item-list li {
    padding: 5px 20px;
    border: none;
    color: inherit;
    background: inherit;
    font-size: inherit;
}
.content-nav-menu li::before,
.highlight-nav-menu li::before {
    display: block;
    text-align: center;
    position: absolute;
}
.mypage-nav-menu li::before {
    content: none;
}
.content-nav-menu li::before {
    width: 1rem;
    font-size: 1rem;
    left: 20px;
}
.highlight-nav-menu li::before {
    width: 20px;
    font-size: 1.1rem;
    left: 10%;
}
.mypage-nav-menu li a {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    display: block;
}
.content-nav-menu li a {
    width: 100%;
    padding: 12px 20px 12px 3rem;
    font-size: 1rem;
    text-align: left;
}
.highlight-nav-menu li a {
    padding: 1rem 10% 1rem calc(10% + 20px);
    font-size: 1.1rem;
    text-align: center;
}
.user-item-list li .rank {
    color: var(--red_1);
}

/* ブロック */
.mypage-content,
.editor-content {
    border: 2px solid var(--red_3);
    border-radius: 10px;
    background: var(--white_3);
    overflow: hidden;
    max-width: 960px;
    margin: 20px auto;
}
.mypage-content.single {
    background: var(--white_0);
}

/* マイページ - タイトル */
.area-title {
    padding: 5px;
    color: var(--white_0);
    background: var(--gradation_color_8);
    font-size: 18px;
    text-align: center;
}

/* ディスクリプション */
.area-descript {
    padding: 5px;
    text-align: center;
    letter-spacing: -1px;
}

/* フォーム共通 */
.area-form {
    margin: 1rem auto 24px;
    padding: 0 20px;
}
.area-form input[type="file"] {
    display: none !important;
}
.area-form .status {
    padding: 5px 0;
}
.area-form .group {
    margin: 5px auto 30px;
    padding: 0 12px 20px;
    border: 1px solid var(--theme_main);
    border-radius: 8px;
    position: relative;
    background: var(--gradation_color_6);
    z-index: 0;
}
.area-form .group::after {
    content: "";
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 2px;
    right: 2px;
    border: 2px solid var(--theme_marking);
    background: var(--red_7);
    z-index: -1;
    border-radius: 6px;

}
.area-form .ph-red::placeholder {
    color: var(--red_3);
}
.area-form .section {
    margin-top: 1rem;

}
.area-form .section p {
    margin-top: 3px;
    padding: 0 3px;
    font-size: 10px;
    text-align: justify;
}
.area-form .section input,
.area-form .section select,
.area-form .section textarea {
    background: var(--white_1);
    border: 1px solid var(--white_1);
    font-size: 16px;
    display: block;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.area-form .section input:focus,
.area-form .section select:focus,
.area-form .section textarea:focus {
    filter: drop-shadow(0px 0px 3px var(--white_0));
}
.area-form .section input,
.area-form .section select {
    height: 40px;
}
.area-form .section textarea {
    height: 200px;
}
.area-form .section textarea[name="body"] {
    height: 20rem;
}
.area-form .hidden {
    display: none;
}
.area-form .required h3::after,
.area-form .required label::after {
    content: "*";
    color: var(--red_1);
}
.area-form .section > h3 > span,
.area-form .section > label > span {
    padding: 5px 3px 2px;
    display: inline-block;
    font-size: .9rem;
    font-weight: bold;
}
.area-form .group .section > h3 > span,
.area-form .group .section > label > span {
    font-size: .8rem;
}
.required span::before {
    content: none;
}
.area-form .section.-media .icon {
    display: grid;
    grid-template-columns: 90px max-content;
    gap: 10px;
    margin-top: 5px;
}
.area-form .section.-media label {
    width: 90px;
    height: 90px;
    background: orange;
    border: 2px solid orange;
    border-radius: 20%;
    line-height: 1;
    display: flex;
    flex-flow: column;
    justify-content: center;
    transition: all .4s ease;
    position: relative;
    cursor: pointer;
}
.area-form .section.-media label:hover {
    opacity: 0.5;
    border: 2px solid red;
    cursor: pointer;
}
.area-form .section.-media label span {
	padding: 0;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    display: block;
}
.area-form div:not(.select-check,.icon,.choose-button) label::before {
    width: 20px;
    font-size: .9rem;
    text-align: center;
}
.area-form .section.-media label::before {
    text-align: center;
    font-size: 55px;
    color: black;
}
.area-form .section.-media.required label::after {
    content: none;
}
.area-form .section.-media .preview-media {
    width: 160px;
    height: 90px;
    padding: 0;
    margin: 0;
    border: 1px solid #66666644;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    vertical-align: middle;
}
.area-form .section.-media.-blog .preview-media {
    width: 90px;
    height: 90px;
}
.area-form .section.-media .preview-media::after {
    content: "preview";
    color: #6669;
    position: absolute;
}
.area-form .section.-media .preview-media img,
.area-form .section.-media .preview-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.area-form .submit-button {
    width: 80%;
    max-width: 360px;
    margin: 30px auto 0;
    padding: 10px;
    background: var(--gradation_color_1);
    color: var(--white_0);
    font-weight: bold;
    border-radius: 40px;
    display: block;
}
.area-form .submit-button.loading {
    opacity: .5;
}

/* 動画投稿 */
.select-check {
    width: 100%;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 6px;
    max-width: 400px;
    position: relative;
    z-index: 0;
}
.select-check input[type="radio"] {
    display: none;
}
.select-check label {
    font-size: 1rem;
    transform: translateX(0px);
    background: #eee;
    color: #666;
    border-right: none;
    border-radius: 6px;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    cursor: pointer;
}
.select-check .check-on + label {
    right: 50%;
    border-radius: 5px 0 0 5px;
}
.select-check .check-off + label {
    left: 50%;
    border-radius: 0 5px 5px 0;
}
.select-check .check-on + label::before,
.select-check .check-off + label::before {
    content: '';
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    opacity: 0;
    transition: all .1s ease;
}
.select-check .check-on + label::before {
    transform: translateX(100%);
}
.select-check .check-off + label::before {
    transform: translateX(-100%);
}
.select-check .check-on:checked + label::before,
.select-check .check-off:checked + label::before {
    content: attr(title);
    background: var(--gradation_color_8);
    color: var(--white_0);
    opacity: 1;
    transform: translateX(0%);
}
.section.-pass .select-check .check-off:checked + label::before {
    background: var(--gradation_color_9);
    color: #eee;
}

/* 画像編集 */
.ui-state-highlight {
    height: 130px;
    border: dotted 1px #00f9;
    background: #ff93;
}
.choose-list {
    width: 100%;
    height: auto;
    padding: 4px 0 4px 5px;
    background: var(--white_2);
    border: 1px solid var(--white_1);
    filter: drop-shadow(5px 5px 10px var(--white_1));
    position: relative;
}
.choose-container {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr 30px;
}
.choose-container h3 {
    padding: 0 2px 0 1rem;
}
.choose-container .section {
    margin-top: 0;
    display: flex;
    align-items: center;
    width: 100%;
}
.choose-container .select-image {
    width: 90px;
    height: 120px;
}
.choose-container .select-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
}
.choose-container .select-image.preview {
    background: transparent;
    position: absolute;
    z-index: 1;
}
.choose-button {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.choose-button label,
.choose-button button {
    width: 30px;
    height: 30px;
    margin-right: 1rem;
    padding: 0;
    border-radius: 50%;
    text-align: center;
    line-height: 1.8;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .8s ease;
}
.choose-button label {
    background: #afad;
}
.choose-button button {
    background: #faad;
}
.choose-button label:hover,
.choose-button button:hover {
    background: var(--white_0);
}
.choose-button label:focus,
.choose-button button:focus {
    outline: none;
}
.choose-button label::before,
.choose-button button::before {
    color: #666;
    transition: all .8s ease;
}
.choose-button label:hover::before,
.choose-button button:hover::before {
    color: var(--black_0);
}
.touch-panel {
    border-left: 2px solid var(--white_1);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: grab;
}
.touch-panel:active {
    cursor: grabbing;
}
.touch-panel i {
    position: absolute;
    transition: .8s ease;
    transition-property: opacity, visibility;
}
.touch-panel i:nth-of-type(1),
.touch-panel:hover i:nth-of-type(2) {
    opacity: 1;
    visibility: visible;
}
.touch-panel i:nth-of-type(2),
.touch-panel:hover i:nth-of-type(1) {
    opacity: 0;
    visibility: hidden;
}

/* 未使用 */
.select-area {
    width: 100%;
    height: auto;
    padding: 5px;
    background: var(--white_2);
    border: 1px solid var(--white_1);
    filter: drop-shadow(5px 5px 10px var(--white_1));
    position: relative;
}
.select-area input {
    display: none;
}
.select-area .select-blogid {
    width: 100%;
    height: 100%;
    margin: auto;
    cursor: pointer;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}
.select-area .select-bloglist {
    display: grid;
    grid-template-columns: 5rem 1fr;
    grid-template-rows: 1rem 3rem 1rem;
    grid-column-gap: 10px;
}
.select-area .select-bloglist .listarea1 {
    grid-column: 1/2;
    grid-row: 1/4;
}
.select-area .select-bloglist .listarea2 {
    grid-column: 2/3;
    grid-row: 1/2;
}
.select-area .select-bloglist .listarea3 {
    overflow: scroll;
    grid-column: 2/3;
    grid-row: 2/3;
}
.select-area .select-bloglist .listarea4 {
    text-align: right;
    grid-column: 2/3;
    grid-row: 3/4;
}
.select-area .select-bloglist img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* オーバーライド */
/* .header {
    background: var(--red_5);
} */
.nav-container {
    background: var(--black_3);
}
.page-back {
    position: absolute;
    right: 60px;
    top: 20px;
    font-size: 42px;
    height: 40px;
    color: var(--white_0);
    display: flex;
}
.page-back::before {
    align-self: center;
}
.page-back span {
    padding: 8px 0;
    margin-left: 5px;
    font-size: .8rem;
    line-height: 1;
    display: none;
}
.page-top {
    background: var(--red_6);
    color: var(--red_2);
    bottom: calc(env(safe-area-inset-bottom) + 10px);
}
.footer-navigation .bottom-navi {
	background: var(--red_6);
}
.footer-navigation .bottom-navi .bottom-menu li::after {
    background: var(--red_2);
}
.footer-navigation .bottom-navi .bottom-menu a::before,
.footer-navigation .bottom-navi .bottom-menu span {
	color: var(--red_2);
}
.sphere {
    top: auto;
    bottom: -30px;
    left: 0;
    width: 90px;
    height: 90px;
}

/* ローディングアニメーション */
.spinner {
    margin: 0 auto;
    width: 70px;
    text-align: center;
}
.spinner > div {
    width: 18px;
    height: 18px;
    background-color: Orange;
    border-radius: 100%;
    display: inline-block;
}
.is-show .spinner > div{
    animation: bounceDelay 1.4s infinite ease-in-out both;
}
.is-show .spinner .bounce1 {
    animation-delay: -0.32s;
}
.is-show .spinner .bounce2 {
    animation-delay: -0.16s;
}
@keyframes bounceDelay {
    0%, 85%, 100% {transform: scale(.2);}
    40% {transform: scale(1);}
}

@media screen and (min-width: 897px) {
    
    .page-back {
        left: 10px;
        right: unset;
    }
    .page-back span {
        display: block;
    };
}