@charset "UTF-8";

/* =================================================================
# 実績
# ================================================================= */

.achievements {
    position: relative; /* relativeを追加 */
    z-index: 2; /* 実績部分を前面に表示 */
    margin-top: -130px; /* キービジュアルに重なるように上に移動 */
    padding-top: 50px; /* 上の余白を追加 */
}

.key-visual {
    position: relative;
    z-index: 1; /* キービジュアルを背景側に設定 */
}

.achievements-list {
    list-style-type: none;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列に設定 */
    gap: 20px; /* 要素間の隙間を設定 */
    width: 1200px;
    justify-content: center;
}

.achievements-list li {
    display: flex;
    flex-direction: column;
    padding: 20px 40px;
    background-color: #fff;
    border-radius: 8px;
    text-align: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.label {
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    background: #222;
    border-radius: 16px;
    padding: 0.2rem 0;
}

.number-wrapper {
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.number {
    font-size: 3rem;
    font-weight: bold;
    color:var(--main-color)
}

.unit {
    font-size: 1.5rem;
    margin-left: 5px;
    font-weight: bold;
}

.small-text {
    display: block;
    font-size: 12px;
    text-align: center;
    font-weight: 400;
}


/* =================================================================
# トップページの見出し
# ================================================================= */

.home-title {
    line-height:1.1;
    font-size:1.25rem;
}

.home-title span{
    display:block;
    font-size:2.5rem;
}

/* =================================================================
# 新着物件
# ================================================================= */

.property {
    background: var(--base-color);
}

.property-title {
    display: flex;
    align-items: center; /* 縦中央揃え */
    justify-content: center; /* 横方向中央揃え */
    font-size: 1.5rem; /* 必要に応じて文字サイズを調整 */
    text-align: center; /* テキストのセンタリング（フレックスアイテム内） */
    margin-bottom:3rem;
}

.property-title img {
    margin-right: 10px; /* 画像と文字の間に適度な余白を追加 */
    vertical-align: middle;
    width: 24px;
    height: auto;
}

.property-title:before, .property-title:after {
    border-top: 1px solid;
    content: "";
    width: 100px;
}

.property-title:before {
    margin-right: 1em;
}

.property-title:after {
    margin-left: 1em;
}


/* 物件リスト */
.property-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列レイアウト */
    gap: 1.5rem; /* アイテム間の間隔 */
    list-style: none;
    margin-top: 2rem;
}

.property-item {
    box-sizing: border-box;
    transition: box-shadow 0.5s ease;
    box-shadow: 3px 3px 6px rgba(12, 13, 13, .05);
    overflow: hidden;
    position: relative;
    background: #fff;
}

.property-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* ホバー時に影を強調 */
}

.property-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* 物件リストの画像 */
.property-img {
    position: relative;
    width: 100%;
    height: 180px; /* 画像の高さを固定 */
    overflow: hidden; /* 画像が枠からはみ出さないようにする */
}

.property-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 縦横比を保持して、枠に合わせる */
    transition: transform 0.5s ease; /* ズームアニメーションの設定 */
    transform-origin: center center; /* 中心からズーム */
}

.property-item:hover .property-img img {
    transform: scale(1.1);
}

/* 物件リストの情報 */
.property-info {
    padding: 1rem;
}

.property-name {
    font-size: 1rem;
}

.property-price {
    font-size: 1.25rem;
    color: var(--main-color);
    font-weight: 700;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
    margin: 8px 0;
}

