@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

h2 {
	margin: 0!important;
}

/* Font=========================== */

.yusei-magic-regular {
  font-family: "Yusei Magic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* common======================= */

@media screen and (min-width: 960px) {
	.wide90{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 90%;
}
	.wide80{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 80%;
  min-width: 950px;
}
	.wide70{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 70%;
		min-width: 1000px;
}
}

@media screen and (max-width: 960px){
	.wide90{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 90%;
}
	.wide80{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 95%;
}
	.wide70{
	position: relative;
	top: 0;
	right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
	width: 95%;
}
}

.no-kaigyou {
	white-space: nowrap;
}


/* マージン======================= */

.m-left {
	margin-left: auto;
}

.m-right {
	margin-right: auto;
}

.m-center {
	margin: 0 auto;
}

.mt-20 {
	margin-top: 20px;
}
.mt-30 {
	margin-top: 30px;
}
.mt-40 {
	margin-top: 40px;
}
.mt-50 {
	margin-top: 50px;
}

.ml-20 {
	margin-left: 20px;
}

/*コンテンツ下余白なし*/
#content {
padding-top: 0;
margin-bottom: 0px;
}
.w-beforeFooter{
	margin: 0;
}

/* テーブル========================= */

.c_table td{
	line-height: 1.8;
	padding: 15px 0;
}

/* 見出し========================== */

.lead {
	font-size: clamp(1.2rem, 2.5rem, 5rem);
	font-family: "tot-shizukardgo-stdn", sans-serif;
  font-weight: 400;
  font-style: normal;
}


/* ボタン========================= */

.c_btn {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  font-family: "tot-shizukardgo-stdn", sans-serif;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.2rem;
  color: #333;
  font-size: 1.2rem;
  text-decoration: none;
}

/* テキスト部分 */
.c_btn__text {
  position: relative;
  display: inline-block;
}

/* 下線（テキスト部分のみに適用） */
.c_btn__text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background-color: #333;
  transition: width 0.3s ease;
}

/* 丸い矢印部分 */
.c_btn__icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #192e77;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.c_btn__icon svg {
  transition: transform 0.3s ease;
}

/* ホバー時アニメーション */
.c_btn:hover .c_btn__text::after {
  width: 100%;
}

.c_btn:hover .c_btn__icon {
  transform: scale(1.15); /* サークルがふわっと拡大 */
}

.c_btn:hover .c_btn__icon svg {
  transform: translateX(2px); /* 矢印が少し右にスライド */
}

@media (max-width: 1024px) {
  .c_btn {
    display: flex;
    justify-content: center;
    margin-inline: auto;
  }
}

/* ヘッダー=========================== */

#header {
	padding-top: 10px;
}

.c-gnav>.menu-item>a .ttl {
font-size: 15px;
letter-spacing: .1rem;   /*文字の間隔*/
  font-weight: bold;
}

/*ヘッダー電話番号*/
@media (min-width: 960px) {
.w-header__inner p {
line-height: 1.5;
}
}

.header_contact_phone {
font-family: Inter, "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
font-size: clamp(0.8rem, 1.5vw, 1.3rem);
font-weight: 700;
color: #fff;
	white-space: nowrap;
letter-spacing: 1px;
}
.header_contact_phone span.icon-phone {
font-size: 1.2vw;
vertical-align: baseline;
margin-right: 2px;
}
.header_business_hours {
font-size: 0.7vw;
	color: #fff;
letter-spacing: 2px;
	white-space: nowrap;
text-align: center;
}

.header_phone_bg{
	background: #192e77;
	padding: 0.5vw 1.2vw;
}

@media not all and (min-width: 960px) {
    .c-headLogo {
        padding-left: 10px;
    }
}

/* メインビジュアル==================== */

.p-mainVisual {
	position: relative;
	padding: 100px 2.5% 60px;
	z-index: 1;
}

.p-mainVisual::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 50vw;
	height: 100vh;
	background: url('https://www.advf.co.jp/wp-content/uploads/2025/10/bg_texture_noize.jpg');
	border-radius: 0 0 0 20px;
	z-index: -1;
}

.p-mainVisual__inner {
	border-radius: 50px;
}

.main-copy-box {
	position: relative;
	top: 0;
	left: 18%;
	display: inline-block;
}

