/* -------------------------------------------------------
  CSS Variables (カラー変数)
------------------------------------------------------- */

:root {
    --color-dark: #2c2c2c;
    --color-accent: #ebaf07;
}

/* -------------------------------------------------------
  Reset (簡易リセット)
------------------------------------------------------- */

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

html {
    height: 100%;
    font-size: 62.5%;
    font-family: 'Noto Serif JP', serif;
    color: var(--color-dark);
    line-height: 1.6;
    font-weight: 500;
}

body {
    font-size: 1.6rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-dark);
    text-decoration: none;
}

ul,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    margin-bottom: 0.5em;
}

label {
    display: flex;
    gap: 4px;
    align-items: center;
}

.swiper-button-next svg,
.swiper-button-prev svg {
    display: none;
}


/* -------------------------------------------------------
  Global Layout
------------------------------------------------------- */

.site-header {
    width: 100%;
    position: fixed;
    z-index: 99;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.header-inner {
    margin: 0 auto;
    padding: 1.2rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding h1 {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 0;
}

.site-branding h1 a img {
    width: 240px;
}

.header-inner a {
    color: #fff;
}

.global-nav {
    display: flex;
}

.global-nav ul {
    display: flex;
    gap: 2rem;
}

.global-nav ul li {
    text-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.25);
}

.global-nav li a {
    font-size: 1.52rem;
    transition: 0.3s ease;
}

.global-nav a {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.global-nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -6px;
    left: 0;
    background-color: #fff;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.global-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.site-footer {
    background-color: var(--color-dark);
    color: #fff;
    padding: 14rem 2rem;
}


/* コンテナ */

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}


/* ロゴ */

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #fff;
}


/* ナビゲーション */

.footer-nav {
    margin-bottom: 2rem;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
}

.footer-logo a img {
    width: 200px;
}


.footer-menu>li {
    position: relative;
}

.footer-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.6rem;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: var(--color-accent);
    /* ゴールド */
}

.submenu {
    margin-top: 15px;
}

.submenu li {
    margin: 0;
    text-align: left;
    margin-top: 1rem;
}

.submenu a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
}


/* サブメニューの表示 */

.footer-menu>li:hover .submenu {
    display: block;
}


/* ボトム部分 */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 1.4rem;
    color: #ccc;
    border-top: 1px solid var(--color-accent);
    /* ゴールドのライン */
    padding-top: 4.2rem;
    margin-top: 4.2rem;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--color-accent);
}


/* レスポンシブ対応 */

@media screen and (max-width: 768px) {
    .footer-menu {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

}


/* -------------------------------------------------------
  Hero Section
------------------------------------------------------- */

.section-inner {
    max-width: 104rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-section {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center center;
    position: relative;
    display: flex;
    align-items: flex-end;
    /* テキストを下部揃え */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: rgba(38, 21, 12, 0.56); */
    background-color: rgba(44, 44, 44, 0.66);

    z-index: 1;
}

.hero-content {
    position: absolute;
    z-index: 2;
    color: #fff;
    margin-right: auto;
    margin-left: auto;
    /* margin-bottom: 5rem; */

    left: 8rem;
    bottom: 7.2rem;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.6;
    text-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 2);
    font-weight: 500;
    margin-bottom: 0;
}

.hero-content p {
    font-size: 1.6rem;
    line-height: 1.8;
    text-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 1);
}

@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content {
        left: 1.4rem;
        padding: 0;
        bottom: 4.2rem;
    }
}


/* -------------------------------------------------------
  Our Service Section
------------------------------------------------------- */


/********************************
  OUR SERVICE SECTION
*********************************/

.our-service-section {
    margin-top: 120px;
}

.service-card-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14rem;
    background-color: #fff;
    margin: 3rem auto;
    padding: 3rem;
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.1);
    max-width: 100rem;
}

.service-left {
    flex: 0 0 auto;
    min-width: 18rem;
}

.service-left h2 {
    font-size: 2.4rem;
    margin: 0;
}

.service-right {
    flex: 1;
    display: flex;
    gap: 2rem;
    justify-content: flex-start;
}


/* カード1つのコンテナ */

.service-item {
    width: 50%;
    border-radius: 0.4rem;
    background-color: #fafafa;
    box-shadow: 0 0.2rem 0.6rem rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-0.3rem);
}


/* カード内の画像ラッパ */

.service-thumb {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    background-color: #ccc;
}


/* 画像本体 */

.service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* キャプションのオーバーレイ (下部に濃いバー) */

