@charset "utf-8";
/*common
-----------------------------------------------------------------------------------------*/
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", sans-serif;;
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    line-height: 1.3;
    color: #3D3D3D;
}

@media screen and (max-width:1200px) {
    body {
        font-size: 16px;
}
}
/*-----------------------------------------------------------------------
    top-page　headerとｆｖ
-----------------------------------------------------------------------*/
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 300;
}

.top-page {
    position: relative;
    margin: auto;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    min-height: 560px;
}

@media screen and (max-width:1023px) {
    .top-page {
        height: 700px;
}
}

@media screen and (max-width:767px) {
    .top-page {
        min-height: auto;
        height: 450px;
}
}

.top-page-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    display: block;
    z-index: -1;
}

@media screen and (max-width:1629px) {
    .top-page-image {
        object-position: top;
}
}

.top-page-menu {
    background: #0000003D;
    width: 100%;
    height: 131px;
    display: flex;
    justify-content: space-between;
    gap: 100px;
    align-items: center;
    color: #FFFFFF;
}

@media screen and (max-width:1629px) {
    .top-page-menu {
        height: 100px;
        gap: 50px;
}
}

@media screen and (max-width:1023px) {
    .top-page-menu {
        gap: 12px;
}
}

@media screen and (max-width:767px) {
    .top-page-menu {
        height: 70px;
}
}

.top-page-menu nav {
    margin-left: auto;
}

@media screen and (max-width:767px) {
    .top-page-menu nav {
        display: none;
}
}

.top-page-menu h1 {
    font-family: "Noto Serif JP";
    font-weight: 400;
    font-size: 54px;
    margin-left: 76px;
}

@media screen and (max-width:1469px) {
    .top-page-menu h1 {
        font-size: 45px;
}
}

@media screen and (max-width:1378px) {
    .top-page-menu h1 {
        font-size: 40px;
}
}

@media screen and (max-width:1329px) {
    .top-page-menu h1 {
        font-size: 35px;
}
}

@media screen and (max-width:1129px) {
    .top-page-menu h1 {
        font-size: 30px;
}
}

@media screen and (max-width:1067px) {
    .top-page-menu h1 {
        font-size: 27px;
}
}

@media screen and (max-width:1037px) {
    .top-page-menu h1 {
        font-size: 24px;
        margin-left: 38px;
}
}

@media screen and (max-width:817px) {
    .top-page-menu h1 {
        font-size: 20px;
}
}

@media screen and (max-width:767px) {
    .top-page-menu h1 {
        font-size: 25px;
        margin-left: 30px;
}
}

.top-page-menu ul {
    height: 100%;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 100px;
}

@media screen and (max-width:1278px) {
    .top-page-menu ul {
        gap: 50px;
}
}

@media screen and (max-width:1023px) {
    .top-page-menu ul {
        gap: 25px;
}
}