.main-copy {
	font-family: "tot-shizukardgo-stdn", sans-serif;
font-weight: 500;
font-style: normal;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
	letter-spacing: 0.3rem;
	line-height: 2.5;
	writing-mode: vertical-rl;
	color: #fff;
}

.main-copy-box .swl-bg-color {
	padding: 1.2rem 0.8rem;
}

@media screen and (max-width: 768px) {
	.p-mainVisual {
	position: relative;
	padding: 80px 3% 20px;
	z-index: 1;
}
	.p-mainVisual__inner {
	border-radius: 30px;
}
}

@media screen and (max-width: 480px) {
	.main-copy-box {
	position: relative;
	top: 20px;
	left: 12%;
	display: inline-block;
}
}

/* キャッチコビー */

.main_text{
	position: absolute;
	top: -350px;
	left: 0;
}

.heading {
  display: inline-block;
  text-transform: uppercase;
	font-size: clamp(2em, 5.5vw, 4rem);
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  font-style: normal;
	padding: 0 30px 0 30px;
	margin-bottom: 10px;
	z-index: 1;
}

.block-reveal {
  position: relative;

  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
		z-index: -1;
    background: #dceef8;
    animation: block-reveal 1.2s cubic-bezier(0.19, 0, 0.22, 1) 1s forwards;
  }

  .text-reveal{
    opacity: 0;
    animation: text-reveal 1500ms linear 1.6s forwards;
  }
}

@keyframes block-reveal {
  0% {
    left: 0;
    width: 0;
  }
  100% {
    left: 0;
    width: 100%;
  }
}

@keyframes text-reveal {
  0% {
    opacity: 0;
  }
	50% {
    opacity: .5;
  }
  100% {
    opacity: 1;
  }
}

/* キャッチコピー下段 */
.heading2 {
  display: inline-block;
  text-transform: uppercase;
	font-size: clamp(1.8em, 5.5vw, 4rem);
  font-family: "Shippori Mincho B1", serif;
  font-weight: 700;
  font-style: normal;
	padding: 0 30px 0 30px;
	z-index: 1;
}

.block-reveal2 {
  position: relative;

  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
		z-index: -1;
    background: #dceef8;
    animation: block-reveal2 1.2s cubic-bezier(0.19, 0, 0.22, 1) 2s forwards;
  }

  .text-reveal2{
    opacity: 0;
    animation: text-reveal2 1500ms linear 2.5s forwards;
  }
}

.text-reveal2 span {
	color: #0782af;
}

@keyframes block-reveal2 {
  0% {
    left: 0;
    width: 0;
  }
  100% {
    left: 0;
    width: 100%;
  }
}

@keyframes text-reveal2 {
  0% {
    opacity: 0;
  }
	50% {
    opacity: .5;
  }
  100% {
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
	.main_text{
	position: absolute;
	top: -350px;
	left: 0;
}
}

@media screen and (max-width: 480px) {
	.main_text{
	top: -250px;
}
}


/* お知らせ========================== */

.news-item {
}
.newsList {
  display: flex;
  flex-flow: row wrap;
  list-style: none;
  align-items: baseline;
	background-color: #fdfdfd;
}
ul.newsList {
  padding: 1.5rem 0 1.5rem 1rem;
	width: 100%;
	margin: 15px auto;
	border-radius: 10px;
}

ul.newsList li {
  margin: 0 10px;
}

ul.newsList li a {
  color: #444;
  transition: color 0.3s ease; 
  display: inline;
}

ul.newsList li a:hover {
  color: #158ad3;
  transform: translateX(5px); 
}

ul.newsList li a:hover .news_text p,
.news_text a:hover p {
  transform: translateX(5px);
}

.news_date {
  min-width: 100px;
  font-weight: bold;
	color: #192e77;
	font-size: 1rem;
}

.news_text p {
	font-family: "tot-shizukardgo-stdn", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  display: inline-block;
  transition: transform 0.3s ease;
  margin: 0;
  line-height: 1.4;
}

.news_text {
  flex: 1; 
}

.scroll {
  overflow: auto;
  height: 100%;
  max-height: 400px;
  width: 100%;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #dfdfdf #fff;
}

/* WebKit */
.scroll::-webkit-scrollbar {
  width: 10px;
}
.scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.scroll::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}
.scroll::-webkit-scrollbar-thumb:hover {
  background: #555;
}

