/*
Theme Name: prime
Description: 2025.5.28
Version: 1.0
Author: ---
*/

@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/*===================================
共通設定
===================================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    vertical-align: middle;
}

html {
    font-size: 16px;
    /* remの基準に */
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

body {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: .04rem;
    color: #333;
}

main:before {
    position: fixed;
    content: '';
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url(https://mrp-design.moo.jp/wp-content/themes/prime/img/bg/bg.jpg)no-repeat center center / cover;
}

a,
a:hover,
a:visited {
    color: inherit;
    text-decoration: none;
}

a:hover {
    transition: all .5s;
    cursor: pointer;
}

@media (min-width: 769px) {
  a[href^="tel:"] {
    pointer-events: none;
    color: inherit;
    text-decoration: none;
    cursor: default;
  }
}

li a {
    display: block;
    width: 100%;
    height: 100%;
}

.underline {
    text-decoration: underline;
    text-underline-offset: 4px;

    &:hover {
        opacity: .8;
    }
}

/*===================================
テキスト
===================================*/

h1 {
    font-size: 2rem;
    /*32px*/
    font-weight: 600;
    text-align: center;
}

h2 {
    font-size: 2.25rem;
    /*36px*/
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    width: 90%;
    margin: 0 auto;
}

h3 {
    font-size: 2rem;
    /*32px*/
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

h4 {
    font-size: 1.5rem;
    /*24px*/
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.hr {
    position: relative;
    padding: 0 64px;
    margin: 0 auto;
    width: fit-content;
}

.hr:before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 48px;
    height: 2px;
    content: '';
    background-color: #659B00;
}

.hr:after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 48px;
    height: 2px;
    content: '';
    background-color: #659B00;
}

.hr-b {
    position: relative;
    padding: 0 64px;
    margin: 0 auto;
    width: fit-content;
}

.hr-b:before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 48px;
    height: 2px;
    content: '';
    background-color: #333;
}

.hr-b:after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 48px;
    height: 2px;
    content: '';
    background-color: #333;
}

.hr2 {
    color: #659B00;
    line-height: 1;
    border-left: solid 8px #659B00;
    text-align: left !important;
    width: 100%;
    margin-bottom: 40px;
    padding: 0 0 4px 8px;
}

.hr3 {
    position: relative;
    width: fit-content;
}

.hr3:after {
    position: absolute;
    top: 50%;
    right: -88px;
    width: 80px;
    height: 2px;
    content: '';
    background-color: #659B00;
}

.hr:after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 48px;
    height: 2px;
    content: '';
    background-color: #659B00;
}

.hr4,
.hr4-g {
    position: relative;
    padding: 0 40px;
    margin: 0 auto;
    width: fit-content;
}

.hr4:before,
.hr4:after,
.hr4-g:before,
.hr4-g:after {
    position: absolute;
    content: '';
    bottom: 50%;
    width: 2px;
    height: 3rem;
    margin: 0 1rem;
}

.hr4:before,
.hr4:after {
    background-color: #333;
}

.hr4-g:before,
.hr4-g:after {
    background-color: #659B00;
}

.hr4:before,
.hr4-g:before {
    position: absolute;
    left: 0;
    transform: translateY(50%) rotate(-20deg);
}

.hr4:after,
.hr4-g:after {
    position: absolute;
    right: 0;
    transform: translateY(50%) rotate(20deg);
}

.font20 {
    font-size: 1.25rem;
}

.font16 {
    font-size: 1rem;
}

.explanation {
    margin: 40px auto;
    max-width: 90%;
    line-height: 1.7;
}

.green {
    color: #659B00;
}

.orange {
    color: #FF8629;
}

.yellow {
    color: #FFFC41;
}

