html{
    overflow-y: scroll;
}
html.is-popup-open,
body.is-popup-open {
    overflow: hidden !important; /* !important で強制 */
}
.float-in{
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s ease;
    will-change: opacity, transform;
}
.float-in.is-show{
    opacity: 1;
    transform: translateY(0);
}
.arrow-icon--btn{
    position: relative;
    display: inline-block;
    width: 15px;
    height: 15px;
}
.arrow-icon--btn:after{
    content: '';
    position: absolute;
    top: 50.5%;
    right: 0;
    transform: translateY(-50%) rotate(45deg);
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    width: 8px;
    height: 8px;
}
/* 共通コンテナスタイル */
.container {
    max-width: 1200px;
    margin: 0 auto;
}
/* ヘッダー全体 */
@keyframes underline-run-loop {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { transform: translateX(0%); opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}
.header {
    padding: 4rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-sizing: border-box;
    background-color: transparent;
}
.container__header {
    margin: 0 auto;
}
.header__main {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.pc-global-nav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
.pc-global-nav ul li:not(:last-child) {
    margin: 10px 30px 0 0;
    white-space: nowrap;
}
.pc-global-nav a:not(.pc-global-nav__btn) {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    padding-bottom: 5px;
    display: inline-block;
}
.pc-global-nav a:not(.pc-global-nav__btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 2px;
    background: #fff;
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.3s ease, transform 0s linear;
}
.pc-global-nav a:not(.pc-global-nav__btn):hover::after {
    opacity: 1;
    animation: underline-run-loop 1.5s linear infinite;
}
.pc-global-nav__btn {
    display: inline-block;
    background-color: #D3AD47;
    color: #fff;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.6rem;
    line-height: 1;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    width: 250px;
    text-align: center;
}
.pc-global-nav__btn:hover {
    background-color: #e5cb89;
}
.hbg-button {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 102;
}
.hbg-button__line {
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}
.hbg-button.is-active .hbg-button__line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
    background-color: #172A88;
}
.hbg-button.is-active .hbg-button__line:nth-child(2) {
    opacity: 0;
}
.hbg-button.is-active .hbg-button__line:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
    background-color: #172A88;
}
.sp-global-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: #F6F6F6;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    transition: right 0.4s ease-in-out;
    padding-top: 8rem;
    overflow-y: auto;
    z-index: 101;
    -webkit-overflow-scrolling: touch;
}
.sp-global-nav.is-active {
    right: 0;
}
.sp-global-nav__list {
    list-style: none;
    padding: 0 20px;
    margin: 0;
}
.sp-global-nav__list-item:first-child {
    border-bottom: 1px solid #fff;
}
.sp-global-nav__list-item:last-of-type {
    border-bottom: none;
}
.sp-global-nav__list-item.has-accordion:last-of-type {
    padding-bottom: 20px;
}
.sp-global-nav__category-link {
    display: block;
    padding: 2rem 1rem 2rem 0;
    color: #707070;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sp-global-nav__category-link .arrow-icon {
    position: relative;
    display: inline-block;
    width: 15px;
    height: 15px;
}
.sp-global-nav__category-link .arrow-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(45deg);
    border-top: 2px solid #707070;
    border-right: 2px solid #707070;
    width: 8px;
    height: 8px;
}
.sp-global-nav__item-tit {
    display: block;
    padding: 2rem 0;
    color: #707070;
    font-weight: bold;
}
.sp-global-nav__category-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem 1rem 2rem;
    color: #707070;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