.service-caption {
    width: 100%;
    color: #fff;
    background-color: var(--color-dark);
    font-size: 1.6rem;
    text-align: center;
    padding: 0.8rem 0;
}


/********************************
    RESPONSIVE
  *********************************/

@media screen and (max-width: 768px) {
    .our-service-section {
        margin: 2rem 1rem;
    }

    .service-card-box {
        gap: 2rem;
        flex-direction: column;
        padding: 2rem;
    }

    .service-right {
        gap: 1rem;
    }

    .service-item {
        width: calc(50% - 1rem);
        /* 2列表示 */
    }
}

@media screen and (max-width: 768px) {
    .service-item {
        width: 100%;
    }
}


/* -------------------------------------------------------
  Info Blocks (3つのブロック)
------------------------------------------------------- */

.info-blocks {
    display: flex;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 40px;
}

.info-block {
    width: 33.3333%;
    /* 280px => 28rem */
    text-align: center;
    box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    height: 180px;
    background-size: cover;
    background-position: center center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.info-block:hover {
    transform: translateY(-0.3rem);
}

.info-block img {
    border-bottom: 0.1rem solid #eee;
    width: 100%;
    height: auto;
    display: block;
}


/* 1.2rem(旧)=19.2px→1.92rem, margin:1rem(16px)→1.6rem */

.info-block h3 {
    font-size: 1.92rem;
    margin: 1.6rem 0;
}


/* -------------------------------------------------------
  Recommended (おすすめ物件)
------------------------------------------------------- */

.recommended-section {
    margin-right: auto;
    margin-left: auto;
    margin-top: 14rem;
    max-width: 104rem;
    padding: 0 2rem;
}


/* セクション見出し */

.section-header {
    margin-bottom: 3rem;
}

.section-subtitle {
    display: block;
    font-size: 1.6rem;
    color: #aaa;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0;
}


/* カードグリッド: 3列 */

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.archive-property-grid {
    grid-template-columns: repeat(2, 1fr);
}


/* 各物件カード */

.property-item {
    background-color: #fff;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.25);
}

.property-item:hover {
    transform: translateY(-0.3rem);
}


/* 画像部分 */

.property-image img {
    width: 100%;
    height: auto;
    display: block;
}


/* テキスト部分 */

.property-body {
    padding: 1.6rem;
}

.property-name {
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid #cdcdcd;
    padding-bottom: 1.8rem;
}

.property-tags {
    margin-bottom: 1.4rem;
}

.tag {
    display: inline-block;
    background-color: var(--color-dark);
    color: #fff;
    font-size: 1.2rem;
    padding: 0.2rem 0.6rem;
    margin-right: 0.4rem;
}


/* 物件情報 (リスト) */

.property-info {
    font-size: 1.4rem;
    line-height: 1.6;
}

.property-info li+li {
    margin-top: 1rem;
}

.property-info li {
    font-family: Noto Sans JP;
}


/* VIEW MORE */

.more-link {
    text-align: center;
    margin-top: 6rem;
}

.more-link a {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--color-accent);
    text-decoration: none;
    transition: transform 0.25s ease-out;
    position: relative;
}

.more-link a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.more-link a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -6px;
    left: 0;
    background-color: var(--color-accent);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}


/***********************************************
    Responsive
  ***********************************************/

@media screen and (max-width: 768px) {
    .property-grid {
        grid-template-columns: 1fr;
    }

    .recommended-section {
        margin-top: 10rem;
    }
}

/* -------------------------------------------------------
  Search Blocks
------------------------------------------------------- */

.search-section {
    margin-top: 14rem;
    padding-right: 2rem;
    padding-left: 2rem;
    max-width: 104rem;
    margin-right: auto;
    margin-left: auto;
}

.search-container {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin: 0 auto;
}

.search-box {
    flex: 1;
}


/* セクションタイトル */

.search-header {
    text-align: center;
    margin-bottom: 2rem;
}

.search-subtitle {
    display: block;
    font-size: 1.2rem;
    color: #aaa;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.search-title {
    font-size: 1.8rem;
    font-weight: bold;
}


/* フィルタボタン */

.search-filters {
    margin-bottom: 2rem;
}

.filter-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    color: #333;
}

.filter-icon {
    margin-right: 0.5rem;
    --color-accent: #ebaf07;
    color: var(--color-accent);
}

.filter-btn {
    display: block;
    width: 100%;
    background-color: var(--color-dark);
    border: 1px solid var(--color-dark);
    color: #fff;
    padding: 1.8rem;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
    font-family: 'Noto Serif JP', sans-serif;
}