.property-size {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.property-address, .property-station {
    font-size: 14px;
    color: #555;
    display: block;
}

.property-info i {
    color:var(--accent-color);
}

.property-btn {
    display: flex;
    justify-content: center;
    margin-top:2rem;
}


/* =================================================================
# お知らせ
# ================================================================= */

.news{
    background: var(--base-color);
    padding:3rem 5%;
}

.news-inner{
    width:1200px;
    margin:0 auto;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影を追加 */
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom:1px solid #eee;
    padding:1.5rem;
}

.news-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

.news-header a {
    font-size: 0.875rem;
    color:#222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-header a:hover {
    color: var(--accent-color);
}

.news-contents{
    padding:1.5rem;
}

/* ニュースリスト */
.post-list {
    list-style: none;
}

.post-list li {
    padding: .75rem 0;
    display: flex;
    align-items: center;
}

/* 最初のリストアイテムの上側のパディングをゼロに */
.post-list li:first-child {
    padding-top: 0;
}

/* 最後のリストアイテムの下側のパディングをゼロに */
.post-list li:last-child {
    padding-bottom: 0;
}

.post-list a {
    text-decoration: none;
    display: flex;
    align-items: center;
    width: 100%;
}

.post-list li:hover p{
    text-decoration: underline;
}

.newentry-date {
    color: #666;
    margin-right: 1rem;
    white-space: nowrap;
}

.post-list-tag {
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.25rem 0.5rem 0.35rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 4px;
    margin-right: 1rem;
    white-space: nowrap;
    min-width: 100px;
    text-align: center;
}

.post-list p {
    font-size: 1rem;
    color:#222;
    margin: 0;
    flex-grow: 1;
}

/* =================================================================
# フリースペース
# ================================================================= */

.free{
    line-height:1.8;
}

/* =================================================================
# フッター
# ================================================================= */

.footer {
    background-color: var(--base-color);
    border-top:3px solid #222 ;
    padding:3rem 5%;
}

.footer-contents {
    display: flex;
    justify-content: space-between; /* 左右のスペースを調整 */
    align-items: start;
}

.footer-left {
    flex: 0 0 40%;
}

.footer-right {
    flex: 0 0 60%;
}

.footer-title{
    font-size:1.25rem;
    margin-bottom:8px;
}

.footer-info{
    font-size:14px;
    line-height:1.5;
}

/* フッターCTA */
.footer-cta{
    background:#fff;
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    border-radius: 4px;
}

.footer-cta-title{
    font-size:14px;
    text-align:center;
    margin-bottom:1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.cta-buttons a {
    flex: 1;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
}

.tel-btn{
    color:#222;
    font-size:1.75rem;
}

.tel-btn span{
    display: block;
    font-size:13px;
}

.tel-btn i{
    font-size:1.5rem;
    margin-right:4px;
}

.mail-btn {
    background: var(--accent-color);
    color: #fff;
    font-size: 1.125rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mail-btn i{
    margin-top:3px;
    margin-right:8px;
}

.mail-btn:hover {
    background: #fff;
    color: var(--accent-color);
}

/* フッターナビ */

.footer-nav{
    padding:3rem 2% 0rem 2%;
}

.footer-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width:1200px;
    margin:0 auto;
}

.footer-column {
    flex: 1;
    min-width: 25%;
}

.footer-column h2,.footer-column h3{
    font-size:14px;
    padding-bottom:8px;
    border-bottom:1px solid #999;
    margin-bottom:8px;
    color:#222;
    font-weight: 500;
}

.footer-column ul {
    list-style: none;
    line-height:1.8;
    margin-bottom: 20px;
}

.footer-column ul li{
    font-size:14px;
    font-weight: 400;
}

.copyright{
    text-align: center;
    font-size:12px;
    padding:12px;
    background: #222;
    color:#fff;
}

/* =================================================================
# コンテンツページのHタグのデザイン
# ================================================================= */

.post-title{
    border-top:4px solid var(--main-color);
    border-bottom:1px solid #ccc;
    padding:1.5rem 0;
    font-size:1.5rem;
}

.main-content-wrap h2{
    padding: 1rem;
    background: var(--base-color);
    margin: 3rem 0 1.5rem 0;
    border-left: 5px solid var(--main-color);
}

.main-content-wrap h3 {
    position: relative;
    padding-bottom: 1rem;
    margin: 2rem 0 1.25rem 0;
}

.main-content-wrap h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px; /* ボーダーの厚さに相当する高さ */
    background: linear-gradient(to right, #f2f5f8, #eee); /* グラデーションの色を指定 */
}

.main-content-wrap h4,.main-content-wrap h5{
    margin:1.25rem 0;
}

/* =================================================================
# コンテンツページの装飾
# ================================================================= */

/* リスト */

.main-content-wrap ul,.main-content-wrap ol{
    padding-left:24px;
    margin:20px 0;
    line-height: 2;
}

 /* テーブル */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th,table td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: left;
}

table th {
    background-color: #f4f4f4;
    text-align: center;
}

/* 引用 */

blockquote {
    background-color: #f9f9f9;
    border-left: 5px solid #ccc;
    margin: 20px 0;
    padding: 24px 20px;
    font-style: italic;
    color: #555;
    position: relative;
}

blockquote::before {
    content: "“";
    font-size: 4em;
    color: #ccc;
    position: absolute;
    left: 10px;
    top: -10px;
}

blockquote::after {
    content: "”";
    font-size: 4em;
    color: #ccc;
    position: absolute;
    right: 10px;
    bottom: -30px;
}

/* =================================================================
# 物件情報トップページ
# ================================================================= */

.cat-title{
    background-color:var(--main-color);
    padding:1rem;
    color:#fff;
    font-size:1.125rem;
}

.property-cat-link h2{
    border-bottom:2px solid var(--main-color);
    padding-bottom:4px;
    font-size:1rem;
    margin:1.5rem 0 1rem 0;
}

.property-cat-link h3{
    font-size:1rem;
    margin:16px 0 8px 0;
    font-weight: 400;
}

.property-cat-link h2 a,.property-cat-link h3 a{
    color:#222;
    font-weight: 700;
}

.cat-subtitle{
    border-left: 3px solid var(--main-color);
    background: #f7f7f7;
    padding:.75rem;
    font-size:1.125rem;
    margin:2rem 0 1rem 0;
}

.property-cat-list{
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    line-height:2;
}

.property-cat-list li a{
    font-weight: 500;
}

.property-cat-list li {
    padding: 0 12px;
    position: relative;
    font-weight: 400;
}

.property-cat-list li::after {
    content: '';
    position: absolute;
    top: 50%; /* アイテムの中央に配置 */
    right: 0;
    transform: translateY(-50%); /* 縦線を中央に寄せる */
    width: 2px;
    height: 40%; /* 縦線の長さを短く */
    background-color: #ccc;
}

.property-cat-list li:last-child::after {
    content: none;
}

.property-cat-list li:first-child{
    padding-left:0;
}


/* =================================================================
# 物件詳細ページ
# ================================================================= */

.property-detail{
    border-top: 8px solid var(--main-color);
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-radius: 4px;
    padding:1rem;
    margin-top:2rem;
}

.property-detail h2{
    font-size:1.125rem;
    border-bottom:2px dotted #ccc;
    padding-bottom:1rem;
}

.property-table{
    border: 1px solid #ccc;
    font-size:14px;
}

.property-table th{
    width:25%;
    padding:8px;
    font-weight: 500;
}

.property-table td{
    background: #fff;
    padding: 8px;
}

.property-cta{
    background: #FFFFEF;
    padding: 1rem 1rem 1.5rem 1rem;
}

.property-slide{
    margin:20px 0 40px 0;
}

.property-summary {
    font-size:14px;
    font-weight: 500;
}

.property-money{
    font-size:1.5rem;
    color:var(--main-color);
    font-weight: 700;
}

.property-summary-year span,.property-summary-access span{
    background:#eee;
    font-size:13px;
    padding:3px 6px;
    border-radius: 4px;
    margin-right:4px;
}

.property-summary-year,.property-summary-access{
    display: inline-block;
    margin-top:12px;
}

.property-summary-access{
    margin-left:4px;
}

.property-list-relation {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1rem;
    list-style: none;
}

.property-list-relation li.property-item{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* ホバー時に影を強調 */
}

/* Swiperのスタイル調整 */

.swiper {
    position: relative; 
    width: 100%;
    margin: 0 auto;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: auto;
}

/* ページネーションのスタイル */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #333;
    margin: 0 5px;
    opacity: 1;
}