@media screen and (max-width: 768px) {
	.top-news-wrapper {
		width: 93%;
		margin: 0 auto;
	}
  .newsList {
    flex-direction: column;
  }
	.news_text p{
    margin-top: 0.8em;
  }
	.scroll {
  max-height: 400px;
}
}


/*news詳細ページ*/
.c-postTitle__ttl{
	display: none;
}

.text_h2{
	font-size: 1.5rem;
	margin-bottom: 10px;
}

.news_date{
		margin-bottom: 20px;
}
.news-box{
	max-width: 1200px;
	margin: 80px 0 80px 0;
}

.news_file {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.news-file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8em 1.6em;
  color: #fff;
  background-color: #e87e39;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: 1px solid transparent; 
	margin-top: 30px;
}

.news-file-btn:hover {
  border: 1px solid #e87e39;
  background-color: transparent;
  color: #333;
}

.news_img_top{
	text-align: center;
}

.text_main p{
	margin-bottom: 1.5em;
}

.text_main{
	margin-top: 40px;
	margin-bottom: 30px;
}
@media screen and (max-width: 480px){
  .text_box{
    font-size: 17px;
  }
}

.flex_news_img{
width:100%;
  height:auto;
  display:flex;
  flex-direction:row; /* 記載しなくてもデフォルトで指定されている */
  flex-wrap:wrap; /* 折り返し */
  justify-content:space-between;
	 gap: 10px 4px; /* 余白 */
	margin-top: 60px;
}
.flex_news_img::after{
  content:"";
  display: block;
  width:32%;
}

.news_img{
	width: 32.5%;
}
@media screen and (max-width: 480px){
	.flex_news_img{
    flex-direction: column;
  }
  .news_img{
    width: 100%;
  }
}


/* トップページ==================== */
/* 別件情報 */
:root{
  --left-gutter: 10vw;
  --gap: 24px;
  --radius: 16px;
  --card-shadow: 0 8px 28px rgba(0,0,0,.08);
  --badge-bg: #192e77;
  --text-muted: #4a5568;
}

.estate-outer{
  background-image: url('https://www.advf.co.jp/wp-content/uploads/2025/10/bg_texture_noize.jpg');
  border-radius: 80px 80px 0 0;
}

.prop-bleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
  isolation: isolate;
}

.prop-clip{
  width: calc(100vw - var(--left-gutter));
  margin-left: var(--left-gutter);
  overflow: hidden;
  position: relative;
}

.prop-clip .swiper{
  width: 100%;
  overflow: visible;
  padding-bottom: 36px;
  touch-action: pan-y;
}


/* カード（スライド） */
.prop-card.swiper-slide{
  width: clamp(260px, 28vw, 420px);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  text-decoration: none;
  color: inherit;
  display: block;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  will-change: transform;
}

/* --- サムネイルラッパー --- */
.prop-card__media{
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden; /* ★ここで拡大画像を切る */
  border-bottom: 1px solid #eee;
}

/* --- サムネイル画像 --- */
.prop-card__thumb{
  position: absolute;   /* ★absolute化して固定領域内で拡大 */
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f2f3f5;
  transition: transform .35s ease;
  will-change: transform;
}

/* ホバー拡大：はみ出さない */
.prop-card:hover .prop-card__thumb,
.prop-card:focus-visible .prop-card__thumb{
  transform: scale(1.05);
}

/* バッジ：画像左上 */
.prop-card__typebadge{
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--badge-bg);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  letter-spacing: .02em;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
  z-index: 2;
}