.sp-global-nav__category-title .accordion-arrow-icon{
    position: relative;
    display: inline-block;
    width: 15px;
    height: 15px;
}
.sp-global-nav__category-title .accordion-arrow-icon:after {
        content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(135deg);
    border-top: 2px solid #707070;
    border-right: 2px solid #707070;
    width: 8px;
    height: 8px;
}
.sp-global-nav__list-item.is-open .accordion-arrow-icon {
    transform: translateX(50%) rotate(180deg);
}
.sp-global-nav__submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    margin-bottom: 2rem;
}
.sp-global-nav__list-item.is-open .sp-global-nav__submenu {
    max-height: 500px;
}
.sp-global-nav__submenu-item:first-of-type {
    border-top: none;
}
.sp-global-nav__submenu-item a {
    display: block;
    padding: 10px 20px;
    font-size: 1.4rem;
    font-weight: 500;
    color: #707070;
    text-decoration: none;
}
.sp-global-nav__submenu-item a .bullet-icon {
    margin-right: 5px;
    font-size: 0.8em;
    color: #172A88;
}
.sp-global-nav__service-section-title {
    border-bottom: none;
}
.sp-global-nav__list-item.has-accordion:first-child {
    border-top: 1px solid #fff;
}
.sp-global-nav__ad-button-wrapper {
    padding: 20px;
    text-align: center;
    margin-bottom: 100px;
}
.sp-global-nav__ad-button {
    display: block;
    width: 100%;
    background-color:#D3AD47;
    color: #fff;
    padding: 15px 0;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.sp-global-nav__ad-button:hover {
    background-color:#e5cb89;
}
.sp-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}
.sp-overlay.is-active {
    opacity: 1;
    visibility: visible;
}
.hbg-button {
    display: none;
}
.service-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.service-popup-overlay.is-active {
    opacity: 1;
    visibility: visible;
}
.service-popup-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    width: 1000px;
    padding: 8rem;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.service-popup-overlay.is-active .service-popup-content {
    transform: translateY(0);
}
.service-popup-close {
    position: absolute;
    top: 20px;
    right: 20px; /* 右端に配置 */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.service-popup-close svg {
    display: block;
}
.service-popup-inner {
    display: flex;
    gap: 40px;
    padding-top: 10px;
}
.service-popup-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 60px;
    justify-content: space-between;
}
.category-title {
    font-size: 2.4rem;
    font-weight: 500;
    color: #707070;
    margin-bottom: 15px;
}
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 0;
}
.service-list li {
    width: 50%;
}
.sitemap-item {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #707070;
    font-size: 1.8rem; /* サービスメニューのフォントサイズを1.8remに */
    padding: 5px 0;
    transition: color 0.5s ease;
}
.sitemap-item:before {
    content: "▶";
    display: inline-block;
    margin-right: 0.5em;
    font-size: 0.8em;
    color: #172A88;
}
.sitemap-item:hover {
    color: #172A88;
}

/* ファーストビュー */
#fv{
    position: relative;
    height: 100vh;
    width: 100%;
}
.fv__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.vegas-slide {
    filter: brightness(0.8);
}
.fv__message {
    position: absolute;
    color: #fff;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    white-space: nowrap;
    width: 50vw;
    opacity: 0;
    transition: opacity 5s ease-out, transform 3s ease-out;
}
.fv__message.is-active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.fv__message:before{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url('../img_202602/icon.svg') no-repeat center center;
    width: 100%;
    height: 215%;
    z-index: -1;
    border-radius: 10px;
}
.fv__message h2 {
    font-size: 2.7vw;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    text-align: center;
}
.fv__scroll {
    position: absolute;
    right: 1%;
    bottom: 2%;
    z-index: 10;
    color: #fff;
    cursor: pointer;
    height: 180px;
    animation: arrowmove 3s ease-in-out infinite;
}
@keyframes arrowmove{
   0%{bottom:50%;}
   20%{bottom:5%;}
   80%{bottom:5%;}
   100%{bottom:-60%;}
}
.fv__scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: inherit;
    font-size: 2rem;
    font-family: "Reddit Sans", sans-serif;
    font-weight: 600;
    letter-spacing: 0.1em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}
.fv__scroll:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 37px;
    width: 2px;
    height: 10px;
    background: #fff;
    transform: skewX(-31deg);
}
.fv__scroll:after{
    content:"";
    position: absolute;
    top: 0;
    right: 40px;
    width: 2px;
    height: 180px;
    background:#fff;
}
.fv__scroll:hover {
    opacity: 0.7;
}

/* lead */
#lead {
    padding: 80px 0;
    background-color: #172A88;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
}
#lead .container {
    display: flex;
    justify-content: space-between;
    width: 800px;
    max-width: 96%;
    align-items: center;
}
.lead__description{
    text-align: left;
    color: #fff;
    line-height: 2;
    font-weight: 500;
}
#lead .container img{
    width: 300px;
}