.filter-btn:hover {
    background-color: #fff;
    color: var(--color-dark);
}


/* キーワード検索 */

.search-keyword {
    margin-top: 2rem;
}

.keyword-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    color: #333;
}

.keyword-icon {
    margin-right: 0.5rem;
    --color-accent: #ebaf07;
    color: var(--color-accent);
}

.keyword-form {
    display: flex;
}

.keyword-form input {
    flex: 1;
    padding: 1.9rem;
    border: 1px solid #ddd;
    font-size: 1.4rem;
    background-color: #F9F9F9;
}

.keyword-form button {
    padding: 1rem 2rem;
    background-color: var(--color-dark);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.keyword-form button:hover {
    background-color: #555;
}

.keyword-form .submit-search-icon {
    color: #FFFFFF;
    font-size: 2rem;
}

/* レスポンシブ対応 */

@media screen and (max-width: 768px) {
    .search-container {
        flex-direction: column;
    }

    .search-section {
        margin-top: 10rem;
    }
	
	.keyword-form input,
	.filter-btn{
		font-size: 1.3rem;
	}
	
	.section-header {
    margin-bottom: 2rem;
}
	
	.keyword-form input,
	.filter-btn{
    padding: 1.9rem 1rem;
}
	
}


/* -------------------------------------------------------
  Contact Section
------------------------------------------------------- */

.contact-section {
    position: relative;
    width: 100%;
    height: 82vh;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 140px;
}

/* 背景画像の上の薄い黒オーバーレイ */
.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.contact-us-btn {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.contact-overlay {
    width: 100%;
    text-align: center;
    color: #fff;
}

.contact-overlay h2 {
    font-size: 3.2rem;
    margin-bottom: 4rem;
}

.contact-us-btn-icon {
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease;
}

.contact-us-btn:hover .contact-us-btn-icon {
    transform: scale(1.1);
}

.contact-overlay form {
    margin-top: 3.2rem;
    background-color: #fff;
    color: #333;
    border-radius: 0.6rem;
    padding: 2.4rem;
    text-align: left;
}

.contact-overlay form label {
    font-size: 1.52rem;
    margin-bottom: 0.5em;
}

.contact-overlay form input[type="text"],
.contact-overlay form input[type="email"],
.contact-overlay form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1.6rem;
    border: 0.1rem solid #ccc;
    border-radius: 0.4rem;
    font-size: 1.6rem;
}

.contact-overlay form input[type="submit"],
.contact-overlay form button {
    background-color: #0073aa;
    color: #fff;
    padding: 1.12rem 1.92rem;
    border: none;
    cursor: pointer;
    border-radius: 0.4rem;
    transition: background-color 0.3s ease;
}

.contact-overlay form input[type="submit"]:hover,
.contact-overlay form button:hover {
    background-color: #005580;
}

@media screen and (max-width: 768px) {
    .contact-section {
        margin-top: 10rem;
    }
}

/* -------------------------------------------------------
  Archive & Single Pages (property_rent, property_sale)
------------------------------------------------------- */

.property-archive {
    max-width: 104rem;
    margin-right: auto;
    margin-left: auto;
    margin-top: 100px;
    padding: 0 2rem;
}

.property-archive h1 {
    font-size: 2.88rem;
    margin-bottom: 3.2rem;
}

.property-list {
    display: flex;
    flex-wrap: wrap;
    gap: 3.2rem;
}

.property-card {
    width: 28rem;
    background-color: #fafafa;
    border: 0.1rem solid #eee;
    border-radius: 0.6rem;
    text-align: left;
    box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-0.3rem);
}

.property-card a {
    color: #333;
}

.property-card h2 {
    font-size: 1.76rem;
    margin: 1.12rem 1.6rem;
}

.property-card p {
    margin: 0.48rem 1.6rem 1.12rem;
    font-size: 1.52rem;
    color: #666;
}

.pagination {
    margin-top: 3.2rem;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 0 0.4rem;
    padding: 0.64rem 1.12rem;
    background-color: #eee;
    color: #333;
    border-radius: 0.3rem;
    transition: background-color 0.3s ease;
}

.pagination .page-numbers:hover {
    background-color: #ddd;
}

.pagination .current {
    background-color: #0073aa;
    color: #fff;
}

.property-single {
    max-width: 1040px;
    margin: 4.8rem auto;
    padding: 0 2rem;
}

.property-single h1 {
    font-size: 2.88rem;
    margin-bottom: 2.4rem;
}

.property-details {
    margin-bottom: 3.2rem;
}

