/*
 * Theme Name: SWELL CHILD
 * Template: swell
 * */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');

/* 英字の装飾見出しに付けるクラス */
.kt-en {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

:root {
  /* カスタマイザーで管理できない色だけ定義する */
	--kt-blue: #53c2d1;   /* お問い合わせボタン */
	--kt-green: #03c755;  /* LINEボタン */
	--kt-insta: #be136f;  /* Instagramボタン */
	--kt-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
	--kt-cream: #fdf8ee;
}

/* SNSボタン */
.btn_arrow .swell-block-button__link {
	position: relative;
	background-color: #fff;
	border-radius: 10px;
	max-width: 258px;
	padding: 20px;
	font-weight: bold;
}

.btn_arrow .swell-block-button__link .__icon.-right {
  position: absolute;
  top: 50%;
  right: 1.5em;
  transform: translateY(-50%);
}

.btn_arrow .swell-block-button__link::before {
	content: "";
	width: 48px;
	height: 50px;
	flex-shrink: 0;
	background: no-repeat center / contain;
	position: absolute;
	top: 50%;
	left: 22px;
	transform: translateY(-50%);
}

.btn_arrow--mail .swell-block-button__link::before {
  background-image: url('/wp-content/uploads/2026/07/icon-mail.svg');
}

.btn_arrow--line .swell-block-button__link::before {
  background-image: url('/wp-content/uploads/2026/07/icon-line.svg');
}

.btn_arrow--insta .swell-block-button__link::before {
  background-image: url('/wp-content/uploads/2026/07/icon-instagram.png');
}

.btn_arrow.blue_ .swell-block-button__link {
    color: #53c2d1;
}

.btn_arrow.green_ .swell-block-button__link {
    color: #03c755;
}

.btn_arrow.red_ .swell-block-button__link {
    color: #BE136F;
}

/* 通常ボタン */

/* ヘッダー */
html:not([data-spmenu="opened"]) .p-spMenu.-right .p-spMenu__inner {
  transform: translateX(100%);
}

.c-gnav>.menu-item>a {
    font-weight: bold;
}

.p-spMenu__inner::before {
  background-color: var(--kt-cream);
}

.p-spMenu__inner {
  width: 100%;
}

.p-spMenu__body {
    padding: 30px 5px;
}

.p-spMenu__nav a {
  color: #5c4828;
  border-bottom: none;
  padding-left: 16px;
}

.p-spMenu__nav a::before {
  content: none;
}

.p-spMenu__nav > ul.c-spnav > li > a {
  font-weight: 700;
}

.p-spMenu__nav .sub-menu a {
  font-weight: 500;
  font-size: 14px;
  padding-left: 15px;
}

.p-spMenu__nav .sub-menu a::before {
  content: "・";
  position: static;
  transform: none; 
  font-family: "Noto Sans JP", sans-serif !important;
  color: #5c4828;
  margin-right: 2px;
}

.c-widget__title.-spmenu {
  display: none;
}

.p-spMenu__inner::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 16px;
  transform: translateY(-50%);
  width: 100px;
  height: 22px;
  background: url('/wp-content/uploads/2026/07/logo-kitanoki.svg') no-repeat left center / contain;
}

.c-headLogo__link, .bukken-cardlink{transition:opacity .3s}
.c-headLogo__link:hover, .bukken-cardlink:hover {opacity:.8}

@media (min-width: 960px) {
	#gnav .ttl {
		line-height: 20px;
	}
	
	.-series .l-header__logo {
		padding-top: 19px;
		padding-bottom: 19px;
	}
}

/* フッター */
.l-footer__foot {
	display: none;
}

footer.l-footer {
	background:#FDF8EE;
}

#footer .l-footer__widgetArea{
	padding:0
}