/* service */
#service{
    overflow: hidden;
}
#service .container{
    padding: 8rem 0;
}
.service__nav {
    text-align: center;
    margin-bottom: 10rem;
}
.service__nav-title {
    font-family: "Reddit Sans Condensed", sans-serif;
    font-size: 7rem;
    font-weight: 500;
    margin-bottom: 10px;
}
.section__nav-subtitle {
    font-size: 1.6rem;
    color: #707070;
    font-weight: 600;
}
.service-category::before{
    content: "";
    position: absolute;
    z-index: -1;
}
.service-category--myhome::before{
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background:url(../img_202602/img_home.webp) no-repeat center center;
    background-size: contain;
}
.service-category--property::before{
    top: -18%;
    right: -10%;
    width: 500px;
    height: 500px;
    background:url(../img_202602/img_property.webp) no-repeat center center;
    background-size: contain;
}
.service-category--reform::before{
    top: -5%;
    left: 0;
    width: 500px;
    height: 500px;
    background:url(../img_202602/img_refom.webp) no-repeat center center;
    background-size: contain;
}
.service-category--other::before{
    top: 0;
    left: -5rem;
    width: 500px;
    height: 500px;
    background:url(../img_202602/img_other.webp) no-repeat center center;
    background-size: contain;
}
.service-category-nav {
    margin-top: 30px;
}
.service-category-nav ul {
    display: flex;
    justify-content: center;
}
.service-category-nav li:not(:last-child) {
    margin-right: 70px;
}
.service-category-nav a {
    display: block;
    color: #707070;
    font-size: 1.8rem;
    font-weight: 600;
    border-bottom: 2px solid;
    padding: 0 0 10px;
    transition: color 0.5s ease;
}
.service-category-nav a:hover,
.service-category-nav a.active {
    opacity: 0.6;
}
.service-category {
    position: relative;
}
.service-category:not(:first-of-type) {
    margin-top: 8rem;
}
.category-header-l {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 60px;
}
.category-header-l__inner {
    display: flex;
    align-items: baseline;
}
.category-header-r {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 40px;
}
.category-header-r__inner {
    display: flex;
    align-items: baseline;
}
.category-header__bg-text {
    font-size: 12rem;
    color: #707070;
    opacity: 0.6;
    line-height: 0.8;
    white-space: nowrap;
    z-index: 1;
    font-family: 'Reddit Sans Condensed';
    font-weight: 400;
}
.category-header__title {
    font-size: 3.6rem;
    font-weight: bold;
    color: #707070;
    position: relative;
    z-index: 2;
    display: inline-block;
    margin: 0 20px;
}
.service-grid {
    -webkit-overflow-scrolling: touch;
    padding: 2rem;
    width: 100vw;
}
.service-grid--layout-r.swiper-container {
    width: 100%;
}
.service-grid--layout-r .swiper-wrapper {
    justify-content: flex-end;
}
.service-grid--layout-r .swiper-slide{
    margin-left: 2.4rem;
}
.swiper-slide-cotent{
    height: 100%;
    display: flex;
    flex-direction: column;
}
.swiper-scrollbar {
    display: none;
    left: 50%!important;
    transform: translateX(-50%)!important;
    width: 80%!important;
    background: #EEEEEE!important;
}
.swiper-scrollbar-drag {
    background: #707070!important;
}
.service-item {
    width: 30rem;
    height: auto;
    transition: transform 0.3s ease-out;
    transform: translateZ(0);
    transition-duration: .4s;
    will-change: transform;
    -webkit-font-smoothing: antialiased; /* WebKit系ブラウザ (Chrome, Safari) */
    -moz-osx-font-smoothing: grayscale; /* Firefox (macOS) */
    text-rendering: geometricPrecision;
}
.service-item:nth-child(1){ transition-delay: .0s; }
.service-item:nth-child(2){ transition-delay: .2s; }
.service-item:nth-child(3){ transition-delay: .4s; }
.service-item:nth-child(4){ transition-delay: .6s; }
.service-item:hover{
    transform: scale(1.02) translateZ(0);
    text-rendering: geometricPrecision;
}
.service-item__tag {
    position: absolute;
    top: -1.5rem;
    left: 0;
    background-color: #D3AD47;
    color: #FFFFFF;
    font-size: 2rem;
    padding: 0.4rem 2rem;
    z-index: 3;
}
.service-item__image {
    width: 100%;
    height: 18rem;
    object-fit: cover;
    display: block;
}
.service-item__image-container{
    position: relative;
}
.service-item__image-container::before{
    content: "";
    position: absolute;
    display: block;
    width:90px;
    height: 165px;
    bottom: -13%;
    right: -7%;
    z-index: 100;
}
.service-item--iedukuri .service-item__image-container::before{
    background: url(../img_202602/home_iedukuri_mock.webp) no-repeat center center;
    background-size: contain;
}
.service-item--request .service-item__image-container::before{
    background: url(../img_202602/home_request_mock.webp) no-repeat center center;
    background-size: contain;
}
.service-item--mikke .service-item__image-container::before{
    background: url(../img_202602/home_mikke_mock.webp) no-repeat center center;
    background-size: contain;
}
.service-item--exterior .service-item__image-container::before{
    background: url(../img_202602/home_exterior_mock.webp) no-repeat center center;
    background-size: contain;
}
.service-item--reno .service-item__image-container::before{
    background: url(../img_202602/reform_reno_mock.webp) no-repeat center center;
    background-size: contain;
}
.service-item--refo .service-item__image-container::before{
    background: url(../img_202602/reform_refo_mock.webp) no-repeat center center;
    background-size: contain;
}
.service-item--katsuyo .service-item__image-container::before{
    background: url(../img_202602/property_katsuyo_mock.webp) no-repeat center center;
    background-size: contain;
}
.service-item--kaiketsu .service-item__image-container::before{
    background: url(../img_202602/property_kaiketsu_mock.webp) no-repeat center center;
    background-size: contain;
}
.service-item--akiya .service-item__image-container::before{
    background: url(../img_202602/property_akiya_mock.webp) no-repeat center center;
    background-size: contain;
}
.service-item--tabi .service-item__image-container::before{
    background: url(../img_202602/other_tabi_mock.webp) no-repeat center center;
    background-size: contain;
}
.service-item--aff .service-item__image-container::before{
    background: url(../img_202602/other_aff_mock.webp) no-repeat center center;
    background-size: contain;
    display: none;
}


