/* CSS Reset */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
    overflow-x: hidden;
}

ol,
ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    opacity: 0.7;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Start of custom styles */
body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-inner {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    max-width: 1800px;
    margin: 0 auto;
    padding: 20px 40px;
    height: 111px;
    box-sizing: border-box;
}

.header-inner .logo {
    flex: 1
}

.logo img {
    height: 66px;
}

.header-nav ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.header-nav li {
    margin: 0 10px;
}

.header-nav a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 1px;
    background-color: #5068A9;
    transform: translateY(-50%);
}

.header-nav li:last-child {
    border-right: none;
}

.header-nav a {
    position: relative;
    font-size: 14px;
    font-weight: 400;
    padding-left: 17px;
}

.header-contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.tel-button,
.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2d466f;
    border-radius: 21px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 700;
    margin-left: 10px;
    box-sizing: border-box;
}

.tel-button {
    color: #2d466f;
}

.tel-button:hover {
    background-color: #2d466f;
    color: #fff;
}

.tel-button:hover img {
    filter: brightness(0) invert(1);
}

.contact-button {
    background-color: #2d466f;
    color: #fff;
}

.tel-button img,
.contact-button img {
    margin-right: 8px;
    width: 13px;
    height: 13px;
}

.contact-button:hover {
    background-color: #ffffff;
    color: #2d466f;
}

.contact-button:hover img {
    filter: invert(24%) sepia(8%) saturate(1673%) hue-rotate(182deg) brightness(92%) contrast(90%);
}