.property-details p {
    margin-bottom: 0.8rem;
}

.property-content {
    font-size: 1.52rem;
    line-height: 1.7;
}


/* -------------------------------------------------------
  Responsive (例: タブレット以下)
------------------------------------------------------- */

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

    .info-blocks,
    .service-cards,
    .property-cards,
    .property-list {
        justify-content: center;
    }

    .header-inner {
        flex-wrap: wrap;
        padding: 1.2rem 2rem;
    }

    .site-branding h1 a img {
        width: 170px;
    }

    .global-nav ul {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .search-blocks {
        flex-direction: column;
        align-items: center;
    }

    .search-block {
        width: 100%;
    }

    .property-card,
    .info-block,
    .service-card {
        width: 90%;
        max-width: 36rem;
    }

    .hero-content h2 {
        font-size: 2.88rem;
    }

    .hero-content p {
        font-size: 1.6rem;
    }

    .property-archive {
        margin-top: 60px;
    }
}




/* ハンバーガーボタン */

.hamburger-icon {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 3rem;
    height: 3rem;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 999;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 0.1rem;
    background-color: #fff;
    transition: 0.3s ease;
}

.hamburger-icon:focus {
    outline: none;
}


@media screen and (max-width: 768px) {
    .hamburger-icon {
        display: flex;
    }

    .global-nav {
        display: none;
    }
}


.overlay-menu {
    position: fixed;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
    z-index: 998;
}

.overlay-menu.open {
    opacity: 1;
    visibility: visible;
}


.overlay-inner {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: scroll;
}

.overlay-left {
    width: 50%;
    background-color: #ddd;
    position: relative;
}

.overlay-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-right {
    width: 50%;
    background-color: #fff;
    position: relative;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.close-button {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 999;
}

.close-button::before,
.close-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 0.1rem;
    background-color: #333;
    transform-origin: center;
    transition: 0.3s ease;
}

.close-button::before {
    transform: translateY(-50%) rotate(45deg);
}

.close-button::after {
    transform: translateY(-50%) rotate(-45deg);
}

.close-button:hover::before,
.close-button:hover::after {
    background-color: #666;
}

.overlay-nav ul {
    margin-top: 4rem;
}

.overlay-nav li {
    margin-bottom: 2rem;
}

.overlay-nav a {
    font-size: 2rem;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.overlay-nav a:hover {
    color: #0073aa;
}


@media screen and (max-width: 768px) {
    .overlay-inner {
        flex-direction: column;
    }

    .overlay-right,
    .overlay-left {
        width: 100%;
    }

    /* .overlay-right,
    .overlay-left {
        height: 50vh;
    } */
}

.page-visual-section {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

/* お問い合わせページ：背景画像の上に薄いグレーのオーバーレイ */
.page-visual-section.contact-page-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    /* background-color: rgba(38, 21, 12, 0.56); */
    background-color: rgba(44, 44, 44, 0.66);
    pointer-events: none;
}

.page-visual-section.contact-page-visual .hero-content {
    /* position: relative; */
    z-index: 1;
}

/* 標準投稿（single）のビジュアルオーバーレイ */
.page-visual-section.single-post-visual {
    position: relative;
}

.page-visual-section.single-post-visual .page-visual-section__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(5, 7, 21, 0.56);
    pointer-events: none;
}

.page-visual-section.single-post-visual .hero-content {
    z-index: 1;
}

.single-post-meta--hero {
    margin-top: 0.8rem;
    font-size: 1.4rem;
    opacity: 0.95;
}

.single-post-meta--hero time,
.single-post-meta--hero .cat-links {
    color: #fff;
}

.single-post-meta--hero .cat-links a {
    color: #fff;
}

/* 単一投稿本文エリア */
.single-post-section {
    padding-bottom: 6rem;
}

.single-post-article {
    max-width: 72rem;
    margin: 0 auto;
}

.single-post-thumbnail {
    margin-bottom: 2.4rem;
    border-radius: 4px;
    overflow: hidden;
}

.single-post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post-content.entry-content {
    font-size: 1.6rem;
    line-height: 1.9;
}

.single-post-content.entry-content p {
    margin-bottom: 1.6rem;
}

.single-post-content.entry-content h2 {
    font-size: 2rem;
    margin: 2.4rem 0 1.2rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #e0e0e0;
}

.single-post-content.entry-content h3 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.single-post-content.entry-content ul,
.single-post-content.entry-content ol {
    margin: 1.2rem 0 1.6rem;
    padding-left: 2rem;
}