/* ナビゲーションボタン */
.swiper-button-prev, .swiper-button-next {
    color: #333;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}


.swiper-pagination{
    position: static !important; 
}

/* 必要であれば、bottom の代わりに正しい位置を設定 */
.swiper-horizontal>.swiper-pagination-bullets {
    bottom: 10px !important; /* ページネーションをスライダーの下に配置 */
    top: auto !important; /* デフォルトで top が設定されている場合を無効化 */
}

/* ナビゲーションボタンのサイズを上書き */
.swiper-button-next, .swiper-button-prev {
    width: 40px !important; /* カスタムサイズに上書き */
    height: 40px !important; /* カスタムサイズに上書き */
}

/* ナビゲーションボタン内のアイコンサイズを上書き */
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 16px !important; /* 適切なアイコンサイズに上書き */
    color: #fff !important;
    font-weight: 700 !important;
}

.single-property .breadcrumb{
        padding: 0;
        margin-bottom:8px;
}

.breadcrumb-pa{
    padding:1rem 0 0.75rem 0;
}

/* =================================================================
# 投稿ページ（single.php）
# ================================================================= */

.post-meta{
    font-size:14px;
}

.tag-link a{
    color:#fff;
    background:var(--accent-color);
    text-decoration: none;
    text-align: center;
    padding:3px 6px;
    font-size:13px;
    border-radius: 4px;
    margin-right:6px;
    border:1px solid var(--accent-color);
    transition: all 0.3s ease;
}