#footer .w-footer{position:relative;max-width:none;padding:0 0 76px}
#footer .w-footer::before{content:"";position:absolute;left:0;right:0;top:81px;bottom:0;background:#fff;border-radius:30px 30px 0 0}
#footer .w-footer::after{
	content:"";
	position:absolute;
	right:0;
	bottom:0;
	width: 291px;
    height: 164px;
    background: url(../../uploads/2026/08/kitanoki-footer-houses-sp.png) right bottom / cover no-repeat;
	pointer-events:none
}
#footer .w-footer__box{position:relative;z-index:1}
#footer .w-footer .c-widget{margin:0}
#footer .w-footer p{margin:0}
#footer p.footer-contact_catch{position:relative;z-index:2;height:48px;margin:0;font-size:0;line-height:0;color:transparent;background:url(../../uploads/2026/08/text-tel-lead-sp-outline.svg) calc(50% + 37.95px) center/328.901px auto no-repeat}
#footer .footer-contact{position:relative;z-index:1;width:302px;margin:-18px auto 0;background:#FF7600;border-radius:10px;padding:22px 0 12px}
#footer .footer-contact .wp-block-group__inner-container > .is-row{display:flex;align-items:center;justify-content:center;gap:9px;margin:0}
#footer .footer-contact_tel{line-height:1}
#footer .footer-contact_tel .swl-fz{font-size:22px!important}
#footer p.footer-contact_time{margin-top:6px;line-height:1}
#footer .footer-contact_time .swl-fz{font-size:14px!important}
#footer .footer-sns{margin-top:37px}
#footer .footer-logo{margin:47px 0 0 37px}
#footer .footer-logo figure{float:none;margin:0}
#footer .footer-logo img{width:106px!important;height:auto}
#footer p.footer-sp_text{margin:24px 0 0 37px;font-weight:500;line-height:1.43}
#footer .c-listMenu{margin:20px 0 18px!important;padding:0 6px 0 37px}
#footer .c-listMenu ul{list-style:none;margin:0;padding:0}
#footer .c-listMenu li{margin:22px 0 0;padding:0;border:none}
#footer .c-listMenu ul.menu > li:first-child{margin-top:0}
#footer .c-listMenu a{display:inline-block;padding:0;border:none;background:none;color:#5C4828;font-size:14px;line-height:20px;font-weight:700;text-decoration:none}
#footer .c-listMenu a::before,#footer .c-listMenu a::after{content:none}
#footer .c-listMenu .sub-menu{display:grid;grid-template-columns:repeat(3,1fr);gap:0 9px;margin:10px 0 0}
#footer .c-listMenu .sub-menu li{margin:0;flex:0 1 auto}
#footer .c-listMenu .sub-menu a{font-weight:500;padding-left:1em;text-indent:-1em;max-width:9em}
#footer .c-listMenu .menu > .menu-item:nth-child(2) .sub-menu > li:first-child > a{max-width:7em}
#footer .c-listMenu .sub-menu a::before{content:"・";position:static;display:inline;width:auto;height:auto;transform:none;line-height:inherit}
#footer .sns-icon{display:flex;justify-content:center;gap:15px;margin:8px 0 0}
#footer .sns-icon figure{margin:0}

@media(min-width:768px){
	#footer .w-footer {
		padding: 0 0 min(4.93vw, 71px);
	}
#footer .w-footer::before{top:min(6.46vw,93px);border-radius:30px 30px 0 0}
	#footer .w-footer::after {
		width:min(42.84vw,612px);
		height:min(19.58vw,277px);
		background: url(../../uploads/2026/08/kitanoki-footer-houses.png) right bottom / cover no-repeat;
	}