.dots {
    background-image: radial-gradient(circle at center, #fff 20%, transparent 20%);
    /* 点の色とサイズ調整 */
    background-position: top left;
    /* 点の位置 */
    background-repeat: repeat-x;
    /* 横方向に繰り返し */
    background-size: 1em 0.2em;
    /* 点の間隔とサイズ調整 */
    padding-top: 0rem;
    /* 縦方向の位置調整 */
}

.bold {
    font-weight: 600;
}

.br {
    display: none;
}

.br2 {
    display: none;
}

@media screen and (max-width:768px) {
    .br {
        display: block;
    }

    .none {
        display: none;
    }
}

@media screen and (max-width:428px) {
    h1 {
        font-size: 1.5rem;
        /*24px*/
    }

    h2 {
        font-size: 1.75rem;
        /*28px*/
    }

    .hr {
        padding: 0 32px;
    }

    .hr:before,
    .hr:after {
        width: 24px;
    }

    .hr-b {
        padding: 0 32px;
    }

    .hr-b:before,
    .hr-b:after {
        width: 24px;
    }

    h3 {
        font-size: 1.5rem;
        /*24px*/
    }

    h4 {
        font-size: 1.25rem;
        /*20px*/
    }

    .br2 {
        display: block;
    }

    .none2 {
        display: none;
    }

}

/*===================================
ヘッダー
===================================*/

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    height: 72px;
    background-color: #fff;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(1440px, 100%);
    height: 100%;
    margin: 0 auto;
}

.logo {
    width: 267px;
    margin: 0 0 0 16px;
}

@media screen and (max-width:1096px) {
    header {
        height: 56px;
    }

    .logo {
        width: 177px;
        margin: 0 0 4px 16px;
    }
}

/*===================================
PCメニュー
===================================*/

.nav_pc {
    margin-right: 16px;
}

.nav_pc ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

.nav_pc ul ul {
    display: block;
}

.nav_pc li {
    position: relative;
}

.has-child ul {
    position: absolute;
    left: -16px;
    top: 60px;
    z-index: 5;
    background: #fff;
    width: fit-content;
    padding: 8px 16px;
    visibility: hidden;
    opacity: 0;
    transition: all .5s;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
}

.has-child:hover>ul,
.has-child:active>ul {
    visibility: visible;
    opacity: 1;
}

.has-child {
    display: block;
    height: 48px;
    line-height: 48px;
    font-weight: 600;
    padding: 0 8px;
    white-space: nowrap;
}

.nav_pc a {
    display: block;
    height: 48px;
    line-height: 48px;
    font-weight: 600;
    padding: 0 12px;
    white-space: nowrap;

    &:hover {
        opacity: .7;
    }
}

.nav_pc_tel {
    text-align: center;
}

.nav_pc_tel a {
    color: #659B00;
    font-size: 1.75rem;
    font-weight: 700;
    height: fit-content;
    line-height: 1.25;
}

.nav_pc_tel img {
    width: 18px;
    margin: 0 4px 5px 0;
}

.nav_pc_tel p {
    font-size: .75rem;
}

.nav_pc_cta {
    line-height: 44px !important;
    border: 2px solid #659B00;
    border-radius: 4px;
    font-weight: 600;
    color: #fff !important;
    background-color: #659B00;

    &:hover {
        color: #659B00 !important;
        background-color: #FFF;
        opacity: 1;
    }
}

@media screen and (max-width:1096px) {
    .nav_pc {
        display: none;
    }
}

/*===================================
スマホメニュー
===================================*/

.nav_sp {
    display: none;
}