.tag-link a:hover{
    color:var(--accent-color);
    background:#fff;
    border:1px solid var(--accent-color);
}

/* =================================================================
# アーカイブページ（archive / tag）
# ================================================================= */

.cat-tag {
    background-color: var(--accent-color);
    color: #fff;
    padding: 3px 8px 4px 8px;
    font-size: 11px;
    border-radius: 4px;
    white-space: nowrap;
    text-align: center;
    margin-right:4px;
}


/* =================================================================
# お知らせ一覧
# ================================================================= */

.archive-list {
    list-style: none;
}

.archive-item {
    border: 1px solid #ccc; /* グレーの枠線 */
    border-radius: 4px;
    margin-bottom: 1rem;
    background-color: #fff; /* 背景を白に設定 */
    transition: background-color 0.3s ease;
}

.archive-item a {
    text-decoration: none;
    color: #222; /* リンク色を通常のテキスト色に設定 */
    display: block;
    width: 100%;
    height: 100%;
    padding: 1rem;
}

.archive-item:hover {
    background-color: #f7f7f7; /* ホバー時に背景色を変更 */
}

.archive-meta time{
    color:#666;
}

.archive-item .tag {
    display: inline-block;
}

.archive-item-title {
    font-size: 1.125rem;
    font-weight: bold;
    margin: 1rem 0 .75rem 0;
    color: #222;
}