#footer .w-footer__box{width:100%;max-width:1440px;margin-left:auto;margin-right:auto;display:grid;grid-template-columns:min(20.83vw,300px) 1fr auto;grid-template-areas:"catch catch catch" "pill pill pill" "btns btns btns" "logo nav sns" "addr nav sns";align-content:start;padding:0 min(7.99vw,115px)}
#footer .w-footer__box > .c-widget:nth-child(1),#footer .w-footer__box > .c-widget:nth-child(1) .textwidget,#footer .w-footer__box > .c-widget:nth-child(1) .p-blogParts{display:contents}
#footer p.footer-contact_catch{grid-area:catch;z-index:2;height:min(3.958vw,57px);background:url(../../uploads/2026/08/text-tel-lead-pc-outline.svg) calc(50% + min(6.6215vw,95.35px)) max(-6.806vw,-98px)/min(56.368vw,811.7px) auto no-repeat}
#footer .footer-contact_catch br{display:none}
#footer .footer-contact{grid-area:pill;z-index:1;width:min(49.38vw,711px);height:min(8.47vw,122px);margin:max(-1.67vw,-24px) auto 0;border-radius:min(2.08vw,30px);padding:0}
#footer .footer-contact .wp-block-group__inner-container{display:flex;align-items:center;height:100%;padding-left:min(4.51vw,65px)}
#footer .footer-contact .wp-block-group__inner-container > .is-row{gap:min(1.25vw,18px)}
#footer .footer-contact_tel-icon img{width:min(3.89vw,56px)!important;height:auto}
#footer .footer-contact_tel .swl-fz{font-size:min(3.47vw,50px)!important}
#footer p.footer-contact_time{margin:min(1.25vw,18px) 0 0 0}
#footer .footer-contact_time .swl-fz{font-size:min(1.11vw,16px)!important}
#footer .footer-sns{grid-area:btns;margin-top:min(5.35vw,77px)}
#footer .footer-sns .wp-block-group__inner-container{display:flex;justify-content:center;gap:min(1.32vw,19px)}
#footer .footer-sns .swell-block-button{width:min(27.15vw,391px);margin:0}
#footer .footer-sns .swell-block-button__link{width:100%!important;max-width:none;height:min(8.47vw,122px);border-width:2px;border-radius:min(2.08vw,30px);padding:0 min(3.47vw,50px) 0 min(2.43vw,35px);font-size:min(1.74vw,25px)!important}
#footer .footer-sns .swell-block-button__link::before{width:min(3.58vw,52px);height:min(3.58vw,52px)}
#footer .btn_arrow--mail .swell-block-button__link::before{width:min(4.91vw,70.75px)}
#footer .footer-sns .swell-block-button__link > span{margin-left:min(3.06vw,44px)}
#footer .footer-sns .swell-block-button__link svg.__icon{right:min(1.67vw,24px);width:min(1.63vw,24px);height:min(1.63vw,24px)}
#footer .footer-logo{grid-area:logo;margin:min(2.5vw,36px) 0 0}
#footer .footer-logo img{width:min(21.19vw,305px)!important}
#footer p.footer-sp_text{grid-area:addr;margin:min(1.32vw,19px) 0 0;line-height:1.667}
#footer .footer-sp_text .swl-fz{font-size:min(1.25vw,18px)!important}
#footer .w-footer__box > .c-widget:nth-child(2){grid-area:nav;margin:0;padding:min(6.11vw,88px) 0 0 min(2vw,29px)}
#footer .c-listMenu ul.menu{display:flex;gap:min(2.43vw,35px)}
#footer .c-listMenu ul.menu > li{margin:0}
#footer .c-listMenu a{font-size:min(1.25vw,18px);line-height:1.444}
#footer .c-listMenu .sub-menu{display:block;margin:0}
#footer .c-listMenu .sub-menu li{margin:min(0.97vw,14px) 0 0;max-width:none}
#footer .c-listMenu .sub-menu a{font-size:min(1.25vw,18px)}
#footer .w-footer__box > .c-widget:nth-child(3){grid-area:sns;margin:0}
#footer .w-footer__box > .c-widget:nth-child(3) .p-blogParts{padding-top:min(6.04vw,87px)}
#footer .sns-icon{flex-direction:column;justify-content:flex-start;gap:min(1.11vw,16px);margin:0}
#footer .sns-icon img{width:min(5.35vw,77px)!important}
}

@media (max-width: 767px) {
	#footer .c-listMenu .sub-menu { display: flex; flex-wrap: wrap; gap: 0 32px; }
	#footer .c-listMenu .sub-menu li { flex: 0 0 auto; }
	#footer .c-listMenu .sub-menu a { max-width: 7em; }
	#footer .c-listMenu .sub-menu li:nth-child(n+2) a { max-width: 5em; }
}

@media (min-width: 1300px) {
	#footer .footer-sns .swell-block-button__link::before {
		width: 77px;
		height: 78px;
		left: 34px;
	}
}

/* 固定フッター */
#before_footer_widget{margin:0;padding:0}

@media (max-width: 767px) {
	body{padding-bottom:57px}
	.p-fixBtnWrap{bottom:70px}
	#fixed-bottom-menu{position:fixed;left:0;right:0;bottom:0;z-index:2;margin:0;background:rgba(255,255,255,.6);padding:8px 20px 9px}
	#fixed-bottom-menu .swell-block-columns__inner{display:flex;flex-wrap:nowrap;gap:15px;margin:0}
	#fixed-bottom-menu .swell-block-column{flex:1;width:auto;max-width:none;margin:0}
	#fixed-bottom-menu .swell-block-button{width:100%;margin:0}
	#fixed-bottom-menu .swell-block-button__link{display:flex;align-items:center;justify-content:center;gap:7px;width:100%!important;max-width:none;height:40px;min-height:0;border:none;border-radius:5px;padding:0;font-size:12px!important;font-weight:700;color:#fff!important;box-shadow:none}
	#fixed-bottom-menu .btn-mail .swell-block-button__link{background:#54C1D1!important}
	#fixed-bottom-menu .btn-insta .swell-block-button__link{background:#BE136F!important}
	#fixed-bottom-menu .swell-block-button__link::before{content:"";flex-shrink:0;width:28px;height:28px;border-radius:50%;background-color:#fff;background-repeat:no-repeat;background-position:center}
	#fixed-bottom-menu .btn-mail .swell-block-button__link::before{background-image:url(../../uploads/2026/08/kitanoki-icon-mail-v2.png);background-size:16px auto}
	#fixed-bottom-menu .btn-insta .swell-block-button__link::before{background-image:url(../../uploads/2026/07/icon-instagram.png);background-size:20px auto}
}

@media (min-width: 768px) {
	#fixed-bottom-menu{display:none}
}