.single-post-content.entry-content img {
    max-width: 100%;
    height: auto;
}

.single-post-tags {
    margin-top: 2.4rem;
    padding-top: 1.6rem;
    border-top: 1px solid #eee;
    font-size: 1.4rem;
}

.single-post-tags .tags-label {
    margin-right: 0.4rem;
}

.single-post-navigation {
    margin-top: 3.2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.single-post-navigation .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.6rem;
}

.single-post-navigation .nav-previous a,
.single-post-navigation .nav-next a {
    color: var(--color-dark, #333);
    text-decoration: none;
}

.single-post-navigation .nav-previous a:hover,
.single-post-navigation .nav-next a:hover {
    text-decoration: underline;
}

.single-post-navigation .nav-empty {
    color: #999;
}

/* 投稿一覧（archive） */
.archive-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.archive-posts-list__item {
    border-bottom: 1px solid #eee;
}

.archive-post-card__link {
    display: flex;
    gap: 2.4rem;
    padding: 2.4rem 0;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
}

.archive-post-card__title {
    transition: all 0.3s ease;

}

.archive-post-card__link:hover .archive-post-card__title {
    color: var(--color-accent);
}

.archive-post-card__thumb {
    flex-shrink: 0;
    width: 280px;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
}

.archive-post-card__thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.archive-post-card__body {
    min-width: 0;
}

.archive-post-card__date {
    display: block;
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 0.4rem;
}

.archive-post-card__title {
    font-size: 1.8rem;
    margin: 0 0 0.8rem;
    line-height: 1.4;
}

.archive-post-card__excerpt {
    font-size: 1.4rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.archive-post-card__excerpt p {
    margin: 0;
}

.archive-post-card__cats {
    font-size: 1.2rem;
    color: #888;
}

.archive-post-card__cats a {
    color: inherit;
}

.archive-post-card__meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    align-items: center;
}

.archive-no-posts {
    text-align: center;
    padding: 4rem 0;
    color: #666;
}

.archive-post-card__cat-list {
    border: 1px solid #666;
    padding: 0.5rem 1rem;
    color: var(--color-dark);
    font-size: 1.4rem;
}

.archive-pagination {
    margin-top: 4rem;
    padding-top: 2rem;
    text-align: center;
}

.archive-pagination .nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.archive-pagination .page-numbers {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
    background: var(--color-dark, #333);
    color: #fff;
    border-color: var(--color-dark, #333);
}

@media screen and (max-width: 768px) {
    .archive-post-card__link {
        flex-direction: column;
        gap: 1.2rem;
    }

    .archive-post-card__thumb {
        width: 100%;
    }

    .archive-post-card__thumb img {
        height: 200px;
    }

    .archive-post-card__title {
        font-size: 1.6rem;
    }
}

.common-container {
    max-width: 104rem;
    margin: 0 auto;
    padding: 0 2rem;
    margin-top: 10rem;
}

.term-group {
    display: flex;
    gap: 2rem;
}

.term-group h2 {
    width: 30%;
    background-color: #f9f9f9;
    padding: 2rem;
    margin-bottom: 4px;
}

.term-header {
    width: 70%;
}

.term-header {
    padding: 2rem;
}

.term-header>label {
    width: 100%;
    display: block;
    margin-bottom: 1.4rem;
}

.term-list {
    display: flex;
    flex-wrap: wrap;
}

.term-list li {
    flex-basis: 33%;
    margin-bottom: 8px;
}

.search-submit {
    width: 360px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 60px;
    text-align: center;
    background-color: var(--color-dark);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.25);
    transition: 0.3s;
    border: 1px solid var(--color-dark);
}

.search-submit button {
    width: 100%;
    height: 100%;
    padding: 1.4rem;
}

.search-submit:hover {
    color: var(--color-dark);
    background-color: #fff;
}

@media screen and (max-width: 768px) {
    .page-visual-section {
        height: 300px;
    }

    .common-container {
        margin-top: 60px;
    }
	
	.term-group {
		flex-direction: column;
    gap: 1rem;
		margin-bottom: 2rem;
	}
	
	.term-group h2,
	.term-header{
		width: 100%;
	}
	
	.term-header {
		padding: 0;
	}
	
	.term-list {
    gap: 1rem;
}
	
	.term-list li {
		flex-basis: inherit;
		margin-bottom:0;
	}
	
	.search-submit {
		width: 100%;
	}
}


/* フィルターホバー用の基本スタイル */

.filter-group.hover-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.filter-group.hover-dropdown label {
    cursor: pointer;
    display: block;
    transition: background-color 0.3s;
}

.filter-group label,
.filter-group.hover-dropdown label {
    transition: all, 0.3s;
}

.filter-group.hover-dropdown label:hover,
.filter-group label:hover {
    color: var(--color-accent);
}


/* ホバー時に表示されるチェックボックスリスト */

.filter-group.hover-dropdown .dropdown-content {
    min-width: 700px;
    height: 400px;
    position: absolute;
    top: -22px;
    right: 99%;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease-in-out;
    overflow: scroll;
    background-color: #F9F9F9;
    margin-right: 30px;
    border: solid 1px #9d9d9d;
}

/* クリックで開閉（.is-open で表示） */
.filter-group.hover-dropdown.is-open .dropdown-content {
    opacity: 1;
    visibility: visible;
}

.filter-group.hover-dropdown .filter-group-label {
    cursor: pointer;
    user-select: none;
}


/* チェックボックスのスタイル調整 */

.dropdown-content label {
    display: block;
    margin-bottom: 5px;
}

.dropdown-content {
    transition: all .3s;
}

.dropdown-content input[type="checkbox"] {
    margin-right: 5px;
}

.dropdown-content .line-group,
.dropdown-content .region-group {
    margin: 2em;
}

.line-header,
.region-header {
    display: flex;
    flex-wrap: wrap;
}

.line-header label,
.region-header label {
    width: 33.3333%;
}

.archive-container {
    gap: 40px;
    align-items: flex-start;
}

.archive-sidebar {
    background-color: #f9f9f9;
    padding: 2rem;
}

.filter-group-label {
    font-weight: bold;
}

.filter-group {
    border-top: solid 1px #9d9d9d;
    padding-bottom: 2rem;
    padding-top: 2rem;
}

.filter-common-label {
    margin-bottom: 10px;
}

.filter-submit button,
.reset-button {
    text-align: center;
    width: 100%;
    display: block;
    font-weight: 600;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.25);
    padding: 1rem;
    transition: all 0.3s;
}

.filter-submit button {
    background-color: var(--color-dark);
    color: #fff;
    border: 1px solid var(--color-dark);
}

.filter-submit button:hover {
    background-color: #fff;
    color: var(--color-dark);
}

.reset-button {
    background-color: #fff;
}


/* スライダーの高さを調整 */

.gallery01 .swiper-main {
    width: 100%;
}

.gallery01 .swiper-thumb {
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    padding: 10px 0;
}

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

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

.property-left {
    width: 60%;
}

.property-right {
    width: 360px;
}

.pr-comment.section,
.property-additional-details.section,
.google-map-section {
    margin-top: 32px;
}

.pr-comment p {
    line-height: 1.8;
    font-family: noto sans-serif;
}

.property-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.3rem;
}