/* SPスワイプ時のバッジ消失対策 */
.prop-card__typebadge {
  transform: translateZ(0);     /* GPUレイヤー化でちらつき防止 */
  backface-visibility: hidden;  /* 背面非表示で描画安定化 */
  will-change: transform;       /* 再描画ヒント */
}
.prop-card__media {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.prop-card__thumb--noimg{
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,#eef1f5 0%,#f7f9fb 100%),#eef1f5;
}

/* --- カード本文 --- */
.prop-card__body{
  padding: 14px 16px 16px;
  display: grid;
  gap: 6px;
}

.prop-card__title{
  font-weight: 700;
  font-size: clamp(16px,1.4vw,20px);
  line-height: 1.35;
  margin-bottom: 2px;
}

.prop-card__price{
  font-weight: 700;
  font-size: clamp(16px,1.4vw,20px);
  line-height: 1.3;
  margin-bottom: 6px;
}

.prop-card__excerpt{
  font-size: 13px;
  color: var(--text-muted);
}

/* フォーカスリング */
.prop-card:focus-visible{
  outline: 2px solid #192e77;
  outline-offset: 2px;
}

/* --- ページネーション --- */
.prop-progress{
  height: 3px !important;
  background: #e5e8ee;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 16px;
}
.prop-progress .swiper-pagination-progressbar-fill{
  background: currentColor;
}

/* --- 縦ナビ（任意） --- */
.prop-vertnav{
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--left-gutter);
  pointer-events: none;
  z-index: 3;
}
.prop-vertnav__inner{
  position: sticky;
  top: 30vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}
