@media screen and (max-width: 510px) {


p {
    font-size: 11px;
    -webkit-text-size-adjust: 100%;
}
h2 {
    font-size: 38px;
    -webkit-text-size-adjust: 100%;
}


  /* ── パネル内ロゴ ── */
.header_page #g-nav .panel_logo {
    display: block;
    order: 1 !important;
    -webkit-order: 1 !important;
    flex: 0 0 auto;
    -webkit-flex: 0 0 auto;
    width: 42.66%;
    max-width: 250px;
    padding: 15px 0 0 20px;
    margin: 0 0 70px;
}
.header_page #g-nav .panel_logo a img {
    width: 100%;
    -webkit-user-drag: none;
}

.header_page #g-nav #g-navi-list li a {
    font-size: 28px;   
    -webkit-text-size-adjust: 100%;
}
.header_page #g-nav #g-navi-list li a span {
    font-size: 13px;
    -webkit-text-size-adjust: 100%;
}

.header_page #g-nav .sns {
    width: 100%;
    order: 3 !important;
    -webkit-order: 3 !important;
    flex: 1 1 auto !important;
    -webkit-flex: 1 1 auto !important;
    min-height: 0;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    background: #fff;
}
.header_page #g-nav .sns ul {
    display: -webkit-flex;
    display: flex;
    gap: 25px; 
    -webkit-justify-content: space-between;
    justify-content: space-between; 
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-align-items: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 90px;

}
.header_page #g-nav .sns li {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}
.header_page #g-nav .sns li img {
    width: 40px;
    -webkit-user-drag: none;
}

/* トップのheader_page表示による設定 */
.header_page.visible .logo,
.header_page.visible .contact {
    display: none !important;
}
/* 2. 表示したい要素 */
.header_page.visible .openbtn1,
.header_page.visible #menuPanel,
.header_page.visible #g-navi-list {
    display: block !important;
}