.top-page-menu a {
    font-weight: 700;
    color: #FFF;
    background-image: linear-gradient(#F36421, #F36421); /* 単色 */
    background-size: 0 3px; /* 幅(0=見えない状態) | 高さ(=線の太さ) */
    background-position: bottom right; /* 右下に配置 */
    background-repeat: no-repeat;
    padding-bottom: 5px;
    transition: background-size 0.3s ease-out;
}   

.top-page-menu a:hover {
  background-size: 100% 3px; /* 幅(100%=文字の長さ) | 高さ(=線の太さ) */
  background-position: bottom left;  /* 左下に配置 */
}

@media screen and (max-width:1629px) {
    .top-page-menu a {
        font-size: 18px;
}
}

@media screen and (max-width:777px) {
    .top-page-menu a {
        font-size: 16px;
}
}

@media screen and (max-width:767px) {
    .top-page-menu a {
        font-size: 1rem;
}
}

.contact-link {
    width: 153px;
    height: 131px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: #F36421;
    font-weight: 700;
}

@media screen and (max-width:1629px) {
    .contact-link {
        width: 117px;
        height: 100px;
}
}

@media screen and (max-width:767px) {
    .contact-link {
        display: none;
}
}

.contact-link img {
    width: 44px;
    height: auto;
}


.top-page-menu .contact-link {
    position: relative;
    transition: .6s cubic-bezier(0.33, 1, 0.68, 1);
}

.top-page-menu .contact-link::before,
.top-page-menu .contact-link::after {
    content: "";
    display: block;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    margin: auto;
    transition: .6s cubic-bezier(0.33, 1, 0.68, 1);
    opacity: 0;
}

.top-page-menu .contact-link:hover::after {
    opacity: 1;
}
.top-page-menu .contact-link:hover {
    transform: scale(0.9);
}

.hamburger {
    display: none;
}

@media screen and (max-width:767px) {
    .hamburger {
        display: block;
        width: 50px;
        height: 50px;
        background-color: #F36421;
        border-radius: 10px;
        position: fixed;
        top: 10px;
        right: 20px;
        z-index: 20;
        cursor: pointer;
        box-shadow: 0 0 5px  rgba(0, 0, 0, 0.5) ;
}
}

.hamburger span {
    width: 30px;
    height: 2px;
    display: inline-block;
    background-color: #FFF;
    position: absolute;
    left: 10px;
    border-radius: 1px;
    transition: all .4s;
}

.hamburger span:nth-of-type(1) {
    top: 16px;
}

.hamburger span:nth-of-type(2) {
    top: 25px;
}

.hamburger span:nth-of-type(3) {
    top: 34px;
}

.hamburger.active span:nth-of-type(1) {
    top: 24px;
    transform: rotate(-45deg);
}

.hamburger.active span:nth-of-type(2) {
    opacity: 0;
}

.hamburger.active span:nth-of-type(3) {
    top: 24px;
    transform: rotate(45deg);
}

.hamburger-navi {
    width: 100%;
    height: 100vh;
    background-color: #FFDFC8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all .6s;
}

.hamburger-navi.active {
    opacity: 1;
    visibility: visible;
}

.hamburger-navi .menu {
    display: flex;
    flex-direction: column;
    row-gap: 35px;
}

.hamburger-navi .menu li {
    display: inline-block;
}

.hamburger-navi a {
    color: #000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.hamburger-navi a:hover {
    opacity: .7;
}

.hamburger-navi .menu a::before {
    display: inline-block;
    margin: auto 20px auto 8px;
    width: 19px;
    height: 19px;
    content: '';
    border-radius: 100%;
    background-color: #F36421;
}

.top-page-text {
    position: absolute; 
    top: calc(50% - 50px);
    transform: translateY(-50%);
    left: 10%;
    transform: translateX(-10%);
    z-index: 10;
    font-family: "Noto Serif JP";
    font-weight: 600;
    /* font-size: 75px; */
    color: #815E5E;
}

.top-page-text1 {
    display: inline-block;
    font-weight: 600;
    font-size: 75px;
    color: #815E5E;
    background-color: #FFFFFF;
    padding: 10px;
}

.top-page-text1 {
    margin-bottom: 35px;
}

@media screen and (max-width:1300px) {
    .top-page-text1 {
        font-size: 55px;
        margin-bottom: 15px;
}
}

@media screen and (max-width:767px) {
    .top-page-text1 {
        font-size: 30px;
        margin-bottom: 10px;
}
}
/*-----------------------------------------------------------------------
身元保証人支援（要配慮者）
-----------------------------------------------------------------------*/
.support-for-guarantors-for-vulnerable-individuals {
    overflow: hidden;
}

.support-for-guarantors-for-vulnerable-individuals h2 {
    margin-bottom: 30px;
}

@media screen and (max-width:1023px) {
    .support-for-guarantors-for-vulnerable-individuals h2 {
        margin-bottom: 30px;
}
}

.content-wrapper {
    max-width: 1500px;
    width: calc(100% - 100px);
    margin: 0px auto;
}

@media screen and (max-width:767px) {
    .content-wrapper {
        width: calc(100% - 40px);
}
}

.support-for-guarantors-for-vulnerable-individuals >.content-wrapper {
    padding: 100px 0px 0px;
}

@media screen and (max-width:1569px) {
    .support-for-guarantors-for-vulnerable-individuals >.content-wrapper {
        padding: 50px 0px 0px;
}
}

.support-for-guarantors-bg.content-wrapper.big {
    max-width: 1920px;
    padding: 0;
}

.support-for-guarantors {
    display: flex;
    margin-bottom: 50px;
}

@media screen and (max-width:1023px) {
    .support-for-guarantors {
        display: block;
        text-align: center;
        margin-bottom: 120px;
}
}

h2 {
    font-family: "Noto Serif JP";
    font-weight: 700;
    font-size: 54px;
    color: #F36421;
    text-align: center;
}

@media screen and (max-width:1629px) {
    h2 {
        font-size: 45px;
}
}

@media screen and (max-width:767px) {
    h2 {
        font-size: 29px;
}
}

.support-for-guarantors h2 span {
    display: inline-block;
}

.support-for-guarantors-item {
    width: 50%;
}

@media screen and (max-width:1023px) {
    .support-for-guarantors-item {
        width: 100%;
}
}

.support-for-guarantors-item p {
    font-weight: 500;
    line-height: 2;
}

@media screen and (max-width:1023px) {
    .support-for-guarantors-item p {
        text-align: left;
        display: inline-block;
}
}

@media screen and (max-width:767px) {
    .support-for-guarantors-item p {
        font-size: 18px;
}
}

.support-for-guarantors-item-speech-bubble {
    width: 50%;
    position: relative;
    align-content: center;
    padding-bottom: 80px;
}

@media screen and (max-width:1270px) {
    .support-for-guarantors-item-speech-bubble {
        padding: 0px;
}
}

@media screen and (max-width:1023px) {
    .support-for-guarantors-item-speech-bubble {
        width: 100%;
        padding-top: 35px;
}
}

@media screen and (max-width:767px) {
    .support-for-guarantors-item-speech-bubble {
        padding-top: 50px;
}
}

.support-for-guarantors-item-speech-bubble p {
    
    font-size: 38px;
    text-align: center;
    color: #FC9300;
}

@media screen and (max-width:1225px) {
    .support-for-guarantors-item-speech-bubble p {
        font-size: 30px;
}
}

@media screen and (max-width:1023px) {
    .support-for-guarantors-item-speech-bubble p {
        margin-top: 0px;
}
}

@media screen and (max-width:767px) {
    .support-for-guarantors-item-speech-bubble p {
        font-size: 21px;
}
}

.speech-bubble-illustration {
    width: 100%;
    position: absolute;
    left: 50%;
    bottom: 0;
    -ms-transform: translate(-50%,-0%);
    -webkit-transform: translate(-50%,-0%);
    transform: translate(-50%,-0%);
    transform: rotate(3eg);
    margin:0;
    padding:0;
}

@media screen and (max-width:1254px) {
    .speech-bubble-illustration {
        bottom: 12%;
}
}

@media screen and (max-width:1225px) {
    .speech-bubble-illustration {
        bottom: 15%;
}
}

@media screen and (max-width:1023px) {
    .speech-bubble-illustration {
        width: 80%;
        bottom: auto ;
        top: 0;
}
}

@media screen and (max-width:767px) {
    .speech-bubble-illustration {
        width: 100%;
        top: 60%;
}
}

@media screen and (max-width:400px) {
    .speech-bubble-illustration {
        top: 40%;
}
}

.support-for-guarantors-bg {
    background-color: #FFDFC8;
}

.support-for-guarantors-item-2 {
    display: flex;
    align-items: center;
}

@media screen and (max-width:1023px) {
    .support-for-guarantors-item-2 {
        flex-direction: column-reverse;
}
}

.support-for-guarantors-item-2 img {
    width: 50%;
}


@media screen and (max-width:1629px) {
    .support-for-guarantors-item-2 img {
        width: 45%;
        align-self: flex-end;
}
}

@media screen and (max-width:1023px) {
    .support-for-guarantors-item-2 img {
        width: 100%;
}
}

.support-for-guarantors-item-2 ul {
    width: 40%;
    padding: 50px 0;
}

@media screen and (max-width:1569px) {
    .support-for-guarantors-item-2 ul {
        width: 55%;
}
}

@media screen and (max-width:1400px) {
    .support-for-guarantors-item-2 ul {
        padding: 50px 0px 50px;
}
}

@media screen and (max-width:1023px) {
    .support-for-guarantors-item-2 ul {
        width: 100%;
        padding: 50px 0px 50px;
}
}

ul li {
    display: flex;
}

@media screen and (max-width:1023px) {
    ul li {
        display: flex;
        flex-wrap: nowrap;
}
}

@media screen and (max-width:1023px) {
    .support-for-guarantors-item-2 ul li {
        font-size: 18px;
}
}

.support-for-guarantors-item-2 li:not(:last-child) {
    padding-bottom: 30px;
}

.support-for-guarantors-item-2 li::before {
    display: inline-block;
    margin: 5px 20px 0 8px;
    width: 19px;
    height: 19px;
    content: '';
    border-radius: 100%;
    background-color: #F36421;
    flex-shrink: 0;
}

.support-for-guarantors-item-2 span {
    display: inline-block;
}
/*-----------------------------------------------------------------------
    居住支援
-----------------------------------------------------------------------*/
.housing-support {
    background-color: #EEEDED;
    padding: 130px 0px;
}

@media screen and (max-width:1023px) {
    .housing-support {
        padding: 65px 0px;
}
}

.housing-support .content-wrapper {
    text-align: center;
}

.housing-support .content-wrapper h2 {
    margin-bottom: 50px;
}

.housing-support .housing-support-title-text {
    width: fit-content;
    text-align: left;
    margin: 0 auto;
    font-weight: 500;
    font-size: 20px;
    line-height: 2;
    margin-right: auto;
    margin-left: auto;
}

@media screen and (max-width:1023px) {
    .housing-support .housing-support-title-text {
        line-height: 1.6;
}
}

@media screen and (max-width:767px) {
    .housing-support .housing-support-title-text {
        font-size: 1rem;
}
}

.housing-support-content-large-box {
    margin-top: 60px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 60px 90px;
}

@media screen and (max-width:1200px) {
    .housing-support-content-large-box {
        gap: 60px 30px;
}
}

@media screen and (max-width:1023px) {
    .housing-support-content-large-box {
        display: block;
        width: 100%;
}
}

.housing-support-content-small-box {
    width: calc((100% - 90px) / 2);
    display: flex;           
    flex-direction: column; 
}

@media screen and (max-width:1200px) {
    .housing-support-content-small-box {
        width: calc((100% - 30px) / 2);
}
}

@media screen and (max-width:1023px) {
    .housing-support-content-small-box {
        width: 100%;
        display: block;       
        margin-bottom: 100px;    
}
}

.housing-support-content-small-box-inside {
    display: flex;
    align-items: center;
    flex-grow: 1;  
}

@media screen and (max-width:1023px) {
    .housing-support-content-small-box-inside {
        column-gap: 40px;
}
}

@media screen and (max-width:767px) {
    .housing-support-content-small-box-inside {
        flex-direction: column-reverse;
}
}

.illustrations-of-housing-support {
    width: 45%;
    align-self: flex-end;
}

@media screen and (max-width:1023px) {
    .illustrations-of-housing-support {
        width: calc((100% - 40px) / 2);
}
}

@media screen and (max-width:767px) {
    .illustrations-of-housing-support {
        width: 70%;
        align-self: center;
}
}

.housing-support-orange-box {
    font-weight: 700;
    font-size: 38px;
    color: #FFF;
    background-color: #F36421;
    padding: 15px;
}

@media screen and (max-width:767px) {
    .housing-support-orange-box {
        font-size: 28px;
        padding: 15px;
}
}

.housing-support-column {
    width: 55%;
    margin-bottom: 20px;
}

@media screen and (max-width:1023px) {
    .housing-support-column {
        width: calc((100% - 40px) / 2);
}
}

@media screen and (max-width:767px) {
    .housing-support-column {
        font-size: 22px;
        width: 100%;
        margin: 0;
}
}

.housing-support-column span {
    display: inline-block;
}

.housing-support-column h3 {
    display: inline-block;
    position: relative;
    font-weight: 500;
    font-size: 30px;
}

@media screen and (max-width:767px) {
    .housing-support-column h3 {
        font-size: 24px;
}
}

.housing-support-column h3 span {
    display: inline-block;
}

.housing-support-column h3::after {
    content: '';
    display: block;
    margin: 20px auto;
    width: 224px;
    height: 1px;
    background-color: #000;
    border-radius: 2px;
}

.those-concerned-title {
    margin-bottom: 10px;
}

.housing-support-column .those-concerned {
    text-align: left;
    display: block;
}

.housing-support-column .those-concerned::before {
    display: inline-block;
	margin: 0 3px 0 8px;
	width: 16px;
	height: 16px;
	content: '';
	border-radius: 100%;
	
}

.those-concerned::before {
    content: "";
    display: inline-block; 
    width: 16px;
    height: 16px;
    border: 2px solid #000000; 
    border-radius: 50%;
    margin-left: 8px;      
    vertical-align: middle;
}

.housing-support-column p {
    font-weight: 500;
    text-align: left;
}

@media screen and (max-width:767px) {
    .housing-support-column p {
        font-size: 1rem;
}
}
/*-----------------------------------------------------------------------
    会社概要
-----------------------------------------------------------------------*/
.company-profile {
    padding: 50px 0px 120px;
}
.company-profile .content-wrapper h2 {
    margin-bottom: 75px;
}

table tr {
    border: 3px solid #F36421
}

table th {
    width: 300px;
    min-height: 160px;
    padding: 40px;
    background-color: #F36421;
    font-weight: 500;
    font-size: 22px;
    color: #FFFFFF;
    border-bottom: 3px solid #FFFFFF;
    text-align: left;
}

.company-profile-th-last {
    border: 3px solid #F36421
}

@media screen and (max-width:1569px) {
    table th {
        padding: 20px;
}
}

@media screen and (max-width:1023px) {
    table th {
        width: 200px;
}
}

@media screen and (max-width:767px) {
    table th {
        width: 100%;
        border-bottom: 3px solid #F36421;
        min-height: auto;
        font-size: 1rem;
        padding: 10px 25px;
}
}

table td {
    min-height: 160px;
    padding: 50px 90px;
    font-weight: 500;
    font-size: 22px;
}

@media screen and (max-width:1569px) {
    table td {
        padding: 40px 45px;
}
}

@media screen and (max-width:1023px) {
    table td {
        width: calc(100% - 200px);
}
}

@media screen and (max-width:767px) {
    table td {
        width: 100%;
        min-height: auto;
        font-size: 1rem;
        padding: 20px 25px;
}
}

@media screen and (max-width:767px) {
    table,th,td {
        display: block;
}
}

.change {
    margin-left: 22px;
}

@media screen and (max-width:1023px) {
    .change {
        margin: 0 auto;
        display: inline-block;
}
}

@media screen and (max-width:1023px) {
    .change.name {
        margin-left: 22px;
}
}
/*-----------------------------------------------------------------------
    お問い合わせ
-----------------------------------------------------------------------*/
.inquiry {
    font-family: "Noto Serif JP";
    background-color: #F36421;
    color: #FFF;
    padding: 90px 0px 200px;
}

@media screen and (max-width:1023px) {
    .inquiry {
        padding: 50px 0px;
}
}

.inquiry .content-wrapper h2 {
    color: #FFF;
}

.inquiry-top-h2 {
    margin-top: 100px;
}

@media screen and (max-width:1439px) {
    .inquiry-top-h2 {
        margin-top: 0px;
}
}

.inquiry p {
    font-weight: 700;
    text-align: center;
    padding: 30px 0px;
}

@media screen and (max-width:767px) {
    .inquiry p {
        padding: 20px 0px;
}
}

.inquiry p span {
    display: inline-block;
}

.tel-bottom {
    margin-bottom: 87px;
}

@media screen and (max-width:767px) {
    .tel-bottom {
        margin-bottom: 30px;
}
}

.smf-item__label__text {
    font-size: 24px;
}

@media screen and (max-width:767px) {
    .smf-item__label__text {
        font-size: 16px;
}
}

.smf-form .smf-text-control__control {
    display: inline-block;
    width: 100%;
    padding: 1em 0.5em;
}

input,textarea {
    font-size: 24px;
}

.form-group div {
    font-weight: 700;
}

.smf-item__label {
    padding-bottom: 15px;
}

.smf-action {
    text-align: center;
    margin-top: 115px;
}

@media screen and (max-width:1023px) {
    .smf-action {
        margin-top: 57px;
        margin-bottom: 109px;
}
}

@media screen and (max-width:767px) {
    .smf-action {
        margin: 0;
}
}

.smf-action .smf-button-control__control {
    color: #FFF;
    font-weight: 700;
    font-size: 30px;
    background-image: none;
    background-color: #000;
    border: 1px solid #000;
    width: 38%;
    padding: 25px;
    transition: 1s;
}

@media screen and (max-width:767px) {
    .smf-action .smf-button-control__control {
        font-size: 1rem;
        padding: 15px;
}
}

.smf-action .smf-button-control__control:hover {
    border: 1px solid #F36421;
    background: #fff;
    color: #F36421;
}


.wp-block-snow-monkey-forms-item.smf-item {
    margin: 30px 0;
}

[data-screen="confirm"] .wp-block-snow-monkey-forms-item.smf-item {
    border-bottom: 1px solid #000;
}

[data-screen="confirm"] .smf-placeholder {
    margin-bottom: 10px;
}

[data-screen="confirm"] .smf-form.form-group {
    font-size: 16px;
}

[data-screen="complete"] .wp-block-paragraph {
    font-size: 45px;
}

.smf-error-messages {
    color: #3D3D3D;
}
/*-----------------------------------------------------------------------
    footer
-----------------------------------------------------------------------*/
/* footerのスタイルを追加 */
footer {
    position: relative;
}

.anshin-seikatsu-footer-item nav ul {
    padding-top: 100px;
    padding-bottom: 32px;
    display: flex;
    gap: 100px;
    align-items: center;
}

@media screen and (max-width:1439px) {
    .anshin-seikatsu-footer-item nav ul {
        padding-top: 100px;
        padding-bottom: 32px;
        justify-content: center;
        gap: 35px;
}
}

@media screen and (max-width:1060px) {
    .anshin-seikatsu-footer-item nav ul {
        gap: 25px;
}
}

@media screen and (max-width:1023px) {
    .anshin-seikatsu-footer-item nav ul {
        padding-top: 50px;
        flex-wrap: wrap;
}
}

@media screen and (max-width:767px) {
    .anshin-seikatsu-footer-item nav ul {
        row-gap: 15px;
}
}

.anshin-seikatsu-footer-item ul li:first-child {
    padding-left: 84px;
}

@media screen and (max-width:1439px) {
    .anshin-seikatsu-footer-item ul li:first-child {
        padding-left: 0px;
}
}

@media screen and (max-width:1023px) {
    .anshin-seikatsu-footer-item ul li:first-child {
        width: 100%;
        display: block;
        text-align: center;
}
}

.anshin-seikatsu-footer-first {
    font-family: "Noto Serif JP";
    font-weight: 400;
    font-size: 30px;
}

.anshin-seikatsu-footer nav ul li a {
    color: #3D3D3D;
    font-weight: 700;
    font-size: 20px;
    background-image: linear-gradient(#F36421, #F36421); /* 単色 */
    background-size: 0 3px; /* 幅(0=見えない状態) | 高さ(=線の太さ) */
    background-position: bottom right; /* 右下に配置 */
    background-repeat: no-repeat;
    padding-bottom: 5px;
    transition: background-size 0.3s ease-out;
}

@media screen and (max-width:767px) {
    .anshin-seikatsu-footer nav ul li a {
    font-size: 18px;
}
}

.anshin-seikatsu-footer nav ul li a:hover {
  background-size: 100% 3px; /* 幅(100%=文字の長さ) | 高さ(=線の太さ) */
  background-position: bottom left;  /* 左下に配置 */
}

.pagetop {
    height: 100px;
    width: 100px;
    position: fixed;
    right: 38px;
    bottom: 107px;
    background-color: #050505;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    cursor: pointer;
    /* デフォルトで非表示にする */
    opacity: 0;
    visibility: hidden;
}

/* このクラスが付与されると表示される */
.active {
    opacity: 1;
    visibility: visible;
}

@media screen and (max-width:1023px) {
    .pagetop {
        height: 70px;
        width: 70px;
        right: 20px;
}
}

@media screen and (max-width:767px) {
    .pagetop {
        height: 50px;
        width: 50px;
        bottom: 20px;
}
}

.pagetop-arrow {
    height: 30px;
    width: 30px;
    border-top: 3px solid #FFF;
    border-right: 3px solid #FFF;
    transform: translateY(20%) rotate(-45deg);
}

@media screen and (max-width:1023px) {
    .pagetop-arrow {
        height: 20px;
        width: 20px;
}
}

@media screen and (max-width:767px) {
    .pagetop-arrow {
        height: 15px;
        width: 15px;
}
}

small {
    display: block;
    text-align: center;
    font-weight: 400;
    font-size: 14px;
    padding-bottom: 30px;
}

/*-----------------------------------------------------------------------
    404 エラーメッセージ
-----------------------------------------------------------------------*/
.contents-wrapper.error {
    background-color: #FFDFC8;
    padding: 150px 0;
}

.error-contents {
    display: flex;
    align-items: center;
} 

@media screen and (max-width:1023px) {
    .error-contents {
        flex-direction: column-reverse;
        row-gap: 35px;
} 
}

.error-contents img {
    width: 15%;
    margin: 0;
    margin-left: 350px;
}

@media screen and (max-width:1023px) {
    .error-contents img {
        margin: 0; 
}
}

.error-message {
    width: 85%;
}

@media screen and (max-width:1023px) {
    .error-message {
        width: 100%;
        text-align: center;
}
}
/*-----------------------------------------------------------------------
	予期しない問題が発生しました。 後でもう一度やり直すか、他の方法で管理者に連絡してください。	
-----------------------------------------------------------------------*/
.smf-system-error-content {
    text-align: center;
}

.smf-system-error-status-text {
    color: #FFF;
}