.archive-excerpt {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

.news-categories .current-cat a{
    background:var(--main-color);
    color:#fff;
}

/* =================================================================
# お知らせ一覧のカテゴリリスト
# ================================================================= */

.news-categories ul {
    list-style: none;

    display: flex;
    flex-wrap: wrap;
}

.news-categories li {
    margin-right: 12px;
}

.news-categories a {
    display: inline-block;
    padding: 8px 12px;
    font-size: 0.875rem;
    background-color: #f2f2f2;
    color: #222;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.news-categories a:hover {
    background-color: var(--main-color);
    color: #fff;
}


/* =================================================================
# パソコン（1366px）
# ================================================================= */
@media (max-width: 1366px) {

    header {
        height: 5rem;
    }

    .header-left {
        margin-left: 1rem;
    }

    .logo img {
        max-width: 220px;
    }

    .header-nav > div > ul > li {
        font-size: 13px;
    }
    
    .header-cta {
        padding: 0 .75rem;
    }

    .header-cta-tel {
        font-size: 1.25rem;
    }

    .header-cta-tel i {
        font-size: 1.125rem;
    }

    .catchphrase-main{
        font-size: 3rem;
    }

    .number {
        font-size: 2.5rem;
    }

    .section-pa,.news,.footer {
        padding: 3rem 6%;
    }

    .news-inner{
        max-width: 100%;
    }

    .footer-nav{
        padding: 3rem 0 0 0;
    }
    .footer-list{
        max-width: 100%;
    }

    .post-pa{
        padding: 0 6%;
    }

    .property-info{
        padding: 1rem .75rem;
    }

    .property-address, .property-station{
        font-size: 13px;
    }

    .property-img {
        height: 150px;
    }

}

/* =================================================================
# タブレット（1024px）
# ================================================================= */

@media (max-width: 1024px) {

    .section-pa, .news, .footer{
        padding: 3rem 4%;
    }

    .post-pa{
        padding: 0 4%;
    }

    .achievements{
        padding: 50px 10px 0 10px;
    }

    .achievements-list {
        width: 100%;
    }

    .achievements-list li{
        padding: 10px 20px;
    }

    .number {
        font-size: 2rem;
    }

    .list01-title{
        font-size: 1rem;
    }

    .property-list{
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .footer-contents{
        display:block;
    }

    .footer-cta{
        margin-top:20px;
    }

    .post{
        display:block;
    }

    .main-content {
        margin-right: 0;
        max-width: 100%;
    }

    .sidebar{
        width: 100%;
    }
}

/* =================================================================
# スマホ（768px）
# ================================================================= */

@media (max-width: 768px) {

    .section-pa, .news {
        padding: 3rem 3%;
    }

    .footer{
        padding: 2rem 3%;      
    }

    .post-pa {
        padding: 0 3%;
    }

    .catchphrase-sub {
        font-size: 1.75rem;
    }

    .catchphrase-main {
        font-size: 1.75rem;
    }

    .key-visual {
        height: 300px;
    }

    .key-visual .catchphrase {
        padding: 1rem;
    }

    .achievements {
        margin-top: 20px;
        padding-top: 0px;
    }

    .achievements-list{
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .achievements-list li{
        padding: 10px 15px;
    }

    .home-title {
        font-size: 1.125rem;
    }

    .list01 {
        display: block;
    }

    .list01-item{
        width:100%;
        margin-bottom: 1rem;
    }

    .property-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-price{
        font-size: 1.125rem;
    }

    .property-size {
        font-size: 13px;
    }

    .home-title span{
        font-size:2rem;
    }

    .property-title:before, .property-title:after {
        width: 50px;
    }

    .property-detail{
        border-top: 3px solid var(--main-color);
        border-left: none; 
        border-right: none;
        border-bottom: none;
        border-radius: 0;
        padding: 1rem 0 0 0;
    }

    .post-list a{
        display:block;
    }

    .post-list p{
        margin-top: 12px;
    }

    .post-list li:last-child{
        border: none;
        padding-bottom: 0;
    }

    .newentry-date{
        margin-right: 4px;
    }

    .post-list li {
        padding: 1rem 0 ;
        border-bottom: 1px dashed #ccc;
    }

    .footer-cta-title{
        margin-bottom: 1rem;
    }

    .cta-buttons{
        display: block;
        text-align: center;
    }

    .tel-btn{
        font-size: 2rem;
    }

    .tel-btn i {
        font-size: 1.75rem;
    }

    .mail-btn{
        padding: 1rem;
        margin-top:1rem;
    }

    .footer-column{
        min-width:100%;
    }

    .footer-column ul {
        list-style: none; /* リストマーカーを削除 */
        display: flex; /* 横並びにする */
        flex-wrap: wrap;
    }
    
    .footer-column ul li {
        position: relative; /* after要素のための設定 */
        padding-right: 12px;
        margin-right: 8px;
    }
    
    .footer-column ul li:not(:last-child)::after {
        content: "|"; /* 縦棒を挿入 */
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        display: inline-block;
        color: #333; /* 縦棒の色 */
    }

    .property-list-relation{
        grid-template-columns: repeat(2, 1fr);
    }
    
    .property-summary-year,.property-summary-access{
        display: block;
        margin-top:12px;
    }
    
    .property-summary-access{
        margin-left:0;
    }

    .property-table th,.property-table td{
        font-size:12px;
    }

    .property-table td {
        min-width: 90px;
    }

    .footer-column {
        padding-right: 0;
    }

    .post-title{
        padding: 1.25rem 0;
        font-size: 1.25rem;
    }

}