/* Hero Section */
.hero {
    position: relative;
    height: 750px;
    background-image: url("img/hero-top_bg.webp");
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.swiper-slide img {
    width: 100%;
    height: 650px;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 7%;
    left: 10%;
    color: #fff;
}

.hero-subtitle {
    background-color: #fff;
    color: #2d466f;
    padding: 10px 20px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-subtitle-blue {
    background: linear-gradient(to right, #5068a9, #2d466f);
    color: #fff;
    padding: 10px 20px;
    font-size: 24px;
    font-weight: 700;
}

.hero-main-title {
    font-size: calc(1.5vw + 1.5rem);
    font-weight: 700;
    line-height: 1.4;
    position: absolute;
    top: 55%;
    right: 10%;
    color: #fff;
    letter-spacing: 4.16px;
}

/* Section Title */
.section-title {
    margin-bottom: 40px;
    text-align: center;
}

.section-title .sub-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    font-size: 20px;
    color: #5068a9;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 500;
    color: white;
    background: linear-gradient(to right, #5068a9, #2d466f);
    padding: 10px 30px;
    display: inline-block;
    letter-spacing: 2.88px;
}

/* News Section */
.news {
    padding: 80px 0;
}

.news-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.news .section-title {
    text-align: left;
    margin-bottom: 0;
    flex-shrink: 0;
    position: absolute;
    top: -52px;
    left: 60px;
}

.news-list {
    width: 626px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 6px 4px rgba(226, 226, 226, 0.25);
    padding: 40px;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s;
}

.news-item:hover {
    background-color: #f9f9f9;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item .date {
    font-size: 15px;
    color: #86a6df;
    width: 120px;
}

.news-item .text {
    font-size: 15px;
    color: #333;
}

/* About Section */
.about {
    padding: 120px 0;
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    max-width: 656px;
}

.section-title-left {
    text-align: left;
    margin-bottom: 30px;
}

.section-title-left .sub-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    font-size: 20px;
    color: #5068a9;
    margin-bottom: 0;
}

.section-title-left h2 {
    font-size: 36px;
    font-weight: 500;
    color: white;
    background: linear-gradient(to right, #5068a9, #2d466f);
    padding: 10px 20px;
    display: inline-block;
    letter-spacing: 2.88px;
}

.about-text h3 {
    font-size: 24px;
    font-weight: 500;
    color: #5068a9;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 30px;
}

.about-text .btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    width: 250px;
    height: 75px;
    border: 2px solid #5068a9;
    background-color: #fff;
    color: #5068a9;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
}

.about-text .btn:hover {
    color: #fff;
    border: 2px solid #5068A9;
    background: var(--Linear, linear-gradient(90deg, #5068A9 0%, #2D466F 100%));
}

.about-image {
    position: relative;
    width: 490px;
}

.about-image img {
    width: 100%;
    height: auto;
}

.stable-realestate {
    position: absolute;
    top: -160px;
    left: 12px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    font-size: 96px;
    color: #e2f5ff;
    line-height: 1;
}

/* YouTube Section */
.youtube-section {
    padding: 80px 0;
}

.youtube-content {
    text-align: center;
}

.youtube-content .section-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: #5068a9;
    margin-bottom: 20px;
}

.youtube-container {
    width: 700px;
    height: 394px;
    margin: 0 auto;
    background-color: #d9d9d9;
    margin-bottom: 20px;
}

.youtube-caption {
    font-size: 20px;
    font-weight: 500;
    color: #000;
}

/* Service Section */
.service {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.service-bg {
    position: absolute;
    top: 0;
    left: -100px;
    width: 778px;
    height: 611px;
    opacity: 0.7;
    z-index: -1;
}

.service-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: right;
}

.section-title-right {
    display: inline-block;
    text-align: left;
    margin-bottom: 60px;
}

.section-title-right .sub-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    font-size: 20px;
    color: #5068a9;
    line-height: 2;
}

.section-title-right h2 {
    font-size: 36px;
    font-weight: 500;
    color: white;
    background: linear-gradient(to right, #5068a9, #2d466f);
    padding: 10px 20px;
    display: inline-block;
    letter-spacing: 2.88px;
}

.service-cards {
    display: flex;
    justify-content: right;
    gap: 30px;
}

.service-card {
    width: 267px;
    height: 294px;
    position: relative;
    color: white;
    overflow: hidden;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: transform 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.card-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.card-name {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1.28px;
    color: #ffffff;
    text-align: left;
    padding: 5px 0;
}

.card-title {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1.28px;
    color: #5068a9;
}

.card-link {
    width: 100px;
    text-align: center;
    display: inline-block;
    background: linear-gradient(to right, #5068a9, #2d466f);
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1.28px;
    position: relative;
}

.card-link::after {
    content: '';
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background-image: url('img/arrow-up-circle.webp');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Property Info Section */
.property-info {
    position: relative;
}

.property-info-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 670px;
    background: linear-gradient(to right, #5068a9, #2d466f);
    z-index: -2;
}

.property-info-content {
    max-width: 1280px;
    margin: 0 auto;
    background-color: white;
    padding: 50px 40px;
}

.property-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.property-card {
    background-color: #e2f5ff;
    border-radius: 8px;
    padding-bottom: 50px;
    position: relative;
}

.property-card .card-image {
    height: 150px;
    background-color: #eaeaea;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9c9c9;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    font-size: 11px;
    margin-bottom: 10px;
}

.property-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.property-card .card-body {
    color: #5068a9;
    font-size: 11px;
}

.property-card .property-type {
    background-color: white;
    padding: 2px 5px;
    display: inline-block;
    margin-bottom: 10px;
}

.property-card .price,
.property-card .area {
    margin-bottom: 5px;
}

.property-card .description {
    background-color: white;
    padding: 5px;
    height: 40px;
    color: #000;
    font-size: 11px;
}


.category-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
    margin-bottom: 40px;
}

.category-header-top .en-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    font-size: 20px;
    color: #5068a9;
    margin-bottom: 10px;
}

/* Land Objects Section */
.land-objects {
    padding-bottom: 120px;
}

.land-objects .property-info-content {
    background-color: transparent;
    padding: 0;
}

.land-objects .btn {
    display: block;
    margin: 60px auto 0;
    width: 333px;
    height: 75px;
    border: 2px solid #5068a9;
    background-color: #fff;
    color: #5068a9;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    line-height: 75px;
    text-align: center;
}

.land-objects .btn:hover {
    color: #fff;
    border: 2px solid #5068A9;
    background: var(--Linear, linear-gradient(90deg, #5068A9 0%, #2D466F 100%));
}

/* Detached House Section */
.detached-house {
    padding-bottom: 120px;
}

.detached-house .property-info-content {
    background-color: transparent;
    padding: 0;
}

.detached-house .btn {
    display: block;
    margin: 60px auto 0;
    width: 333px;
    height: 75px;
    border: 2px solid #5068a9;
    background-color: #fff;
    color: #5068a9;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    line-height: 75px;
    text-align: center;
}

.detached-house .btn:hover {
    color: #fff;
    border: 2px solid #5068A9;
    background: var(--Linear, linear-gradient(90deg, #5068A9 0%, #2D466F 100%));
}

/* Apartment Building Section */
.apartment-building {
    padding-bottom: 120px;
}

.apartment-building .property-info-content {
    background-color: transparent;
    padding: 0;
}

.apartment-building .btn {
    display: block;
    margin: 60px auto 0;
    width: 333px;
    height: 75px;
    border: 2px solid #5068a9;
    background-color: #fff;
    color: #5068a9;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    line-height: 75px;
    text-align: center;
}

.apartment-building .btn:hover {
    color: #fff;
    border: 2px solid #5068A9;
    background: var(--Linear, linear-gradient(90deg, #5068A9 0%, #2D466F 100%));
}

/* Footer */
.footer {
    color: white;
}

.contact-section {
    position: relative;
    height: 469px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.contact-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #5068a9, #2d466f);
    opacity: 0.93;
    z-index: -1;
}

.contact-content {
    position: relative;
    z-index: 1;
    padding: 40px 80px;
    color: #fff;
}

.contact-content .sub-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
}

.title-container {
    background-color: white;
    display: inline-block;
    margin-bottom: 30px;
}

.title-container h2 {
    font-size: 36px;
    font-weight: 500;
    background: linear-gradient(to right, #5068a9, #2d466f);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    padding: 5px 20px;
    letter-spacing: 2.88px;
}

.contact-message {
    font-size: 15px;
    margin-bottom: 20px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-tel-link,
.footer-contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 205px;
    height: 52px;
    border-radius: 31px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    gap: 10px;
    line-height: 2;
}

.footer-tel-link {
    background-color: white;
    border: 1px solid #2d466f;
    color: #2d466f;
}

.footer-tel-link img {
    width: 19px;
    height: 19px;
}

.footer-contact-button {
    background-color: #2d466f;
    border: 1px solid white;
    color: white;
}

.footer-contact-button img {
    width: 19px;
    height: 19px;
}


.footer-info {
    font-size: 15px;
    line-height: 1.8;
}

.footer-bottom {
    background-color: #fff;
    border-top: 1px solid #ccc;
    color: #333;
    padding: 70px 0 0;
    position: relative;
}

.footer-bottom-content {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 50px;
}

.footer-logo {
    text-align: center;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 235px;
}

.footer-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    position: relative;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding-left: 20px;
}

.footer-nav a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 1px;
    background-color: #5068A9;
    transform: translateY(-50%);
}

.footer-contact-info {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-tel-link-small,
.footer-contact-button-small {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    border-radius: 21px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 0 15px;
    gap: 8px;
}

.footer-tel-link-small {
    border: 1px solid #2d466f;
    color: #2d466f;
}

.footer-tel-link-small:hover {
    background-color: #2d466f;
    color: #fff;
}

.footer-tel-link-small img {
    width: 13px;
    height: 13px;
}

.footer-tel-link-small:hover img {
    filter: brightness(0) invert(1);
}

.footer-contact-button-small {
    background-color: #2d466f;
    color: white;
    border: 1px solid #fff;
}

.footer-contact-button-small img {
    width: 13px;
    height: 13px;
}

.to-top {
    position: absolute;
    right: 50px;
    bottom: 100px;
}

.to-top img {
    height: 54px;
    width: 54px;
}

.copyright {
    text-align: center;
    margin-top: 70px;
    font-size: 12px;
    background: linear-gradient(to right, #5068a9, #2d466f);
    color: white;
    padding: 15px 0;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    position: relative;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1100;
    background: #333333;
    border-radius: 30px;
    padding: 10px;
    height: 30px;
}

.hamburger-menu span {
    display: block;
    position: absolute;
    width: 60%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s;
}

.hamburger-menu span:nth-child(1) {
    top: 15px;
}

.hamburger-menu span:nth-child(2) {
    top: 23px;
}

.hamburger-menu span:nth-child(3) {
    top: 31px;
}

.hamburger-menu.open span:nth-child(1) {
    top: 24px;
    transform: rotate(45deg);
}

.hamburger-menu.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
    top: 24px;
    transform: rotate(-45deg);
}

/* SP Nav */
.sp-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: auto;
    background-color: #f5f5f5 !important;
    z-index: 1050;
}

.sp-nav ul {
    list-style: none;
    text-align: center;
}

.sp-nav li {
    padding: 20px 0;
    border-bottom: 1px solid #d9d9d9;
}

.sp-nav a {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
}

.sp-nav.open {
    transform: translateX(0);
}

.sp-fixed-nav {
    display: none;
}

@media (max-width: 768px) {
    .sp-fixed-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background-color: #5068a9;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    .sp-fixed-nav__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        font-size: 10px;
        gap: 2px;
        flex: 1;
        height: 100%;
    }

    .sp-fixed-nav__item img {
        width: 18px;
    }

    .sp-fixed-nav__item--tel {
        background-color: #fff;
        color: #5068a9;
        border-radius: 20px;
        margin: 0 5px;
        flex-direction: row;
        gap: 8px;
        font-size: 14px;
        font-weight: bold;
        padding: 3px 0;
        height: 30px;
        align-self: center;
        flex-grow: 2;
        max-width: 130px;
    }

    .sp-fixed-nav__item--contact {
        background-color: #2D466F;
        border-radius: 20px;
        margin: 0 5px;
        flex-direction: row;
        gap: 8px;
        font-size: 14px;
        font-weight: bold;
        padding: 4px 0;
        height: 30px;
        align-self: center;
        flex-grow: 2;
        max-width: 130px;
        border: 1px solid #fff;
    }

    .sp-fixed-nav__item--tel img,
    .sp-fixed-nav__item--contact img {
        height: 18px;
    }

    .sp-fixed-nav__item--tel span,
    .sp-fixed-nav__item--contact span {
        display: inline;
    }

    .sp-fixed-nav__item:first-child {
        flex-grow: 0.5;
        max-width: 60px;
    }

    body {
        padding-bottom: 60px;
        /* Adjust based on the height of the fixed nav */
    }
}

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

    .header-nav,
    .header-contact {
        display: none;
    }

    .hamburger-menu,
    .sp-nav.open {
        display: block;
    }

    .sp-nav.open {
        width: 100vw;
    }
}

/* Company Page Styles */

.breadcrumb {
    padding: 20px 0 70px;
    font-size: 16px;
    max-width: 1280px;
    margin: 0 auto;
}

.breadcrumb a {
    color: #5068a9;
    text-decoration: none;
}

.page-title {
    text-align: center;
    margin: 60px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 40px 0;
    position: relative;
    margin: 0 calc(50% - 50vw);
}

.page-title h2 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1.92px;
    margin-bottom: 10px;
}

.page-title p {
    font-size: 16px;
    color: #989898;
    letter-spacing: 1.28px;
    align-items: center;
    /* 横線を上下中央 */
    display: flex;
    /* 文字と横線を横並び */
    justify-content: center;
    /* 文字を中央寄せ */
}

.page-title p::before,
.page-title p::after {
    background-color: #989898;
    content: "";
    height: 1px;
    width: 15px;
}

.page-title p::before {
    margin-right: 10px;
}

.page-title p::after {
    margin-left: 10px;
}

.profile {
    max-width: 1259px;
    margin: 0 auto 80px;
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
}

.gray-row {
    background-color: #f9f9f9;
}

.profile-table th,
.profile-table td {
    padding: 30px;
    font-size: 20px;
    text-align: left;
}

.profile-table th {
    font-weight: 500;
    width: 240px;
}

.profile-table td {
    line-height: 1.6;
}

.map-section {
    padding: 80px 0;
}

.map-container {
    width: 1259px;
    height: 513px;
    margin: 0 auto;
    background-color: #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-form-section {
    max-width: 1259px;
    margin: 0 auto 120px;
    scroll-margin-top: 111px;
}

.contact-form {
    margin: 80px auto;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
}

/* 行全体を横並び */
.form-row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
}

/* ラベル（左側） */
.form-label {
    width: 243px;
    background: #f5f5f5;
    padding: 20px;
    font-size: 20px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* 入力欄（右側） */
.form-field {
    flex: 1;
    width: 430px;
    min-width: 0;
    padding: 10px;
    border: 1px solid #ddd;
    background: #f8fcff;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
    display: block;
}

.form-field:focus {
    border-color: #2d466f;
    outline: none;
}

/* テキストエリア */
textarea.form-field {
    min-height: 150px;
    resize: vertical;
    width: 430px;
}

.wpcf7-form-control-wrap {
    margin: 10px;
}

/* 送信ボタン */
.form-submit {
    text-align: center;
    margin-top: 24px;
}

.submit-button {
    display: block;
    margin: 60px auto 0;
    width: 250px;
    height: 62px;
    border: 2px solid #5068a9;
    background-color: #fff;
    color: #5068a9;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    background-image: url(img/arrow-right.svg);
    background-repeat: no-repeat;
    background-position: 90% center;
    cursor: pointer;
}

.submit-button::after {
    content: "→";
    margin-left: 8px;
    transition: transform 0.3s;
}

.submit-button:hover {
    background: #2d466f;
    color: #fff;
}

.submit-button:hover::after {
    transform: translateX(4px);
}

.contact-form .btn {
    display: block;
    margin: 60px auto 0;
    width: 333px;
    height: 75px;
    border: 2px solid #5068a9;
    background-color: #fff;
    color: #5068a9;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    line-height: 71px;
    text-align: center;
    background-image: url(img/arrow-right.svg);
    background-repeat: no-repeat;
    background-position: 90% center;
    cursor: pointer;
}

.btn::after {
    content: '';
    display: inline-block;
    width: 37px;
    height: 34px;
    background-image: url('img/arrow-right.svg');
    background-repeat: no-repeat;
    margin-left: 40px;
    vertical-align: text-top;
}

/* Flow Page Styles */

.page-title {
    text-align: center;
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.page-title h2 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1.92px;
    margin-bottom: 10px;
}

.page-title .en-title {
    font-size: 16px;
    color: #989898;
    letter-spacing: 1.28px;
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

.page-title .en-title::before,
.page-title .en-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 1px;
    background-color: #989898;
}

.page-title .en-title::before {
    left: 0;
}

.page-title .en-title::after {
    right: 0;
}

.flow-section {
    padding: 80px 0;
    background-color: #fff;
}

.flow-section .container {
    max-width: 1280px;
    padding: 0 20px;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.flow-item {
    background-color: #f9f9f9;
    padding: 20px;
}

.flow-item-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.flow-number {
    font-size: 32px;
    font-weight: 500;
    color: #86a6df;
}

.flow-item h3 {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1.6px;
}

.flow-item-body img {
    display: block;
    margin: 0 auto 20px;
    width: 100%;
    height: auto;
    max-width: 186px;
}

.flow-item-body p {
    font-size: 16px;
    line-height: 2;
}

/* Difference Page Styles */
.difference-section {
    padding: 80px 0;
    background-color: #fff;
}

.difference-section .container {
    max-width: 1280px;
    padding: 0 20px;
}

.difference-item {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 100px;
}

.difference-item.reverse {
    flex-direction: row-reverse;
}

.difference-text {
    flex: 1;
}

.difference-title {
    font-size: 24px;
    font-weight: 500;
    color: #5068a9;
    margin-bottom: 20px;
    border-bottom: 1px solid #5068a9;
    padding-bottom: 20px;
}

.difference-number {
    font-size: 40px;
    margin-right: 10px;
}

.difference-text p {
    font-size: 16px;
    line-height: 2;
}

.difference-image {
    flex: 1;
    max-width: 490px;
}

.difference-image img {
    width: 100%;
    height: auto;
}

/* Property Detail Page */
.property-detail-section {
    padding: 80px 0;
}

.property-detail-section .container {
    max-width: 1280px;
    padding: 0 20px;
}

.property-title-bar {
    background-color: #2d466f;
    color: white;
    padding: 20px;
    text-align: center;
    margin-bottom: 40px;
}

.property-title-bar h2 {
    font-size: 24px;
    font-weight: 500;
}

.property-detail-content {
    display: flex;
    gap: 40px;
}

.property-gallery {
    width: 453px;
}

.main-image {
    margin-bottom: 20px;
    background-color: #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.thumbnail-images .thumb-item {
    background-color: #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-images img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: pointer;
}

.property-details {
    flex: 1;
}

.property-price {
    background-color: #e2f5ff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.property-price p {
    font-size: 20px;
    color: #5068a9;
}

.property-price span {
    font-size: 32px;
    font-weight: 500;
}

.detail-table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: separate;
    border-spacing: 0 12px;
}

.detail-table th,
.detail-table td {
    padding: 15px;
    font-size: 20px;
    color: #5068a9;
}

.detail-table th {
    background-color: #e2f5ff;
    width: 172px;
    text-align: left;
    font-weight: 500;
    border-radius: 8px;
}

.detail-group-title {
    background-color: #2d466f;
    color: white;
    padding: 15px;
    text-align: center;
    margin-bottom: 0;
}

.detail-group-title h3 {
    font-size: 20px;
    font-weight: 500;
}

/* ▼ Lightbox Overlay */
#lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

#lightbox-overlay.active {
    display: flex;
}

#lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    transition: 0.2s;
}

.lightbox-close:hover {
    color: #ddd;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}



/** 物件情報アーカイブページ */
.property-category-block {
    margin-top: 100px;
}

.property-category-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
}

.property-category-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.property-filter-form {
    text-align: center;
    margin-bottom: 30px;
}

.property-card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}


/* archive-property.php */
.page-title-container {
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid #EAEAEA;
    border-bottom: 1px solid #EAEAEA;
}

.page-title-text {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    letter-spacing: 1.92px;
    margin-bottom: 10px;
}

.page-title-subtext {
    font-size: 16px;
    color: #989898;
    letter-spacing: 1.28px;
}

.breadcrumb {
    padding: 20px 0;
}

.breadcrumb a {
    color: #5068a9;
}

.breadcrumb span {
    color: #333;
}

.property-main-contents {
    position: relative;
    padding: 60px 0;
}

.property-bg-openhouse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #5068a9, #2d466f);
    z-index: -1;
}

.property-container {
    max-width: 1280px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
}

.property-category-section {
    margin-bottom: 100px;
}

.category-header {
    text-align: center;
    margin-bottom: 40px;
}

.category-header .en-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    font-size: 20px;
    color: #5068a9;
    margin-bottom: 10px;
}