.property-table th,
.property-table td {
    border: 1px solid #ddd;
    padding: 12px;
    font-family: noto sans-serif;
}

.property-table th {
    background-color: #f4f4f4;
    text-align: left;
    width: 32%;
}


/* サムネイル画像の基本スタイル */

.gallery01 .swiper-thumb .swiper-slide .thumb-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    /* 非アクティブ時の透明度 */
    transition: all 0.3s ease;
    /* スムーズなトランジション */
    border: 2px solid transparent;
    /* 非アクティブ時のボーダー */
    border-radius: 4px;
    /* 角を丸める（任意） */
}


/* アクティブなサムネイル画像のスタイル */

.gallery01 .swiper-thumb .swiper-slide-thumb-active .thumb-media img {
    opacity: 1;
    /* アクティブ時のボーダー色 */
    transform: scale(1.05);
    /* アクティブ時の拡大 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* アクティブ時のボックスシャドウ */
}


/* サムネイルスライダーのスタイル調整 */

.gallery01 .swiper-thumb {
    padding: 10px 0;
}

.gallery01 .swiper-scrollbar {
    height: 4px;
    background: #ddd;
    border-radius: 2px;
}

.gallery01 .swiper-scrollbar-drag {
    background: var(--color-dark);
    border-radius: 2px;
}


/* レスポンシブ対応 */