.header_page.visible {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: auto !important;
    overflow: visible !important;
    border-bottom: none !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* スクロールアイコン */
.scroll-icon {
    position: absolute;
    top:30%;
    left: 5%;
    width: 10px;
    height: 30%;
    overflow: visible;
    z-index: 10;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.scroll-icon .line {
    position: absolute;
    top: 0px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 1px;
    height: 0px;
    background: #000;
    opacity: 1; /* 常に表示 */
    -webkit-animation: stretch 3.5s linear infinite;
    animation: stretch 3.5s linear infinite;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}
.scroll-icon .scrolltext {
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 600;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    letter-spacing: 0.1em;
}
    @-webkit-keyframes stretch {
        0% {
            height: 0px;
            top: 60px;
        }
        50% {
            height: calc(100% - 60px);
            top: 60px;
        }
        100% {
            height: 0px;
            top: 100%;
        }
    }
    @keyframes stretch {
        0% {
            height: 0px;
            top: 60px;
        }
        50% {
            height: calc(100% - 60px);
            top: 60px;
        }
        100% {
            height: 0px;
            top: 100%;
        }
    }

.main {
    width: 100%;
    height: 197vw;
    margin: 0;
    /* background-image: url('../images/fv_sample.svg'); */
    background-position: top center;
    background-size: cover;
    position: relative;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.logo {
    width: 42.66%;
    padding: 15px 0 0 20px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 13;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.logo img {
    width: 100%;
    -webkit-user-drag: none;
}
.tag {
    width: 100%;
    padding: 10px;
    background: #000;
    overflow: hidden;
    position: relative;
    text-align: center;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.tag .scrolling-wrapper {
    display: -webkit-flex;
    display: flex;
    white-space: nowrap;
    will-change: -webkit-transform;
    will-change: transform;
}
.tag .scroll-list {
    display: inline-flex;
    padding: 0.7em 0;
    margin: 0;
    -webkit-animation: scroll 20s linear infinite;
    animation: scroll 20s linear infinite;
}
.tag .scroll-list li {
    position: relative;
    display: inline-block;
    margin: 0 0.8em;
    font-size: 13px;
    line-height: 1em;
    font-weight: bold;
    color: #fff;
    -webkit-text-size-adjust: 100%;
}
@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

.link_form a {
    display: inline;
    position: relative;
    color: var(--main_color);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.8em;
    padding-bottom: 0.05em;
    text-decoration: none;
    background-image: -webkit-linear-gradient(var(--main_color), var(--main_color));
    background-image: linear-gradient(var(--main_color), var(--main_color));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 1px;  /* ← 幅0で待機 */
    -webkit-text-size-adjust: 100%;
}

.single_sell .thumbnail .facade_tag {
    width: 50%;
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 9px;
}

.single_sell .wrapper_single_sell .sell_info p {
    font-size: 12px;
    font-family: 'Yu Gothic', '游ゴシック体', YuGothic, '游ゴシック Medium', 'Yu Gothic Medium', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', メイリオ, sans-serif;
    -webkit-text-size-adjust: 100%;
}
.single_sell .wrapper_single_sell .sell_info h3 {
    margin: 20px 0 35px;
    font-size: 20px;
    -webkit-text-size-adjust: 100%;
}
.single_sell .wrapper_single_sell .sell_info .comment {
    font-size: 12px;
}

.h2_ttl {
    margin: 0 6.13%  30px;
    font-size: 28px;
    -webkit-text-size-adjust: 100%;
}
.h2_ttl span {
    float: right;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    -webkit-text-size-adjust: 100%;
}

.sell_spec {
    overflow: hidden;
    margin-bottom: 80px;
    padding: 8px 0 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.sell_spec_area {
    font-size: 10px;
    text-align: left;
}
.sell_spec_area .meters::before {
    top: 50%;
    left: 0.5em;
    width: 25px;
    height: 15px;
}
.sell_spec_area .tsubo::before {
    top: 50%;
    left: 0.5em;
    width: 24px;
    height: 15px;
}

/* Interior absolute要素 */
.interior {
    margin: 0 0 60px;
}
.intro {
    position: relative;
    width: 100%;
    height: 90px;
}
.intro .icon_interior {
    position: absolute;
    top: 2.13%;
    left: 6.13%;
    width: 22.4%;
}
.intro .tag_1 {
    position: absolute;
    top: 0;
    right: 0%;
    width: 37%;
    font-size: 9px;
}
.intro .tag_1 li {
    font-family: 'Avenir Next', 'Helvetica Neue';
    font-weight: 600;
    letter-spacing: 0.02em;
}
.intro .tag_1 li::before {
    content: "#";
}
.plan {
    width: calc(100% - 12.26%);
    margin: 0 6.13%;
}
.interior-a {
    position: relative;
    width: 100%;
    height: 87vw;
}
.interior-a h3 {
    position: absolute;
    top: 50px;
    left: 10.66%;
    width: 100%;
    font-size: 32px;
    color: var(--main_color);
    z-index: 20;
}
.interior-a h3 span {
    position: absolute;
    top: 0;
    margin: -15px 0 0 -5px;
    font-size: 15px;
    font-weight: 600;
}
.interior-a img {
    position: absolute;
    top: 75px;
    right: 0;
    width: 85%;
    aspect-ratio: 1.5 / 1;
}
.interior-a .point {
    position: absolute;
    top: 75.5vw;
    left: 14.5%;
    width: 86.5%;
}
.interior-a .point img {
    width: 50px;
    position: static;
    display: block;
    margin: 0 10px 0 0;
}
.interior-a .point p {
    width: calc( 100% - 10%);
    display: block;
    font-size: 14px;
    line-height: 1.7em;
    text-align: justify;
}

.interior-b {
    position: relative;
    width: 100%;
    height: 83vw;
}
.interior-b h3 {
    position: absolute;
    top: 37vw;
    left: 43%;
    width: 100%;
    font-size: 32px;
}
.interior-b h3 span {
    position: absolute;
    top: 30px;
    margin: 0 0 0 -40px;
    font-size: 15px;
}
.interior-b img {
    position: absolute;
    top: 30px;
    left: 0;
    width: 45%;
    aspect-ratio: 1 / 1.5;
    object-fit: cover;
}
.interior-b .point {
    position: absolute;
    top: 57.5vw;
    left: 47%;
    width: 50%;
}
.interior-b .point img {
    width: 50px;
    position: static;
    display: block;
    margin: 0 10px 0 0;
}
.interior-b .point p {
    width: 93%;
    display: block;
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.7em;
    text-align: justify;
}

.interior-c {
    position: relative;
    width: 100%;
    height: 83vw;
}
.interior-c h3 {
    position: absolute;
    top: 37vw;
    left: 5%;
    width: 50%;
    font-size: 32px;
}
.interior-c h3 span {
    position: absolute;
    top: 30px;
    margin: 0 0 0 -40px;
    font-size: 15px;
}
.interior-c img {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
}
.interior-c .point {
    position: absolute;
    top: 55vw;
    left: 5%;
    width: 50%;
}
.interior-c .point img {
    width: 50px;
    position: static;
    display: block;
    margin: 0 10px 0 0;
    aspect-ratio: 1 / 1.5;

}
.interior-c .point p {
    width: 95%;
    display: block;
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.7em;
    text-align: justify;
}

.interior-d {
    position: relative;
    width: 100%;
    height: 80vw;
}
.interior-d h3 {
    position: absolute;
    top: 25px;
    left: 10.66%;
    width: 100%;
    font-size: 32px;
}
.interior-d h3 span {
    position: absolute;
    top: 0;
    margin: -18px 0 0 -5px;
    font-size: 15px;
}
.interior-d img {
    position: absolute;
    top: 48px;
    right: 0;
    width: 78%;
    margin: 0 11%;
    aspect-ratio: 1.5 / 1;
}
.interior-d .point {
    position: absolute;
    top: 65.5vw;
    left: 11%;
    width: 83%;
}
.interior-d .point img {
    width: 50px;
    position: static;
    display: block;
    margin: 0 10px 0 0;
}
.interior-d .point p {
    width: 93%;
    display: block;
    font-size: 14px;
    line-height: 1.7em;
    text-align: justify;
}


.consul_tag {
    top: -58vw;
    left: 0;
}
.consul_image02 {
    position: absolute;
    width: 100%;
    top: -10vw;
    left: 0;
}

.strength::-webkit-scrollbar {
    display: none;     /* Chrome, Safari */
}
.arrow-left {
    position: absolute;
    top: 50%;
    left: 23px;
    width: 10px;
    height: 20px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.arrow-right {
    position: absolute;
    top: 50%;
    right: 23px;
    width: 10px;
    height: 20px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.dot {
    width: 8px;
    height: 8px;
    margin: 0 15px;
}
.dot.active {
    background: #000;
}

.note__form {
    margin-top: -30px;
    font-size: 8px;
    -webkit-text-size-adjust: 100%;
}
.form-item .form-item-label {
    padding: 20px 0 10px;
    font-size: 10px;
    -webkit-text-size-adjust: 100%;
}
.form-item .form-radio-group {
    margin: 0 0 0 17px;
    font-size: 12px;
    line-height: 1.6em;
    padding-bottom: 30px;
    -webkit-text-size-adjust: 100%;
}
.form-radio-group label::before {
    border-radius: 3px;
}

.form-item .form-item-textarea {
    width: calc(100% - 50px);
    height: 120px;
    margin: 0 25px 20px;
    font-size: 10px;
    -webkit-text-size-adjust: 100%;
}

.required_sp {
    display: inline-block;
    margin-left: 2px;
    font-size: 7px;
    color: var(--main_color);
    -webkit-text-size-adjust: 100%;
}
input[type="text"],input[type="email"] {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin: 0 25px 20px;
    padding: 0 1em;
    height: 32px;
    flex: 1;
    -webkit-flex: 1;
    width: calc(100% - 50px);
    font-size: 10px;
    background: #efefef;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input::placeholder, textarea::placeholder {
    font-family: 'Yu Gothic',"游ゴシック体",YuGothic,"游ゴシック Medium", "Yu Gothic Medium",'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',メイリオ,sans-serif;
    font-size: 10px;
    -webkit-text-size-adjust: 100%;
}
/* iOS／Chrome for Android などの WebKit 系 */
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    font-family: 'Yu Gothic',"游ゴシック体",YuGothic,"游ゴシック Medium", "Yu Gothic Medium",'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',メイリオ,sans-serif;
    font-size: 1em;
    font-weight: 500;
    color: #B5B5B6;
    -webkit-text-size-adjust: 100%;
}
/* エラーメッセージ */
.error-message,.success-message {
    color: var(--main_color);
    font-size: 10px;
    margin: -11px 0 0 23px;
    -webkit-text-size-adjust: 100%;
}

.form-btn {
    position: relative;
    margin: 90px auto 30px;
    padding: 10px 10px 10px 0;
    width: 100px;
    height: 40px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    -webkit-text-size-adjust: 100%;
}
.form-btn::after {
    position: absolute;
    content: "";
    top: 50%;
    right: 15px;
    width: 18px;
    height: 12px;
}
.form-btn:hover::after {
    right: 9px;
    background-image: url('../images/icon_submit_hover.svg'); 
    transition: all 0.5s ease;
}

.info_4col {
    height: 60px;
}

footer {
    width: 100%;
}
footer .footer_block {
    padding: 85px 27px 60px;
    background: #000;
}
footer .footer_block .footer_logo {
    margin: 0;
}
footer .footer_block .footer_logo li {
    height: 33px;
    margin: 0 0 20px;
}
footer .footer_block .company_info {
    width: 100%;
    margin: 65px 0 75px;
    font-size: 12px;
}
footer .footer_block .company_info dt {
    padding-bottom: 7px;
}
footer .footer_block .company_info dd {
    padding-bottom: 7px;
}
footer .footer_block .copy {
    font-size: 10px;
}


}