.service-item__title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #707070;
    margin-top: 1.5rem; /* 画像とタイトルの間のスペース */
    margin-bottom: 1rem;
    padding: 0 1.5rem; /* 左右の余白 */
    line-height: 1.4;
}
.service-item__description {
    font-size: 1.4rem;
    color: #707070;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 0 1.5rem; /* 左右の余白 */
    flex-grow: 1; /* ボタンを下に寄せるために必要 */
}
.service-item__btn {
    display: block;
    text-align: center;
    background-color: #0081CC;
    color: #FFFFFF;
    font-size: 1.5rem;
    padding: 1.2rem 2rem;
    border-radius: 3rem;
    text-decoration: none;
    margin: 0 1.5rem 1.5rem 1.5rem; /* 左右と下の余白 */
    margin-top: auto; /* カードの下部に配置 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
.service-item__btn:hover{
    background-color: #C7DEEA;
}

/* footer */
#footer {
    background-color: #F6F6F6;
    padding-top: 60px;
    padding-bottom: 60px;
    position: relative;
    line-height: 1.6;
}
.footer__container {
    width: 1000px;
    max-width: 100%;
    padding: 0 7rem;
}
.footer__top {
    padding-bottom: 40px;
}
.footer__logo {
    width: auto;
    text-align: left;
    margin-bottom: 50px;
    flex-shrink: 0;
}
.footer__logo-link {
    text-decoration: none;
    display: inline-block;
}
.footer__logo-link img {
    display: block;
    width: 180px;
    height: auto;
    margin: 0;
    filter: brightness(0.4392);
}
.footer__sitemap {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    margin-bottom: 30px;
}
.footer__sitemap-category {
    margin-bottom: 0;
    padding: 0 1rem;
    box-sizing: border-box;
    text-align: left;
}
.footer__sitemap-category:first-child {
    padding-left: 0;
}
.footer__sitemap-category:last-child {
    padding-right: 0;
}
.footer__sitemap-heading {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
}
.footer__sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer__sitemap-item {
    padding-left: 20px;
    margin-bottom: 8px;
}
.footer__sitemap-item:last-child {
    margin-bottom: 0;
}
.footer__sitemap-item a{
    position: relative;
    transition: color 0.5s ease;
}
.footer__sitemap-item a::before {
    content: '▶';
    position: absolute;
    margin-left: -20px;
    color: #172A88;
    font-size: 1.2rem;
    line-height: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.footer__sitemap-item a:hover{
    color: #172A88;
}
.footer__sitemap-link {
    font-size: 1.4rem;
    text-decoration: none;
    white-space: nowrap;
}
.footer__ad-button-wrapper {
    width: auto;
    text-align: right;
    flex-shrink: 0;
}
.footer__ad-button {
    background-color: #D3AD47;
    color: #FFF;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.6rem;
    text-decoration: none;
    width: 380px;
    text-align: center;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 0 auto;
}
.footer__ad-button:hover {
    background-color: #e5cb89;
}
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #CCC;
}
.footer__legal-nav {
    margin-bottom: 0;
}
.footer__legal-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer__legal-item {
    font-size: 1.2rem;
    white-space: nowrap;
}
.footer__legal-item:not(:last-child)::after {
    content: '|';
    margin: 0 8px;
    color: #CCC;
}
.footer__legal-link {
    text-decoration: none;
}
.footer__copyright {
    font-size: 1.2rem;
    margin: 0;
}
.footer__back-to-top {
    position: absolute;
    right: 20px;
    bottom: 110px;
    height: 140px;
    animation: arrowback 2s ease-in-out infinite;
}
@keyframes arrowback{
   0%{bottom:110px;}
   50%{bottom:30%;}
   100%{bottom:110px;}
}
.footer__back-to-top-link {
    writing-mode: vertical-rl;
    font-size: 1.6rem;;
    font-family: "Reddit Sans", sans-serif;
    font-weight: 600;
    color: #172A88;
    position: relative;
}
.footer__back-to-top-link:before {
    content: "";
    position: absolute;
    top: 0;
    right: 37px;
    width: 1px;
    height: 10px;
    background: #172A88;
    transform: skewX(31deg);
}
.footer__back-to-top-link:after{
    content:"";
    position: absolute;
    top: 0;
    right: 40px;
    width: 1px;
    height: 140px;
    background:#172A88;
}
.footer__back-to-top:hover {
    opacity: 0.7;
}