@media screen and (max-width: 768px) {
    .gallery01 .swiper-thumb .swiper-slide .thumb-media img {
        opacity: 0.6;
        transform: scale(1);
    }

    .gallery01 .swiper-thumb .swiper-slide-thumb-active .thumb-media img {
        opacity: 1;
        border: 2px solid #007bff;
        transform: scale(1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .property-left,
    .property-right {
        width: 100%;
    }

    .filter-group.hover-dropdown .dropdown-content {
        right: 0;
        margin-right: 0;
        min-width: 100%;
        width: 100%;
    }

    .line-header,
    .region-header {
        gap: 4px 10px;
    }

    .line-header label,
    .region-header label {
        width: inherit;
    }
}


/* Lazy Loading 用のスタイル */

.gallery01 .swiper-main .swiper-lazy,
.gallery01 .swiper-thumb .swiper-lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery01 .swiper-main .swiper-lazy-loaded,
.gallery01 .swiper-thumb .swiper-lazy-loaded {
    opacity: 1;
}

.swiper-button-prev::before,
.swiper-button-next::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: "";
    border-radius: 50%;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.25);
    background-color: #fff;
}

.swiper-button-next::after {
    margin-right: 0.4rem;
    transform: rotate(45deg);
}

.swiper-button-prev::after {
    margin-left: 0.4rem;
    transform: rotate(-135deg);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    width: 1.2rem;
    height: 1.2rem;
    content: "";
    border: solid 1px var(--color-dark);
    border-width: 2px 2px 0 0;
}

.swiper-button-prev,
.swiper-button-next {
    display: grid;
    place-content: center;
    width: 4.4rem;
    height: 4.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
}


/* お気に入りボタンのスタイル */

.favorite-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: red;
    transition: color 0.3s ease, transform 0.3s ease;
}

.favorite-btn i {
    pointer-events: none;
}


/* お気に入りが登録されている状態 */

.favorite-btn.active i {
    color: red;
    /* ハートを塗りつぶす */
    /* Font Awesome の 'fa-solid fa-heart' を使用 */
    /* 'fa-regular fa-heart' を 'fa-solid fa-heart' に切り替える必要がある */
    /* JavaScript でクラスを切り替える */
}


/* ホバー時のエフェクト */

.favorite-btn:hover {
    transform: scale(1.2);
}


/* 親要素の相対位置設定（ボタンの位置調整のため） */

.property-item,
.property-detail {
    position: relative;
}

.favorites-section {
    max-width: 104rem;
    margin-right: auto;
    margin-left: auto;
    margin-top: 100px;
    padding: 0 2rem;
}


/* お気に入りページのスタイル */

.favorites-section .property-item {
    max-width: calc(33.333% - 20px);
    border: 1px solid #ddd;
    overflow: hidden;
    position: relative;
}

.favorites-section .property-item:hover {
    transform: translateY(-0.3rem);
}

.favorites-section .property-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.favorites-section .property-item h4 {
    margin: 10px;
    font-size: 1.2em;
}

.favorites-section .property-item p {
    margin: 10px;
    color: #555;
}


/* レスポンシブ対応 */

@media screen and (max-width: 768px) {
    .favorites-section .property-item {
        width: 100%;
    }
	
	.favorites-section .property-item {
		max-width: 100%;
	}
}

.favorite-btn.active i {
    animation: heart-fill 0.3s forwards;
}

@keyframes heart-fill {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.special-conditions-terms-container {
    display: flex;
    flex-wrap: wrap;
}

.special-conditions-term-group {
    flex-basis: 33%;
    margin-bottom: 8px;
}

.contact-form-section,
.error-404 {
    margin-right: auto;
    margin-left: auto;
    margin-top: 14rem;
    max-width: 104rem;
    padding: 0 2rem;
}



/* フォームラベル */

.wpcf7-form label {
    display: block;
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}


/* テキスト入力、メール入力、件名 */

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
    margin-bottom: 20px;
}

.wpcf7-spinner {
    display: none;
}

.contact-form-submit {
    width: 360px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 60px;
    text-align: center;
    background-color: var(--color-dark);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.25);
    transition: 0.3s;
    border: 1px solid var(--color-dark);
}

.contact-form-submit .wpcf7-form-control {
    width: 100%;
    height: 100%;
    padding: 1.2rem;
}

.wpcf7-list-item {
    margin-left: 0;
    margin-right: 16px;
}

.form-group {
    margin-bottom: 10px;
}

.contact-form-submit:hover {
    color: var(--color-dark);
    background-color: #fff;
}

.search-submit button {
    width: 100%;
    height: 100%;
    padding: 1.4rem;
}


/* エラーメッセージ */

.wpcf7-not-valid-tip {
    color: #d93025;
    font-size: 14px;
    margin-top: -15px;
    margin-bottom: 15px;
    display: block;
}


/* 成功メッセージ */

.wpcf7-mail-sent-ok {
    background-color: #e6ffed;
    border-left: 4px solid #34a853;
    padding: 15px;
    margin-bottom: 20px;
    color: #34a853;
}