.nav_sp_menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.nav_sp_tel {
    display: block;
    background-color: #659B00;
    width: 56px;
    height: 56px;
    background-image: url(https://mrp-design.moo.jp/wp-content/themes/prime/img/icon/tel2.png);
    background-repeat: no-repeat;
    background-position: left 50% top 50%;
    background-size: 24px auto;

    &:hover {
        background-color: #fff;
        background-image: url(https://mrp-design.moo.jp/wp-content/themes/prime/img/icon/tel.png);
    }
}

.free_assessment {
    display: block;
    color: #fff !important;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .1rem;
    background-color: #FF8629;
    width: 56px;
    height: 56px;
    padding: 8px;

    &:hover {
        color: #FF8629 !important;
        background-color: #fff;
    }
}

.hamburger {
    position: relative;
    width: 56px;
    height: 56px;
    border: none;
    background-color: #fff;
    cursor: pointer;
}

.hamburger_line {
    position: absolute;
    width: 32px;
    height: 2px;
    left: 12px;
    background-color: #659B00;
    transition: all .5s;
}

.hamburger_line:nth-of-type(1) {
    top: 20px;
}

.hamburger_line:nth-of-type(2) {
    top: 28px;
}

.hamburger_line:nth-of-type(3) {
    top: 36px;
}

/* メニューオープン時 */
.hamburger.active .hamburger_line:nth-of-type(1) {
    transform: translateY(8px) rotate(-45deg);
}

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

.hamburger.active .hamburger_line:nth-of-type(3) {
    transform: translateY(-8px) rotate(45deg);
}

.nav_sp .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: -20;
    width: 100%;
    height: fit-content;
    background-color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-120%);
    transition: transform .5s;
}

.nav_sp .nav.active {
    transform: translateY(0);
}

.nav_list {
    padding-top: 56px;
    list-style: none;
}

.nav_link {
    display: block;
    padding: 24px 32px;
    color: #659B00 !important;
    font-weight: 600;
    border-bottom: 1px solid #ccc;

    &:hover {
        background-color: #ECF5DB;
    }
}

.nav_arrow {
    position: relative;
}

.nav_arrow:after {
    position: absolute;
    top: 0;
    right: 24px;
    bottom: 0;
    margin: auto;
    content: '';
    width: 8px;
    height: 8px;
    border-top: solid 2px #659B00;
    border-right: solid 2px #659B00;
    transform: rotate(45deg);
}

.nav_toggle {
    position: relative;
    cursor: pointer;
    transition: all .5s ease;
}

/*　アイコンの＋と-　*/
.nav_toggle:before,
.nav_toggle:after {
    position: absolute;
    content: '';
    width: 16px;
    height: 2px;
    background-color: #659B00;
}

.nav_toggle:before {
    top: 32px;
    right: 20px;
    transform: rotate(0deg);
}

.nav_toggle:after {
    top: 32px;
    right: 20px;
    transform: rotate(90deg);
}

/*　closeというクラスがついたら形状変化　*/
.nav_toggle.close:after {
    opacity: 0;
}

/*アコーディオンで現れるエリア*/
.accordion-area {
    display: none;
    list-style: none;
}

.accordion-area .nav_link {
    padding-left: 48px;
}

.nav_sp_cta_tel,
.nav_sp_cta_mail {
    display: block;
    width: 256px;
    height: 64px;
    line-height: 60px;
    border-radius: 4px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff !important;
    padding: 0 24px 0 56px;
    margin: 24px auto;
    text-align-last: justify;
}