/* WEB小 */
@media (max-width: 1200px) {
.service-popup-content {
    width: 700px;
}
.service-list li {
    width: 100%;
}
}

/* タブレット */
@media (max-width: 768px) {
.header {
    padding: 2rem;
    justify-content: space-between;
    align-items: center;
}
.header__nav li:not(:last-child) {
    margin: 10px 15px 0 0;
}
.header__btn {
    width: 220px;
}
.header__main h1 img {
    height: 28px;
}
.service-popup-content {
    padding: 4rem 2rem;
    max-width: 90%;
    width: 430px;
}
.service-popup-inner {
    gap: 30px;
}
.category-title {
    font-size: 2rem;
    margin-bottom: 10px;
}
.sitemap-item {
    font-size: 1.6rem;
}
.service-popup-close {
    top: 15px;
    right: 15px;
}
#lead {
    padding: 40px 0;
}
#lead .container {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    text-align: center;
}
.lead__description{
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
}
#lead .container img{
    width: 70%;
    max-width: 250px;
    height: auto;
}
#service .container{
    padding: 4rem 0;
}
.service__nav {
    margin-bottom: 5rem;
}
.service__nav-title {
    font-size: 4rem;
}
.section__nav-subtitle {
    font-size: 1.4rem;
}
.service-category-nav {
    margin-top: 20px;
}
.service-category-nav ul {
    flex-wrap: wrap;
    justify-content: center;
}
.service-category-nav li {
    margin: 0 0 3rem !important;
    width: 34%;
    text-align: center;
}
.service-category-nav a {
    font-size: 1.6rem;
    padding-bottom: 5px;
    display: inline-block;
}
.service-category:not(:first-of-type) {
    margin-top: 8rem;
}
.service-category--myhome::before{
    top: -12%;
    right: -10%;
    width: 300px;
    height: 300px;
}
.service-category--property::before{
    top: -18%;
    right: -10%;
    width: 300px;
    height: 300px;
}
.service-category--reform::before{
    top: -10%;
    left: -10%;
    width: 300px;
    height: 300px;
}
.service-category--other::before{
    top: 0;
    left: -5rem;
    width: 300px;
    height: 300px;
}
.category-header-l,
.category-header-r {
    margin-bottom: 30px;
}
.category-header__bg-text {
    font-size: 8rem;
    white-space: normal;
    line-height: 1;
}
.category-header__title {
    font-size: 2.8rem;
}
.category-header-l__inner{
    flex-direction: column;
    align-items: flex-end;
}
.category-header-r__inner{
    flex-direction: column-reverse;
    align-items: flex-start;
}
.service-grid {
    width: 100%;
}
.service-grid--layout-r .swiper-slide{
    margin-left: 2rem;
}
.service-item {
    width: 280px;
    flex-shrink: 0;
}
.service-item__tag {
    font-size: 1.8rem;
    padding: 0.3rem 1.5rem;
}
.service-item__image {
    height: 16rem;
}
.service-item__title {
    font-size: 1.6rem;
    padding: 0 1rem;
}
.service-item__description {
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}
.service-item__btn {
    font-size: 1.4rem;
    padding: 1rem 1.5rem;
    margin: 0 1rem 1rem 1rem;
}
#footer{
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.footer__sitemap{
    flex-wrap: wrap;
}
.footer__sitemap-category {
    width: 48%;
    padding: 0 0 3rem 0!important;
}
.footer__ad-button-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 30px;
}
.footer__ad-button {
    width: 100%;
}
.footer__bottom{
    flex-direction: column;
    align-items:baseline
}
.footer__legal-list{
    flex-direction: column;
}
.footer__legal-item:not(:last-child)::after{
    content: none;
}
.footer__legal-nav{
    margin-bottom: 1.5rem;
}
.footer__back-to-top{
    bottom: 10px;
    height: 120px;
}
.footer__back-to-top-link:after{
    height: 100px;
}
@keyframes arrowback{
   0%{bottom:10px;}
   50%{bottom:20px;}
   100%{bottom:10px;}
}
}