/* レスポンシブデザイン */

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

    .section-title {
        font-size: 22px;
    }

    .wpcf7-form input[type="submit"],
    .wpcf7-form button[type="submit"] {
        width: 100%;
        text-align: center;
    }

    .contact-form-submit {
        width: 100%;
    }

    .contact-form-section,
    .error-404 {
        margin-top: 6rem;
    }
}


/* ソートフォームのスタイル */

.sort-form-container {
    margin-bottom: 20px;
}

.sort-form {
    display: flex;
    align-items: center;
}

.sort-form label {
    margin-right: 10px;
    font-weight: bold;
}

.sort-form select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}


.archive-sidebar-wrapper {
    width: 25%;
}

.property-content,
.search-results-content{
    width: 75%;
}

/* モバイル用：絞込検索バー（通常は非表示） */
.mobile-filter-bar {
    display: none;
}

.mobile-filter-trigger {
    display: block;
    width: 100%;
    padding: 1.2rem 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--color-dark);
    border: none;
    cursor: pointer;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s, color 0.3s;
}

.mobile-filter-trigger:hover {
    background-color: var(--color-accent);
    color: var(--color-dark);
}

/* モバイル用：絞込検索オーバーレイ */
.mobile-filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mobile-filter-overlay.is-open {
    display: block;
    opacity: 1;
    visibility: visible;
}

.mobile-filter-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 85vh;
    background: #f9f9f9;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-filter-overlay.is-open .mobile-filter-panel {
    transform: translateY(0);
}

.mobile-filter-panel-inner {
    overflow: auto;
    padding: 6rem 1.5rem 5rem;
    -webkit-overflow-scrolling: touch;
}

.mobile-filter-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--color-dark);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-filter-close:hover {
    color: var(--color-accent);
}


/* ソートフォームレスポンシブ調整 */

@media screen and (max-width: 768px) {
    .sort-form {
        flex-direction: column;
        align-items: flex-start;
    }

    .sort-form label {
        margin-bottom: 5px;
    }

    .sort-form select {
        width: 100%;
    }

    .archive-container {
        flex-direction: column-reverse;
    }

    .archive-sidebar,
    .property-content,
	.search-results-content {
        width: 100%;
    }

    /* モバイル：サイドバーをフローから隠し、下部に絞込ボタンを表示 */
    .archive-sidebar-wrapper {
        display: none;
    }

    .mobile-filter-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9998;
        padding: 0;
    }

    .mobile-filter-overlay {
        display: block;
    }

    /* パネル内に移動したサイドバー */
    .mobile-filter-panel-inner .archive-sidebar {
        width: 100%;
        background: transparent;
        padding: 0;
    }

    /* 固定ボタン分の余白をメインコンテンツに追加 */
    .property-archive .property-content,
    .property-archive .search-results-content {
        padding-bottom: 80px;
    }
}


/* -------------------------------------------------------
  Company Profile Section
------------------------------------------------------- */

.page-visual-section.company-visual {
    background-image: url('https://kura-with.com/wp-content/uploads/2024/12/image_fx_-43-1-1.jpg');
}

.company-profile-section {
    margin-bottom: 4rem;
}

/* 代表挨拶ブロック：左ロゴ・右テキスト */
.greetings-block {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 3rem;
}

.greetings-block__logo {
    flex: 0 0 auto;
    width: 300px;
    max-width: 100%;
}

.greetings-block__logo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.greetings-block__message {
    flex: 1;
    min-width: 0;
}

.greetings-block__title {
    margin: 0 0 1rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.greetings-block__message p:first-of-type {
    margin-top: 0;
}

.greetings-block__message p:last-of-type {
    margin-bottom: 0;
}

.company-info-block {
    margin-bottom: 6rem;
}

@media screen and (max-width: 768px) {
    .greetings-block {
        flex-direction: column;
        gap: 3rem;
        margin-bottom: 2rem;
    }

    .greetings-block__logo {
        width: 200px;
        margin: 0 auto;
    }

    .greetings-block__title {
        font-size: 1.6rem;
        text-align: center;
    }
}

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

.company-table th {
    text-align: left;
    padding: 12px;
    background: #f9f9f9;
}

.company-table th.first-col {
    width: 30%;
}

.company-table td {
    padding: 12px;
}

.company-table ul {
    margin: 0;
}

.policy-group {
    margin-bottom: 2rem;
}

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

    .company-table th,
    .company-table td {
        font-size: 1.4rem;
    }
}