.category-archive-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    width: auto;
    min-width: 250px;
    height: 60px;
    border: 1px solid #5068a9;
    background-color: #fff;
    color: #5068a9;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    box-sizing: border-box;
}

.category-archive-link:hover {
    color: #fff;
    background: linear-gradient(90deg, #5068A9 0%, #2D466F 100%);
}

.category-archive-link::after {
    margin-left: 20px;
    width: 28px;
    height: 26px;
    background-size: contain;
}

.category-title-wrapper {
    display: inline-block;
    background: linear-gradient(to right, #5068a9, #2d466f);
}

.category-title-wrapper h2 {
    font-size: 36px;
    font-weight: 500;
    color: #fff;
    padding: 10px 30px;
    letter-spacing: 2.88px;
}

.property-card-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.property-card .card-image {
    height: 240px;
    background-color: #eaeaea;
    border-radius: 8px 8px 0 0;
    margin: 14px 14px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.property-card .no-image {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    font-size: 11px;
    color: #c9c9c9;
}

.property-card .card-title-wrapper {
    position: absolute;
    top: 205px;
    left: 10px;
    background-color: #fff;
    margin: 10px 14px;
    padding: 5px;
}

.property-card .card-info {
    color: #5068a9;
    font-size: 15px;
    padding: 10px 14px;
    line-height: 1.5;
    font-weight: 500;
}

.property-card .card-details {
    background-color: #fff;
    margin: 0 14px;
    padding: 10px;
    font-size: 15px;
    color: #000;
    line-height: 1.6;
}

.property-card .more-button {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2d466f;
    color: #fff;
    border-radius: 25px;
    padding: 10px 40px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 1.6px;
}

.property-card .more-button:hover {
    background-color: #fff;
    color: #2d466f;
    border: #2D466F 2px solid;
}

.no-properties {
    text-align: center;
    width: 100%;
    grid-column: 1 / -1;
}

.property-search-section {
    background-color: #f5f5f5;
    padding: 60px 0;
}

.search-container {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.search-block {
    text-align: center;
}

.search-block h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
}

.property-search-form select {
    width: 363px;
    height: 46px;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    padding: 0 15px;
    font-size: 15px;
    color: #989898;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2214%22%20height%3D%227%22%20viewBox%3D%220%200%2014%207%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M13.0045%200.995468L7.00001%205.99998L1.00449%200.995468%22%20stroke%3D%22%23989898%22%20stroke-width%3D%221.5%22%2F%3E%3C%2Fsvg%3E') no-repeat right 15px center;
}

/* Rental Property Archive Page */
.rental-search {
    background: #f7f9fc;
    padding: 40px 0;
    text-align: center;
}

.rental-search select {
    padding: 8px 14px;
    border-radius: 6px;
    margin: 0 10px;
}

.search-btn {
    padding: 8px 20px;
    background: #004aad;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.rental-card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.rental-card {
    background: #f9fbff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.rental-thumb img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 10px;
}

.rental-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.rental-price {
    font-weight: bold;
    color: #004aad;
}

.rental-more a {
    display: inline-block;
    padding: 6px 14px;
    background: #004aad;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 8px;
}

/* single.php */
.post-container {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.post-header {
    margin-bottom: 40px;
    text-align: center;
}

.post-title {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 15px;
}

.post-meta {
    font-size: 14px;
    color: #666;
}

.post-content {
    font-size: 16px;
    line-height: 2;
}

.post-content h2 {
    font-size: 24px;
    font-weight: 500;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #5068a9;
}

.post-content h3 {
    font-size: 20px;
    font-weight: 500;
    margin: 30px 0 15px;
    padding-left: 10px;
    border-left: 4px solid #5068a9;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content a {
    color: #5068a9;
    text-decoration: underline;
}

.post-content a:hover {
    text-decoration: none;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

/* SP Styles */
@media screen and (max-width: 768px) {

    /* Header */
    .header-inner {
        padding: 10px 20px;
        height: auto;
        flex-wrap: wrap;
    }

    .header-nav,
    .header-contact {
        display: none;
        /* SPではハンバーガーメニューに隠す想定 */
    }

    .logo img {
        height: auto;
        width: 120px;
    }

    /* Hero Section */
    .hero {
        height: 580px;
        background-image: url(img/hero-top_bg_sp.webp);
        overflow: hidden;
    }

    .swiper-slide img {
        height: 550px;
    }

    .hero-text {
        top: 15%;
        left: 5%;
    }

    .hero-subtitle,
    .hero-subtitle-blue {
        font-size: 20px;
        padding: 10px 12px;
    }

    .hero-main-title {
        font-size: calc(1.2vw + 1.2rem);
        top: auto;
        bottom: 20%;
        left: 5%;
        right: 0;
        text-align: left;
        letter-spacing: 2.16px;
    }

    /* Section Title */
    .section-title h2 {
        font-size: 24px;
        padding: 10px;
    }

    /* News Section */
    .news {
        padding: 40px 20px;
        margin: 70px 0;
    }

    .news-container {
        align-items: center;
        gap: 20px;
    }

    .news .section-title {
        text-align: left;
        margin-bottom: 0;
        flex-shrink: 0;
        position: absolute;
        top: -57px;
        left: 0px;
    }

    .news-list {
        width: 100%;
        padding: 20px;
    }

    .news-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    /* About Section */
    .about {
        padding: 60px 20px;
    }

    .about-content {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .section-title-left {
        text-align: center;
    }

    .section-title-left h2 {
        font-size: 24px;
        padding: 10px 13px;
        letter-spacing: 0.88px;
    }

    .about-text h3 {
        font-size: 20px;
    }

    .about-text .btn {
        height: 60px;
    }

    .about-image {
        width: 100%;
    }

    .stable-realestate {
        font-size: 64px;
        top: -100px;
    }

    /* YouTube Section */
    .youtube-section {
        padding: 40px 20px;
    }

    .youtube-container {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .youtube-container iframe {
        width: 100%;
        height: 100%;
    }

    /* Service Section */
    .service {
        padding: 60px 20px;
    }

    .service-content {
        text-align: center;
    }

    .section-title-right {
        text-align: center;
        margin-bottom: 40px;
    }

    .section-title-right h2 {
        font-size: 24px;
        padding: 10px 13px;
        letter-spacing: 0.88px;
    }

    .service-cards {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 100%;
    }

    .card-link::after {
        right: -180px;
    }

    /* Property Info Section */
    .property-info {
        padding: 40px 0;
    }

    .property-main-contents {
        padding: 0;
    }

    .property-container {
        padding: 70px 0 1px;
        margin: 20px;
        background-color: unset;
    }

    .property-category-section {
        margin-bottom: 100px;
        background: #fff;
        padding: 20px;
    }

    .category-header {
        flex-direction: column;
        gap: 20px;
        margin: 40px 0;
    }

    .category-header>div {
        text-align: center;
    }

    .property-card-list {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .category-header-top {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        text-align: left;
        margin-bottom: 40px;
    }

    .category-archive-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 15px;
        width: auto;
        min-width: 100px;
        height: 45px;
        border: 1px solid #5068a9;
        background-color: #fff;
        color: #5068a9;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        box-sizing: border-box;
    }

    /* Footer */
    .contact-section {
        height: auto;
        padding: 60px 20px;
    }

    .contact-content {
        padding: 0 25px;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 20px;
    }

    .title-container h2 {
        font-size: 24px;
    }

    .footer-tel-link,
    .footer-contact-button {
        width: 100%;
    }

    .footer-bottom {
        padding: 30px 0 0;
    }

    .footer-bottom-content {
        display: block;
        padding: 0 5%;
    }

    .footer-logo {
        margin-bottom: 30px;
    }

    .footer-logo img {
        width: 150px;
    }

    .footer-nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-nav a {
        font-size: 11px;
        padding-left: 15px;
    }

    .footer-contact-info {
        justify-content: center;
        margin-top: 30px;

    }

    .to-top {
        position: absolute;
        right: 10px;
        bottom: 50px;
    }

    .to-top img {
        height: 40px;
        width: 40px;
    }

    /* 下層ページ共通 */
    .page-title {
        padding: 30px 0;
    }

    .page-title h2 {
        font-size: 20px;
    }

    .breadcrumb {
        font-size: 12px;
        padding: 20px;
    }

    /*不動産販売、賃貸アーカイブページ*/

    .category-title-wrapper h2 {
        font-size: 25px;
    }

    .search-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 40px;
    }

    /*不動産販売、賃貸個別ページ*/
    .property-detail-section {
        padding: 40px 0;
    }

    .property-title-bar {
        margin-bottom: 20px;
    }

    .property-detail-content {
        display: flex;
        flex-direction: column;
        gap: 20px
    }

    .property-gallery {
        width: 100%;
    }

    .detail-table th {
        width: 100px;
    }

    /* single.php */
    .post-container {
        padding: 0 20px;
    }

    .post-title {
        font-size: 24px;
    }

    .post-content h2 {
        font-size: 22px;
    }

    .post-content h3 {
        font-size: 18px;
    }

    .difference-section {
        padding: 30px 0;
    }

    .difference-item {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 80px;
    }

    .difference-item.reverse {
        flex-direction: column;
    }

    .difference-title {
        font-size: 20px;
    }

    /*会社概要ページ*/
    .profile-table {
        width: 90%;
        border-collapse: collapse;
        padding: 0 20px;
        margin: 40px auto;
    }

    .profile-table th {
        width: 100px;
    }

    .profile-table th,
    .profile-table td {
        padding: 20px;
        font-size: 16px;
        text-align: left;
    }

    .map-container {
        width: 100%;
    }

    .contact-form {
        margin: 40px 20px;
    }

    .form-row {
        flex-direction: column;
    }

    .form-label {
        width: 100%;
        font-size: 16px;
    }

    .form-field {
        width: 100%;
    }

    textarea.form-field {
        width: 100%;
    }

    /*買取の流れページ*/
    .flow-section {
        padding: 40px 0;
    }

    .flow-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* 表示切替*/
.pc-only {
    display: block;
    /* 通常表示 */
}

.sp-only {
    display: none;
    /* スマホでは非表示 */
}

@media screen and (max-width: 767px) {
    .pc-only {
        display: none;
        /* スマホでは非表示 */
    }

    .sp-only {
        display: block;
        /* スマホでは表示 */
    }
}


/* Swiper 画像切り替え時に他要素が見えなくなるのを防止*/
.swiper {
    overflow: visible !important;
    position: relative !important;
    z-index: 1;
}

.swiper-wrapper {
    position: relative;
}

.swiper-slide {
    z-index: 1;
}