@media (max-width: 640px) {
    .service-grid--layout-r .swiper-wrapper{
        justify-content: flex-start;
    }
}


/* スマートフォン */
@media (max-width: 480px) {
.header {
    padding: 2rem 0;
}
.header__main {
    justify-content: flex-end;
    height: 50px;
    padding: 0 20px;
}
.pc-global-nav {
    display: none;
}
.hbg-button {
    display: flex;
}
.pc-global-nav {
    display: none;
}
.fv__message {
    width: 70vw;
    top: 43%;
}
.fv__message h2{
    font-size: 3.8vw;
}
.fv__scroll{
    height: 100px;
}
.fv__scroll::before{
    right: 27px;
}
.fv__scroll:after{
    height: 100px;
    right: 30px;
}
.fv__scroll a{
    font-size: 1.6rem;
}
@keyframes arrowmove{
   0%{bottom:20%;}
   20%{bottom:10%;}
   80%{bottom:10%;}
   100%{bottom:-80%;}
}
.lead__description{
    font-size: 1.6rem;
    line-height: 2;
}
.service-category--myhome::before{
    top: -12%;
    right: -10%;
    width: 200px;
    height: 200px;
}
.service-category--property::before{
    top: -9%;
    right: -10%;
    width: 200px;
    height: 200px;
}
.service-category--reform::before{
    top: -10%;
    left: 0;
    width: 200px;
    height: 200px;
}
.service-category--other::before{
    top: -5%;
    left: 0;
    width: 200px;
    height: 200px;
}
.category-header__bg-text {
    font-size: 6rem;
}
.category-header__bg-text {
    font-size: 6rem;
}
.category-header__title {
    font-size: 2.4rem;
    margin: 0;
}
.service-grid--layout-r .swiper-slide {
    margin-left: 0;
    margin-right: 2rem;
}
.service-grid .swiper-slide:last-child {
    margin-right: 0 !important;
}
.service-item__tag {
    font-size: 1.6rem;
    padding: 0.2rem 1rem;
}
.service-item__image {
    height: 15rem;
}
.service-item__description {
    padding: 0 1rem;
}
.service-item__btn {
    font-size: 1.3rem;
    padding: 0.8rem 1.2rem;
    margin: 0 1rem 1rem 1rem;
}

#footer{
    padding: 8% 0 5%;
}
.footer__container{
    padding: 0 5%;
}
.footer__logo{
    margin-bottom: 3rem;
}
.footer__sitemap{
    margin-bottom: 0;
}
.footer__ad-button-wrapper{
    margin-top: 0;
}
.footer__bottom{
    padding-top: 2rem;
}
.footer__back-to-top{
    height: 90px;
    right: 20px;
    width: 20px;
}
@keyframes arrowback{
   0%{bottom:15px;}
   50%{bottom:20px;}
   100%{bottom:15px;}
}
.footer__back-to-top-link{
    font-size: 1.4rem;
}
.footer__back-to-top-link:before{
    right: 27px;
}
.footer__back-to-top-link:after{
    height: 90px;
    right: 30px;
}
}