.nav_sp_cta_tel {
    border: 2px solid #659B00;
    background-color: #659B00;
    background-image: url(https://mrp-design.moo.jp/wp-content/themes/prime/img/icon/tel2.png);
    background-repeat: no-repeat;
    background-position: left 26px top 50%;
    background-size: 20px auto;

    &:hover {
        color: #659B00 !important;
        background-color: #FFF;
        background-image: url(https://mrp-design.moo.jp/wp-content/themes/prime/img/icon/tel.png);
        opacity: 1;
    }
}

.nav_sp_cta_mail {
    border: 2px solid #FF8629;
    background-color: #FF8629;
    background-image: url(https://mrp-design.moo.jp/wp-content/themes/prime/img/icon/mail.png);
    background-repeat: no-repeat;
    background-position: left 24px top 50%;
    background-size: 24px auto;

    &:hover {
        color: #FF8629 !important;
        background-color: #FFF;
        background-image: url(https://mrp-design.moo.jp/wp-content/themes/prime/img/icon/mail2.png);
        opacity: 1;
    }
}

@media screen and (max-width:1096px) {

    .nav_sp {
        display: block;
    }
}

/*===================================
追従ボタン
===================================*/

.follow-button {
    position: fixed;
    bottom: 50%;
    right: 0;
    transform: translateY(55%);
    z-index: 10;
}

.follow-button-assessment,
.follow-button-property {
    display: block;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: .2rem;
    color: #fff !important;
    padding: 16px;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-feature-settings: initial;
}

.follow-button-assessment {
    background-color: #FF8629;
    border: 2px solid #FF8629;
    margin-bottom: 16px;

    &:hover {
        color: #FF8629 !important;
        background-color: #FFF;

        .arrow:before {
            border: 2px solid #FF8629;
            transition: all .5s;
        }

        .arrow:after {
            border-top: solid 2px #FF8629;
            border-right: solid 2px #FF8629;
            transition: all .5s;
        }
    }
}

.follow-button-property {
    background-color: #659B00;
    border: 2px solid #659B00;

    &:hover {
        color: #659B00 !important;
        background-color: #FFF;

        .arrow:before {
            border: 2px solid #659B00;
            transition: all .5s;
        }

        .arrow:after {
            border-top: solid 2px #659B00;
            border-right: solid 2px #659B00;
            transition: all .5s;
        }
    }
}

.follow-button-assessment img,
.follow-button-property img {
    display: none;
}

.arrow {
    position: relative;
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 8px;
}

.arrow:before {
    position: absolute;
    content: '';
    width: 1.25rem;
    height: 1.25rem;
    top: 0;
    left: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    margin: auto;
}

.arrow:after {
    position: absolute;
    top: 0;
    left: .375rem;
    bottom: 0;
    margin: auto;
    content: '';
    width: .375rem;
    height: .375rem;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    transform: rotate(45deg);
}

@media screen and (max-width:768px) {
    .follow-button {
        display: flex;
        bottom: 0;
        transform: translateY(0);
        width: 100%;
    }

    .follow-button-assessment,
    .follow-button-property {
        font-size: 1rem;
        letter-spacing: .05rem;
        padding: 16px 0;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        -webkit-writing-mode: horizontal-tb;
        -ms-writing-mode: horizontal-tb;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        font-feature-settings: normal;
        width: 50%;
        text-align: center;
    }

    .follow-button-assessment {
        margin-bottom: 0px;
    }

    .arrow {
        display: none;
    }

    .follow-button-assessment img {
        display: inline-block;
        width: 16px;
        margin: 0 4px 2px 0;
    }

    .follow-button-property img {
        display: inline-block;
        width: 16px;
        margin: 0 4px 2px 0;
    }
}

/*===================================
CTA
===================================*/

#cta {
    padding: 64px 0;
}

.cta {
    width: min(960px, 90%);
    margin: 0 auto;
    padding: 64px 0px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 4px;
    text-align: center;
}

.cta h2 {
    font-size: clamp(1.25rem, 1.129rem + 0.52vw, 1.75rem);
    margin-bottom: 40px;
}

.cta-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    border-top: solid 1px #333;
    border-bottom: solid 1px #333;
    width: 87%;
    margin: 0 auto;
    padding: 40px 0;
}

.cta_line {
    display: block;
    width: 336px;
    height: 80px;
    line-height: 76px;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    background-color: #01A906;
    border: solid 2px #01A906;
    border-radius: 4px;

    &:hover {
        color: #01A906 !important;
        background-color: #fff;

        span {
            color: #fff;
            background-color: #01A906;
            transition: all .5s;
        }
    }

    &:visited {
        color: #fff;
    }
}

.cta_line span {
    color: #01A906;
    font-size: 1.25rem;
    background-color: #fff;
    padding: 4px 8px 6px;
    border-radius: 2px;
    margin-right: 16px;
}

.cta-inner p:first-child {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.cta-inner p:last-child {
    margin-top: 16px;
}

.cta-inner a {
    color: #FF8629;
    font-size: 2.25rem;
    font-weight: 700;
}

.cta-inner img {
    width: 24px;
    margin: 0 8px 8px 0;
}

/*===================================
ボタン
===================================*/

.button {
    position: relative;
    display: block;
    width: 240px;
    height: 48px;
    line-height: 44px;
    font-weight: 600;
    color: #fff !important;
    background-color: #659B00;
    border: solid 2px #659B00;
    border-radius: 2px;
    margin: 0 auto;
    text-align: center;

    &:hover {
        color: #659B00 !important;
        background-color: #fff;
    }
}

.button.arrow-right::after {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    margin: auto;
    right: 16px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    transition: all .5s;
}

.button.arrow-right:hover::after {
    border-color: #659B00;
}

.button-before {
    display: block;
    width: 240px;
    height: 48px;
    line-height: 44px;
    font-weight: 600;
    color: #fff !important;
    background-color: #659B00;
    border: solid 2px #659B00;
    border-radius: 2px;
    margin: 0 auto;
    text-align: center;

    &:hover {
        color: #659B00 !important;
        background-color: #fff;

        .button-before .arrow-left:after {
            border-top: solid 2px #659B00;
            border-right: solid 2px #659B00;
            transition: all .5s;
        }
    }
}

.button-before .arrow-left {
    position: relative;
    display: inline-block;
    width: 1rem;
    height: 1rem;
}

.button-before .arrow-left:after {
    position: absolute;
    top: 4px;
    right: 8px;
    bottom: 0;
    margin: auto;
    content: '';
    width: .375rem;
    height: .375rem;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    transform: rotate(-135deg);
}

/*===================================
フッター
===================================*/

footer {
    padding: 48px 0;
    color: #fff;
    background-color: #3D5E00;
}

.footer {
    width: min(1440px, 90%);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 auto;
    padding: 0 64px;
    font-size: .875rem;
}

.footer li {
    list-style: none;
    line-height: 2rem;
    display: block;
    white-space: nowrap;
}

.footer-company {
    width: 280px;
}

.footer-company ul {
    margin: 16px 0;
}

.footer-company p {
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-tel {
    font-size: 1.25rem;
    font-weight: 600;
    background: url(https://mrp-design.moo.jp/wp-content/themes/prime/img/icon/tel2.png)no-repeat left center / contain;
    background-size: 16px auto;
    padding-left: 24px;
}

.footer img {
    width: 24px;
}

.online {
    display: block;
    width: 120px;
    height: 32px;
    line-height: 32px;
    font-weight: 600;
    color: #3D5E00 !important;
    background-color: #fff;
    border-radius: 2px;
    text-align: center;
    margin-top: 16px;
}

/*　カレンダー　*/
.xo-event-calendar {
    width: 256px;
}

.month-header {
    color: #fff;
}

.nav-prev {
    width: 15px !important;
    border-bottom: 2px solid #fff !important;
    border-left: 2px solid #fff !important;
}

.nav-next {
    height: 14px !important;
    border-top: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
}

.today {
    color: #333 !important;
    text-decoration: underline;
}

.site_map {
    display: flex;
    column-gap: 24px;
    row-gap: 2rem;
}

.site_map li:hover {
    opacity: .8;
}

.site-map-centertop {
    margin-bottom: 2rem;
}

.copyright {
    margin-top: 48px;
    padding-top: 48px;
    border-top: solid 1px #fff;
}

.copyright div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 64px;
    row-gap: 24px;
    font-size: .75rem;
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

/*Fudousan Plugin Ver.6.8.0を非表示*/
#nendebcopy {
    display: none !important;
}

@media (max-width: 1024px) {
    .site_map {
        max-height: fit-content;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 48px 0 96px;
    }

    .footer {
        padding: 0;
    }
}