.prop-vertnav button{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #d7dbe2;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.prop-vertnav button:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.prop-vertnav button:active{
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.prop-vertnav button:disabled{
  opacity: .4;
  cursor: default;
}
.prop-vertnav svg{
  width: 18px;
  height: 18px;
}

/* --- レスポンシブ --- */
@media (max-width: 1200px){
  :root{ --gap: 24px; }
}
@media (max-width: 1024px){
  :root{ --gap: 24px; }
}
@media (max-width: 920px){
  :root{ --gap: 20px; }
  .prop-vertnav{ display:none; }
	.estate-outer{
  border-radius: 50px 50px 0 0;
}
}
@media (max-width: 680px){
  :root{ --gap: 20px; }
  .prop-card.swiper-slide{ width: clamp(240px,78vw,360px); }
}

/* --- 低モーション環境 --- */
@media (prefers-reduced-motion: reduce){
  .prop-card,
  .prop-card__thumb,
  .prop-vertnav button{ transition: none !important; }
}


/* 販売実績 */
.works-marquee{
  width: 100vw; 
  margin-left: calc(50% - 50vw);        /* コンテナ中央から左へ全幅分ずらす */
  padding: 0 0 35px 0; 
  position: relative;
  isolation: isolate;
  overflow: hidden; 
}

/* 中のSwiperをフルに広げる（親の100vwをそのまま使う） */
.works-marquee .works-marquee__row{
  width: 100%;
  overflow: hidden;
  padding-block: 8px; 
}

/* Swiperのデフォを上書き：スライドは内容幅 */
.works-marquee__row .swiper-slide{
  width: auto !important;
  flex: 0 0 auto;
}

/* 流れるラッパー：JSから距離/速度を受け取る */
.works-marquee__row .swiper-wrapper{
  display: flex;
  gap: 16px;
  width: max-content;

  animation-name: worksMarqueeScroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: var(--marquee-duration, 40s);
  animation-play-state: var(--marquee-play, paused);

  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* 右→左 */
@keyframes worksMarqueeScroll{
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(calc(-1 * var(--marquee-distance, 50%)),0,0); }
}

/* 見た目（任意） */
.works-marquee__row .swiper-slide{
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: transform .35s ease;
}
.works-marquee__row img{
  height: clamp(160px, 24vw, 270px);
  width: auto;
  object-fit: cover;
  display: block;
}

/* スマホ調整（必要に応じて） */
@media (max-width: 680px){
  /* 速度はJSの pxPerSec で制御。ここは空でOK */
}


/* 物件情報アーカイブ======================= */

.estate-archive,
.estate-archive__head { margin-bottom: clamp(24px, 7vw, 100px) ; }

/* 3カラムグリッド（680pxで2、1024pxで3） */
.estate-archive__grid{
  display: grid;
  gap: var(--gap, 24px);
  grid-template-columns: 1fr;
}
@media (min-width: 680px){
  .estate-archive__grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 1024px){
  .estate-archive__grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}

/* カード：スライダー幅指定を無効化してグリッド対応 */
.estate-archive__grid .prop-card{ width: 100%; }

/* ---- 既存のカードCSSを流用（必要なら再掲） ---- */
.prop-card{
  background:#fff; border-radius: var(--radius,16px);
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  text-decoration:none; color:inherit; display:block; overflow:hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.prop-card__media{ position: relative; width:100%; aspect-ratio:16/10; overflow:hidden; }
.prop-card__thumb{
  position: absolute; inset:0; width:100%; height:100%;
  object-fit:cover; background:#f2f3f5; transition: transform .35s ease; will-change:transform;
}
.prop-card:hover .prop-card__thumb,
.prop-card:focus-visible .prop-card__thumb{ transform: scale(1.05); }

.prop-card__thumb--noimg{ position:absolute; inset:0; background:linear-gradient(135deg,#eef1f5 0%,#f7f9fb 100%),#eef1f5; }
.prop-card__typebadge{
  position:absolute; top:10px; left:10px; z-index:2;
  background:#192e77; color:#fff; font-size:12px; line-height:1;
  padding:6px 10px; border-radius:999px; box-shadow:0 4px 12px rgba(0,0,0,.18);
}
.prop-card__body{ padding:14px 16px 16px; display:grid; gap:6px; }
.prop-card__title{ font-weight:700; font-size:clamp(16px,1.4vw,20px); line-height:1.35; margin-bottom:2px; }
.prop-card__price{ font-weight:700; font-size:clamp(16px,1.4vw,20px); line-height:1.3; margin-bottom:6px; }
.prop-card__excerpt{ font-size:13px; color:#4a5568; }

/* ページネーション */
.estate-archive__pagination{
  display:flex; justify-content:center; gap:8px;
  margin: clamp(24px, 5vw, 56px) auto;
}
.estate-archive__pagination .page-numbers{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:36px; height:36px; padding:0 10px;
  border:1px solid #e1e5ea; border-radius:10px; color:#334; background:#fff;
}
.estate-archive__pagination .page-numbers.current{
  background:#192e77; color:#fff; border-color:#192e77; font-weight:700;
}
.estate-archive__pagination .page-numbers:hover{ box-shadow:0 4px 10px rgba(0,0,0,.06); }


/* 物件詳細==================== */

.estate-single__article{
  max-width: 1000px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 64px) 0;
}
.estate-single__title{
  font-size: clamp(1.2rem, 2.3vw, 2rem);
  font-weight: 700;
  margin-bottom: 8px;
}
.estate-single__date{
  color: #777;
  font-size: 14px;
  margin-bottom: 20px;
}

/* ギャラリー */
.estate-gallery{ margin-bottom: 32px; }

/* --- Swiper（保険付き）--- */
.estate-single .swiper{ position: relative; overflow: hidden; }
.estate-single .swiper-wrapper{ display: flex; width: 100%; height: 100%; }
.estate-single .swiper-slide{ flex-shrink: 0; }

/* メイン */
.estate-main{
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 15px;
}
.estate-main .swiper-slide{ width: 100% !important; height: 100%; }
.estate-main img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* サムネイル列 */
.estate-thumbs{ width: 100%; }
.estate-thumbs .swiper-slide{
  width: auto;           /* JSのslidesPerViewで制御 */
  height: 80px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  opacity: .6;
  transition: opacity .3s;
  background: transparent;
}
.estate-thumbs .swiper-slide-thumb-active{
  opacity: 1;
  border: 2px solid #192e77;
}
.estate-thumbs img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 価格・本文 */
.estate-single__price{
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  color: #192e77;
  margin: 20px 0;
}
.estate-single__text{
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/* 販売実績===================== */

.wp-block-cover img {
	border-radius: 15px;
}

.p-works {
	margin: 80px 0 ;
}

.worksFilter{
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid #e1e6ef;
  background: #fff;
  margin-bottom: 48px;
}

/* 上部アクセントライン */
.worksFilter::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    #00469c 0%,
    rgba(0,70,156,.4) 60%,
    rgba(0,70,156,.15) 100%
  );
}

/* ラベル */
.worksFilter__label{
  font-weight: 700;
  letter-spacing: .04em;
  color: #002b63;
  white-space: nowrap;
}

/* セレクト（カスタム矢印） */
.worksFilter__select{
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid #ccd6ea;
  border-radius: 12px;
  padding: 8px 46px 8px 14px;
  min-width: 180px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #002b63;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, #00469c 50%),
    linear-gradient(135deg, #00469c 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 22px) 52%,
    calc(100% - 16px) 52%,
    0 0;
  background-size:
    6px 6px,
    6px 6px,
    100% 100%;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

/* 表示ボタン */
.worksFilter__btn{
  border: none;
  border-radius: 12px;
  padding: 8px 18px;
  font-weight: 800;
  letter-spacing: .06em;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(
    135deg,
    #00469c 0%,
    #00357a 100%
  );
  transition: box-shadow .2s ease;
}

.worksFilter__btn:hover{
  box-shadow: 0 3px 10px rgba(0,0,0,.2);
}

.worksFilter__btn:active{
  transform: translateY(0);
  box-shadow: 0 12px 24px rgba(0,70,156,.25);
}

/* リセット */
.worksFilter__reset{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #ccd6ea;
  color: #00469c;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, transform .15s ease;
}

.worksFilter__reset:hover{
  background: rgba(0,70,156,.06);
  transform: translateY(-1px);
}

/* SP */
@media (max-width: 768px){
  .worksFilter{
    padding: 14px;
    border-radius: 12px;
  }
  .worksFilter__select{
    min-width: 160px;
    flex: 1;
  }
  .worksFilter__btn{
    width: 100%;
  }
}

/* ===== 実績：タイトル + 画像グリッド ===== */

.worksList{
  display: grid;
  gap: 48px;
}

/* 年見出し（西暦） */
.worksYearHead{
  margin: 0 0 28px;
  padding: 14px 0 10px 10px;
  border-bottom: 1px solid #192e77;
}

.worksYearHead--group{
  margin-top: 36px;
}

.worksYearHead__year{
  margin: 0;
  font-weight: 900;
  letter-spacing: .06em;
  color: #192e77;
  font-size: 1.5rem;
}

/* 西暦の右側の元号表記 */
.worksYearHead__era{
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.worksCard__title{
  margin: 0 0 36px;
	color: #192e77;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 800;
  letter-spacing: .04em;
  border-left: 4px solid #192e77;
	padding-left: 10px;
}

.worksGrid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.worksGrid__item{
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e1e6ef;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.worksGrid__item:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.worksGrid__img{
  width: 100%;
  aspect-ratio: 4 / 3; /* 正方形サムネ */
  object-fit: cover;
  display: block;
}

.worksCard__noimg{
  margin: 0;
  color: #666;
}

/* タブレット */
@media (max-width: 1024px){
  .worksGrid{
    grid-template-columns: repeat(3, 1fr);
  }
}

/* スマホ */
@media (max-width: 768px){
  .worksGrid{
    grid-template-columns: repeat(2, 1fr);
  }
}



/* お問い合わせボックス================ */

.contact-box {
	position: relative;
}

.contact-box-outer {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80%;
}

.contact-box-img {
	height: 60vh;
	background-image: url('https://www.advf.co.jp/wp-content/uploads/2025/10/contact-box-bg.jpg');
	border-radius: 80px 80px 0 0;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: bottom;
}

.info-section {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  position: relative;
}

.info-section::before {
  content: "";
  position: absolute;
  top: 10%;
  height: 80%;
  width: 1px;
  left: 50%;
  background-color: #484d27;
  opacity: 0.5;
  transform: translateX(-50%);
  z-index: 1;
}

a.info-box {
  flex: 1 1 50%;
  padding: 40px 5%;
  background-color: #079eea;
  transition: background-color 0.3s ease;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  position: relative;
  z-index: 0;
}

/* 左側のinfo-box */
.info-section a.info-box:first-child {
  border-radius: 10px 0 0 10px; /* 左上・左下だけ */
}

/* 右側のinfo-box */
.info-section a.info-box:last-child {
  border-radius: 0 10px 10px 0; /* 右上・右下だけ */
}

a.info-box:first-of-type {
    border-right: 1px solid #f4f4f4;
  }


a.info-box:hover {
  background-color: #37b5f4;
}


.info-en {
	font-family: "Yusei Magic", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1rem, 2vw, 1.7rem);
  margin: 0;
}

.info-ja {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
	font-family: "Yusei Magic", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.info-ja i {
  margin-right: 0.5em;
  color: #fff; 
  font-size: 0.8em;
}

.tel-link {
  pointer-events: auto;
}

/* PC時にリンク無効化 */
@media screen and (min-width: 769px) {
  .tel-link {
    pointer-events: none;
    cursor: default;
  }
}

@media screen and (max-width: 768px) {
	
.contact-box-outer {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -80%);
	width: 80%;
}
	.contact-box-img {
		border-radius: 30px 30px 0 0;
		background-size: 230%;
		background-position: center 95%;
	height: 60vh;
}
	.contact-box-black {
		height: 150px;
	}
	.info-section::before {
    display: none;
  }
	
	
/* 左側のinfo-box */
.info-section a.info-box:first-child {
  border-radius: 10px 10px 0 0; /* 左上・左下だけ */
}

/* 右側のinfo-box */
.info-section a.info-box:last-child {
  border-radius: 0 0 10px 10px; /* 右上・右下だけ */
}

  /* 1つ目のボックスに相対位置をつける */
  a.info-box:first-of-type {
    border-bottom: 1px solid #f4f4f4;
		border-right: none;
  }

  a.info-box {
    flex: 1 1 100%;
    height: 200px;
  }

  .info-en {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
	.contact-box-outer {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -70%);
	width: 80%;
}
	a.info-box {
		height: 100%;
  }
	.contact-box-img {
		border-radius: 30px 30px 0 0;
		background-size: 280%;
		background-position: center 95%;
	height: 60vh;
}
}

/*-------------------------------------------*/
/* お問い合わせフォーム      */
/*-------------------------------------------*/

/* ベース */
.section--contact .section__content,
.form--contact { width: 100%; }

.form__title { margin: 0 0 .8rem; font-weight: 700; font-size: 1.25rem; }
.form__note  { margin: 0 0 1rem; color: var(--c-muted); font-size: .95rem; }

/* グリッド：基本1列 / 860px〜で2列 */
.form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 2.4vw, 18px);
	background-color: #f0f0f0;
	padding: 1.5rem;
	border-radius: 10px;
}
@media (min-width: 860px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
}
.form__group { margin-bottom: 20px; }
.form__group--full { grid-column: 1 / -1; }

/* ラベル／コントロール */
.form__label { display:block; font-weight:600; margin: 0 0 .8rem; }
.form__control,
.form__group select {
  width: 100%;
  padding: .5em 1em;
  border: 1px solid var(--c-border, #ddd);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: var(--c-text, #333);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form__control:focus,
.form__group select:focus {
  outline: none;
  border-color: var(--c-brand, #78bee6);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-brand, #78bee6) 25%, transparent);
}
.form__control:focus-visible,
.form__group select:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--c-brand, #78bee6) 60%, transparent);
  outline-offset: 2px;
}

/* 必須バッジ */
.form__label.is-required::after {
  content: "必須";
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.2em 0.5em;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background-color: #e53935;
  border-radius: 4px;
  line-height: 1;
  vertical-align: middle;
}

/* CF7改行除去（整形のため） */
.wpcf7 br { display: none !important; }

/*-------------------------------------------*/
/* 横並び指定：お名前・ふりがな・メール      */
/*-------------------------------------------*/

/* お名前・ふりがな（姓/名・せい/めい） */
.from_name {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap; /* PCは横並び維持 */
}
.from_name .item-box {
  flex: 1 1 0;
}
.from_name label { margin: 0 0 .25rem; display:block; }

/* メール（メール＋確認用） */
.form__group--email-double {
  display: flex;
  gap: 20px;
}
.form__group--email-double .form__group {
  flex: 1 1 0;
  margin-bottom: 0; /* 余白重複を防止 */
}

/* 短い幅 */
/* スマホ（〜768px）は縦に戻す */
@media (max-width: 768px) {
  .from_name { flex-direction: column; gap: 10px; }
  .form__group--email-double { flex-direction: column; gap: 10px; }
}

/* PC(860px〜)では左カラム(1列目)に固定して半幅のまま表示 */
@media (min-width: 860px) {
  .form__group--col1 {
    grid-column: 1 / 2 !important; /* 左カラム固定＝半幅 */
  }
}
/* スマホ側は元々1カラムなので指定不要（念のため書くなら下で全幅に） */
@media (max-width: 859px) {
  .form__group--col1 {
    grid-column: 1 / -1; /* なくてもOK */
  }
}

/*-------------------------------------------*/
/* 電話番号＋FAX番号 横並び                 */
/*-------------------------------------------*/
.form__group--tel-fax {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
}

.form__group--tel-fax .item-box {
  flex: 1 1 0;
}

.form__group--tel-fax .form__label {
  margin-bottom: .5rem;
  display: block;
}

/* スマホでは縦並び */
@media (max-width: 768px) {
  .form__group--tel-fax {
    flex-direction: column;
    gap: 10px;
  }
}


/*ラジオボタン） */
.form__radio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.form__radio-list label {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  cursor: pointer;
  font-size: .95rem;
}

.form__radio-list input[type="radio"] {
  width: 1rem;
  height: 1rem;
}


/*-------------------------------------------*/
/* 送信ボタン                                */
/*-------------------------------------------*/
.form__actions { margin-top: .5rem; text-align: center; }
.wpcf7-submit.btn {
  width: 200px;
  background-color: #232323;
  color: #fff;
  border-radius: 50px;
  padding: 0.8em 2em;
  border: none;
  margin-top: 20px;
  transition: opacity .3s ease, transform .2s ease;
  cursor: pointer;
}
.wpcf7-submit.btn:hover { opacity: .88; }
.wpcf7-submit.btn:active { transform: translateY(1px); }

/*-------------------------------------------*/
/* 個人情報保護方針（スクロール枠）           */
/*-------------------------------------------*/
.contact-scroll {
  overflow: auto;
  height: 250px;
  border-radius: 10px;
  border: 1px solid #d8d8d8;
	background-color: #fff;
	margin: 20px 0;
  padding: 10px;
  scrollbar-width: thin;                 /* Firefox */
  scrollbar-color: #c0c0c0 #eeeeee;      /* Firefox */
}
/* WebKit系スクロールバー */
.contact-scroll::-webkit-scrollbar { width: 10px; height: 10px; }
.contact-scroll::-webkit-scrollbar-track { background-color: #eeeeee; }
.contact-scroll::-webkit-scrollbar-thumb { background-color: #c0c0c0; }

/* 見出しやリストの体裁 */
.privacy-title {
  font-size: 1.2rem;
	margin-bottom: 15px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9d9d9;
}
.contact-privacy-item { 
	margin-bottom: 40px;
}
.contact-privacy-item ul {
  list-style: disc;
  padding-left: 1.5em;
  margin: 0 0 1em 0;
}
.contact-privacy-item ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin: 0 0 1em 0;
}


/*-------------------------------------------*/
/* CF7 メッセージ/エラー                     */
/*-------------------------------------------*/
.wpcf7 form .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: .75rem 1rem;
  border-radius: 8px;
  font-size: .95rem;
}
.wpcf7 form.sent .wpcf7-response-output {
  border: 1px solid #22c55e;
  background: #ecfdf5;
  color: #14532d;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border: 1px solid #ef4444;
  background: #fef2f2;
  color: #7f1d1d;
}

.wpcf7-not-valid-tip {
  margin-top: .35rem;
  font-size: .9rem;
  color: #b91c1c;
}
.email-error,
.zip-error-tip {
  display: block;
  color: #b91c1c;
  font-size: .9rem;
  margin-top: .35rem;
}


/* フッター====================== */

.l-footer__widgetArea {
	padding: 0px 0 50px 0;
}

@media (min-width: 960px) {
	.w-footer__box {
		align-self: flex-end;
	}

@media screen and (max-width: 768px) {
	.l-footer__inner {
    padding-bottom: 80px;
}
}

@media not all and (min-width: 960px) {
    .w-footer__box + .w-footer__box {
        margin-top: 0;
    }
}
	@media not all and (min-width: 960px) {
    .w-footer__box {
        padding: 0 0px;
    }
}


/*ぱんクズリスト非表示*/
#breadcrumb {
 display: none;
}

/*reCAPTCHA全面表示*/
.grecaptcha-badge {
	z-index: 1; 
}

/* 「トップへ戻るボタン」の位置調整 */ 
.p-fixBtnWrap { 
	bottom: 85px;
	right: 10px
}