/* PC追従ボタン（全ページ共通） */
.pc-cta{display:none}
.pc-cta a{transition:opacity .3s}
.pc-cta a:hover{opacity:.8}

@media (min-width: 768px) {
	.pc-cta{display:block;position:fixed;top:296px;right:0;z-index:50}
	.pc-cta-tab{display:flex;flex-direction:column;align-items:center;width:82px;padding:18px 0 19px;border-radius:10px 0 0 10px;overflow:hidden;text-decoration:none}
	.pc-cta-contact{min-height:253px;background:#53C2D1}
	.pc-cta-consult{min-height:179px;margin-top:21px;background:#BE136F}
	.pc-cta-tab img{display:block;width:50px;height:auto}
	.pc-cta-consult img{width:49.5px}
	.pc-cta-label{display:block;margin-top:15px;color:#fff;writing-mode:vertical-rl;font-size:18px;font-weight:700;letter-spacing:.4em;line-height:1}
}

/* ===== 共通ボタン（.btn） ===== */
/* ボタンの外枠が文字より短くならない下限 */
.post_content .btn{min-width:max-content}
.post_content .btn>a{position:relative;display:inline-flex!important;align-items:center;justify-content:left!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:44px!important;height:auto!important;padding:0 20px!important;border:1px solid #5C4828!important;border-radius:999px!important;background:#fff!important;box-shadow:none!important;color:#5C4828!important;transition:background-color .3s,border-color .3s,color .3s;font-size:12px!important;font-weight:700;line-height:1.4;white-space:nowrap;text-decoration:none}
.post_content .btn>a .__icon{position:absolute;top:50%;right:14px;transform:translateY(-50%);margin:0;color:#FF7600;fill:#FF7600;font-size:16px}
.post_content .btn>a:hover{background:#5C4828!important;border-color:#5C4828!important;color:#fff!important}
.post_content .btn>a:hover .__icon{color:#fff;fill:#fff}

/* サービス紹介のボタン */
.post_content .svc-btn>a{max-width:173px!important}

/* お知らせのボタン（オレンジ塗り） */
.post_content .news-btn>a{min-height:36px!important;background:#FF7600!important;border-color:#FF7600!important;color:#fff!important}
.post_content .news-btn>a .__icon{color:#fff;fill:#fff}

@media(min-width:768px){
	.post_content .btn>a{min-height:64px!important;font-size:18px!important;padding: 0 30px !important;}
	.post_content .btn>a .__icon{right:24px;font-size:23px}
	.post_content .svc-btn>a{max-width:252px!important}
	.post_content .news-btn>a{min-height:64px!important}
}

/* ===== セクションのフェードアップ ===== */
.has-anim .js-fadeUp{opacity:0;transform:translateY(30px);transition:opacity .8s ease-out,transform .8s ease-out;will-change:opacity,transform}
.has-anim .js-fadeUp.is-shown{opacity:1;transform:none}

/* ===== フッターのリンク（hoverで薄く） ===== */
#footer a{transition:opacity .3s}
#footer a:hover{opacity:.8}
#footer .footer-contact_tel a:hover, #footer .footer-sns a {opacity:1}

/* ===== フッターの電話ボックス（tel:リンク／hoverで色反転） ===== */
#footer .footer-contact{position:relative;transition:background-color .3s,box-shadow .3s}
#footer .footer-contact p{transition:color .3s}
#footer .footer-contact_tel a{color:inherit;text-decoration:none}
#footer .footer-contact_tel a::after{content:"";position:absolute;inset:0}
#footer .footer-contact:has(.footer-contact_tel a:hover){background-color:#fff!important;box-shadow:inset 0 0 0 2px #FF7600}
#footer .footer-contact:has(.footer-contact_tel a:hover) p{color:#FF7600!important}
#footer .footer-contact:has(.footer-contact_tel a:hover) .footer-contact_tel-icon img{opacity:0}
#footer .footer-contact:has(.footer-contact_tel a:hover) .footer-contact_tel-icon{background:url(../../uploads/2026/08/icon-tel-hover.svg) center/contain no-repeat}

/* ============ お知らせ一覧（投稿アーカイブ） ============ */
.blog .l-mainContent,
.blog .l-mainContent__inner{max-width:976px}
.blog .p-homeContent{max-width:302px;margin-top:51px!important;margin-inline:auto}
.blog .c-tabBody__item{background:#fff;border-radius:10px;padding:19px 29px 47px}
.blog .p-postList.-type-simple{margin:0;padding:0;border:none}
.blog .p-postList__item{margin:0;padding:38px 0 37px;border-bottom:1px solid #5c4828}
.blog .p-postList__link{display:block;padding:0 0 0 25px;border:none}
.blog .p-postList__body{padding:0}
.blog .p-postList__cat{display:none}
.blog .p-postList__meta{margin:0;padding:0}
.blog .p-postList__times,
.blog .c-postTimes__posted{margin:0;padding:0;font-size:16px;font-weight:500;line-height:24px;color:#5c4828;opacity:1}
.blog .c-postTimes__posted.icon-posted::before{display:none}
.blog .p-postList__title{margin:0;font-size:16px;font-weight:500;line-height:24px;color:#5c4828}
.blog .p-postList__link:hover .c-postTimes__posted,
.blog .p-postList__link:hover .p-postList__title{color:#ff7600}
.blog .c-pagination{margin-top:71px;margin-bottom:0;justify-content:center;gap:6px}
.blog .c-pagination .page-numbers{display:flex;align-items:center;justify-content:center;width:26px;height:26px;margin:0;padding:0;border:none;background:transparent;box-shadow:none;font-size:14px;font-weight:700;line-height:1;color:#5c4828}
.blog .c-pagination .page-numbers.current{background:#5c4828;color:#fff}
@media (min-width:768px){
.blog .p-homeContent{max-width:976px;margin-top:86px!important}
.blog .c-tabBody__item{border-radius:30px;padding:33px min(7.71vw,111px) 57px}
.blog .p-postList__item{padding:61px 0}
.blog .p-postList__link{padding-left:29px}
.blog .p-postList__body{display:flex;align-items:flex-start}
.blog .p-postList__meta{width:min(12.71vw,183px);flex:none}
.blog .p-postList__times,
.blog .c-postTimes__posted{font-size:20px;line-height:29px}
.blog .p-postList__title{font-size:20px;line-height:29px}
.blog .c-pagination{margin-top:119px;gap:8px}
.blog .c-pagination .page-numbers{width:38px;height:38px;font-size:20px}
}

/* ============ パンくずリスト（カンプに無いため非表示） ============ */
.p-breadcrumb{display:none}

/* ============ 一覧・記事リンクのホバー背景を打ち消す ============ */
.p-postList.-type-simple .p-postList__link:hover{background-color:transparent}

/* ============ お知らせ一覧 ページタイトルを手書き画像に ============ */
.blog .l-content{padding-top:43px}
.blog .c-pageTitle::after{display:none}
.blog .c-pageTitle{border:none;width:113.03px;height:28.07px;margin:0 auto;padding:0;font-size:0;line-height:0;background:url(/wp-content/uploads/2026/07/text-heading-03-orange.svg) no-repeat center center;background-size:contain}
@media (min-width:768px){
.blog .l-content{padding-top:120px}
.blog .c-pageTitle{width:214.63px;height:53.3px}
}

/* フッター直前ウィジェット：中身が追従ボタン（fixed）だけなので、ウィジェット間の余白が空白として残るのを消す */
#before_footer_widget .l-container > .c-widget { margin-top: 0; }

/* ============================================================
   物件詳細ページ（single-property.php）
   カンプ：PC 1440幅 / SP 375幅

   SP 実測（375幅・左右37px＝コンテンツ302）
     物件名 Bold16/24（下に1px線）→ 住所 Bold16/24 → 写真302×272 → サムネ98×72
     → 表は1列の縦積み（ラベル行#E3E3E3 / 値行白・各28px・14px Bold中央）
        価格の値行だけ 45px・Bold18 #FF7600
     → 備考ボックス（14px Bold/20）→ ボタン
   ============================================================ */

.single-property .l-content,
.post-type-archive-property .l-content {
  padding-top: 0;
}

.kt-property .bukken {
  padding: 38px 0 0;
}

.kt-detail {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 38px;
  padding: 0 22px;
}

.kt-detail__gallery {
  min-width: 0;
  max-width: 100%;
  margin-top: 28px;
}

.kt-detail__info {
  min-width: 0;
  margin-top: 38px;
}

.kt-slider,
.kt-thumbs {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.kt-slider {
  background: #fff;
  border-radius: 4px;
}

.kt-slider .swiper-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 302 / 272;
  object-fit: contain;
}

.kt-slider .swiper-button-prev,
.kt-slider .swiper-button-next {
  width: 38px;
  height: 38px;
  margin-top: -19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
}

.kt-slider .swiper-button-prev::after,
.kt-slider .swiper-button-next::after {
  font-size: 15px;
  font-weight: 700;
  color: #5c4828;
}

.kt-thumbs {
  margin-top: 8px;
}

.kt-thumbs .swiper-slide {
  cursor: pointer;
  overflow: hidden;
  border-radius: 2px;
  opacity: 0.55;
  transition: opacity 0.2s;
}

.kt-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.kt-thumbs .swiper-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 98 / 72;
  object-fit: cover;
}

.post_content .kt-detail__name::after,
.post_content .kt-detail__name::before { content: none; }

.post_content h2.kt-detail__name {
  background: none;
  border-left: none;
  border-top: none;
  border-right: none;
  border-radius: 0;
  box-shadow: none;
}

.post_content .kt-detail__name {
  margin: 0;
  padding: 0 0 5px;
  border-bottom: 1px solid #5c4828;
  color: #5c4828;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.post_content .kt-detail__addr {
  margin: 0;
  padding: 6px 0 0;
  color: #5c4828;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.kt-detail__spec {
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.post_content .kt-detail__spec,
.post_content .kt-detail__spec tbody,
.post_content .kt-detail__spec tr,
.post_content .kt-detail__spec th,
.post_content .kt-detail__spec td {
  display: block;
  width: 100%;
}

.post_content .kt-detail__spec th,
.post_content .kt-detail__spec td {
  height: 28px;
  margin-bottom: -1px;
  padding: 0 8px;
  border: 1px solid #bababa;
  color: #5c4828;
  font-size: 14px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
  vertical-align: middle;
}

.post_content .kt-detail__spec th {
  background: #e3e3e3;
}

.post_content .kt-detail__spec td {
  background: #fff;
}

.post_content .kt-detail__spec td.kt-detail__price {
  height: 45px;
  color: #ff7600;
  font-size: 18px;
  line-height: 43px;
}

.kt-detail__note {
  margin-top: 22px;
  padding: 14px 8px;
  border: 1px solid #bababa;
  background: #fff;
}

.post_content .kt-detail__note-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #5c4828;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.post_content .kt-detail__note-list li {
  padding-left: 1em;
  text-indent: -1em;
  list-style: none;
}

.post_content .kt-detail__note-list li::before {
  content: "・";
}

.kt-detail__cta {
  margin-top: 24px;
  text-align: center;
}

.post_content .kt-btn-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(354px, 100%);
  min-height: 60px;
  padding: 12px 60px 12px 24px;
  border: 1px solid #5c4828;
  border-radius: 999px;
  background: #fff;
  color: #5c4828;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.kt-btn-arrow span {
  min-width: max-content;
}

.post_content .kt-btn-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 23px;
  height: 15px;
  transform: translateY(-50%);
  background-image: url("/wp-content/uploads/2026/07/icon-arrow.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

@media (min-width: 768px) {

  .kt-property .bukken {
    padding: 74px 0 100px;
  }

  .kt-detail {
    display: grid;
    grid-template-columns: 579px 586px;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "gal head"
      "gal info";
    align-items: start;
    column-gap: 46px;
    width: 100%;
    max-width: 1210px;
    margin: 140px auto 0;
    padding: 0;
  }

  .kt-detail__head { grid-area: head; min-width: 0; }
  .kt-detail__gallery { grid-area: gal; min-width: 0; margin-top: 0; }
  .kt-detail__info { grid-area: info; min-width: 0; margin-top: 0; }

  .kt-slider .swiper-slide img {
    aspect-ratio: 579 / 514;
  }

  .kt-thumbs {
    margin-top: 16px;
  }

  .kt-thumbs .swiper-slide img {
    aspect-ratio: 3 / 2;
  }

  .post_content .kt-detail__name {
    padding: 0 0 14px 28px;
    border-bottom-width: 2px;
    font-size: 20px;
    line-height: 29px;
  }

  .post_content .kt-detail__addr {
    padding: 16px 0 16px 28px;
    font-size: 20px;
    line-height: 29px;
  }

  .post_content .kt-detail__spec { display: table; margin-top: 24px; }
  .post_content .kt-detail__spec tbody { display: table-row-group; }
  .post_content .kt-detail__spec tr { display: table-row; }
  .post_content .kt-detail__spec th { display: table-cell; }
  .post_content .kt-detail__spec td { display: table-cell; }

  .post_content .kt-detail__spec th,
  .post_content .kt-detail__spec td {
    width: auto;
    height: auto;
    margin-bottom: 0;
    padding: 11px 28px;
    font-size: 20px;
    line-height: 29px;
    text-align: left;
  }

  .post_content .kt-detail__spec th {
    width: 150px;
    background: #f2f2f2;
  }

  .post_content .kt-detail__spec .kt-detail__row-price th,
  .post_content .kt-detail__spec .kt-detail__row-price td {
    height: 87px;
  }

  .post_content .kt-detail__spec td.kt-detail__price {
    height: 87px;
    font-size: 25px;
    line-height: 29px;
  }

  .kt-detail__note {
    min-height: 139px;
    padding: 20px 28px;
  }

  .post_content .kt-detail__note-list {
    font-size: 18px;
    line-height: 1.9;
  }

  .kt-detail__cta {
    margin-top: 26px;
    text-align: right;
  }

  .post_content .kt-btn-arrow {
    min-height: 73px;
    font-size: 18px;
  }

  .post_content .kt-btn-arrow:hover {
    background: #5c4828;
    color: #fff;
    transition: background 0.2s, color 0.2s;
  }
}

/* ============================================================
   物件カード共通（TOPの物件情報セクションのCSS欄からコピー）
   ※TOPページのCSS欄にも同じものが残っている。将来どちらかに一本化する
   ============================================================ */
.bukken { padding: 49px 0px 0px; }
.post_content .bukken-heading { display: flex; align-items: center; justify-content: center; gap: 7px; width: min(193px, 100%); margin: 0px auto; padding: 0px 0px 10px; border-width: medium medium 2px; border-style: none none solid; border-color: currentcolor currentcolor rgb(255, 118, 0); border-image: none; border-radius: 0px; background: transparent; color: rgb(255, 118, 0); font-size: 19px; font-weight: 700; }
.post_content .bukken-heading::after { content: none; }
.post_content .bukken-heading::before { content: ""; position: static; display: block; width: 21px; height: auto; aspect-ratio: 65 / 75; margin: 0px; padding: 0px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 0px; background-color: rgb(255, 118, 0); mask: url("/wp-content/uploads/2026/08/kitanoki-service-icon-house-v2.png") center center / contain no-repeat; }
.post_content .bukken-list { margin: 38px 0px 0px; padding: 0px 22px; }
.bukken-card { margin: 0px; }
.bukken-card + .bukken-card { margin-top: 32px; }
.post_content .bukken-photo { margin: 0px; }
.bukken-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.bukken-name { margin: 14px 0px 0px; color: rgb(92, 72, 40); font-size: 15px; font-weight: 700; }
.post_content .bukken-addr { display: flex; align-items: center; gap: 8px; margin: 10px 0px 0px; color: rgb(92, 72, 40); font-size: 14px; font-weight: 700; }
.post_content .bukken-addr::before { content: ""; display: block; width: 13px; aspect-ratio: 16 / 20; flex-shrink: 0; background-color: rgb(92, 72, 40); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20'%3E%3Cpath d='M8 1.2C4.8 1.2 2.2 3.8 2.2 7c0 4.3 5.8 11.6 5.8 11.6S13.8 11.3 13.8 7c0-3.2-2.6-5.8-5.8-5.8zm0 8.2a2.6 2.6 0 1 1 0-5.2 2.6 2.6 0 0 1 0 5.2z' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") center center / contain no-repeat; }
.post_content .bukken-sep { margin: 12px 0px 0px; border-width: 1px medium medium; border-style: solid none none; border-color: rgb(92, 72, 40) currentcolor currentcolor; border-image: none; }
.bukken-price { margin: 16px 0px 0px; color: rgb(92, 72, 40); font-size: 15px; font-weight: 700; }
.bukken-madori { margin: 8px 0px 0px; color: rgb(92, 72, 40); font-size: 15px; font-weight: 700; }
.post_content .bukken-btnwrap { margin: 40px auto 0px; }
.post_content .bukken-btn { width: min(187px, 100%); }
@media (min-width: 768px) {
  .bukken { padding: calc(100px + min(3.5vw, 50px)) 0px 0px; }
  .post_content .bukken-heading { width: min(305px, 100%); gap: 10px; padding-bottom: 14px; font-size: 32px; }
  .post_content .bukken-heading::before { width: 46px; }
  .post_content .bukken-list { width: 100%; max-width: 1290px; margin: 100px auto 0px; padding: 0px; }
  .post_content .bukken-list > .wp-block-group__inner-container { display: flex; gap: 28px; }
  .bukken-card { flex: 1 1 0%; }
  .bukken-card + .bukken-card { margin-top: 0px; }
  .bukken-name { margin-top: 28px; font-size: 20px; }
  .post_content .bukken-addr { margin-top: 12px; font-size: 18px; }
  .post_content .bukken-addr::before { width: 16px; }
  .post_content .bukken-sep {
    display: block;
    margin-top: 20px;
    border-top: 1px solid #5c4828;
  }
  .bukken-price { margin-top: 28px; font-size: 20px; }
  .bukken-madori { margin-top: 10px; font-size: 20px; }
  .post_content .bukken-btnwrap { margin: 60px auto 0px; }
  .post_content .bukken-btn { width: min(252px, 100%); }
}


/* TOPの物件リスト（ショートコード [kt_property_list]）でもカード全体をリンクにする */
.post_content .bukken-cardlink {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* img は inline だと写真の下に隙間ができるので block にする */
.post_content .bukken-photo img {
  display: block;
}

/* ============================================================
   物件一覧ページ（archive-property.php）
   デザインはTOPの物件情報セクション（SWELL追加CSSの .bukken 系）を流用。
   ここには一覧ページ専用の差分だけを書く。
   ============================================================ */

.kt-archive .bukken {
  padding-bottom: 60px;
}

.kt-archive .bukken-cardlink {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* 一覧カンプの写真は377×241（TOPの3:2より少し横長） */
.kt-archive .bukken-photo img {
  aspect-ratio: 377 / 241;
}

.kt-archive .bukken-noimage {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 377 / 241;
  border-radius: 10px;
  background: #f4efe8;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #b7a893;
}

.kt-archive__empty {
  text-align: center;
  color: #5c4828;
  padding: 60px 22px;
}

/* PC：TOPは3枚固定のflexなので、件数が増えても折り返すようにする */
@media (min-width: 768px) {

  .kt-archive .bukken {
    padding-bottom: 100px;
  }

  .kt-archive .bukken-list > .wp-block-group__inner-container {
    flex-wrap: wrap;
    gap: 60px 40px;
  }

  .kt-archive .bukken-card {
    flex: 0 1 calc((100% - 80px) / 3);
  }

  .kt-archive .bukken-cardlink:hover .bukken-photo img {
    transform: scale(1.04);
    transition: transform 0.3s;
  }

  .kt-archive .bukken-photo {
    overflow: hidden;
    border-radius: 10px;
  }
}


/* お知らせ記事のカテゴリ表示（「お知らせ」1種類しかなく、カンプにも無いので隠す）
   一覧側は上の .blog .p-postList__cat で非表示済み */
.single-post .p-articleMetas__termList,
.single-post .c-categoryList,
/* 前後記事へのリンク（SWELL初期デザインでカンプに無い） */
.single-post .p-pnLinks,
/* カテゴリを消して中身が空になった記事フッター（区切り線だけ残るため） */
.single-post .p-articleFoot {
  display: none;
}


/* お知らせ記事下の「お知らせ一覧へ」ボタン（投稿本文下ウィジェット）
   ボタン本体は物件詳細と同じ .kt-btn-arrow を流用するため post_content で包んである */
.kt-news-back {
  margin: 40px 0 0;
  padding: 0 22px;
  text-align: center;
}

/* ブログ */
.kt-blog__heading {
    text-align: center;
}

/* ブログ一覧のページ送りをお知らせと同じ見た目にする */
.post-type-archive-blog .c-pagination {
  margin-top: 71px;
  margin-bottom: 0;
  justify-content: center;
  gap: 6px;
}

.post-type-archive-blog .c-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: #5c4828;
}

.post-type-archive-blog .c-pagination .page-numbers.current {
  background: #5c4828;
  color: #fff;
}

@media (min-width: 768px) {
  .post-type-archive-blog .c-pagination {
    margin-top: 119px;
    gap: 8px;
  }

  .post-type-archive-blog .c-pagination .page-numbers {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
}

/* PCフッター：お知らせの下にブログを置く */
@media (min-width: 768px) {
  #footer .w-footer__box .menu:has(> .menu-item-536) {
    display: grid !important;
    grid-template-columns: repeat(6, auto);
    grid-template-rows: auto 1fr;
    row-gap: 0;
    justify-content: start;
    align-items: start;
  }

  #footer .w-footer__box .menu > li:not(.menu-item-137):not(.menu-item-536) {
    grid-row: 1 / -1;
  }

  #footer .w-footer__box .menu > .menu-item-137 {
    grid-column: 5;
    grid-row: 1;
  }

  #footer .w-footer__box .menu > .menu-item-536 {
    grid-column: 5;
    grid-row: 2;
    margin-top: 12px;
  }

  #footer .w-footer__box .menu > .menu-item-536 ~ li {
    grid-column: 6;
  }
}


/* ブログ一覧：見出しの位置と大きさをお知らせに合わせる／SPページ送りの丸つぶれ修正 */
.post-type-archive-blog .l-content{padding-top:43px}
.post-type-archive-blog .kt-blog__heading{width:113.03px;height:28.07px;margin:0 auto;padding:0;border:none;line-height:0}
.post-type-archive-blog .kt-blog__heading::after{display:none}
.post-type-archive-blog .kt-blog__heading img{display:block;width:100%;height:100%;object-fit:contain}
.post-type-archive-blog .p-archiveContent{margin-top:51.4px!important}
.post-type-archive-blog .c-pagination .page-numbers,.blog .c-pagination .page-numbers{min-width:0}
@media (min-width:768px){.post-type-archive-blog .l-content{padding-top:120px}.post-type-archive-blog .kt-blog__heading{width:214.63px;height:53.3px}.post-type-archive-blog .p-archiveContent{margin-top:86px!important}}

.single-blog .p-articleFoot{display:none}

@media (max-width:767px){.kt-news-back .kt-back-blog{max-width:258px}}
