/*
Theme Name: ミナト不動産
Theme URI: https://tribal-works.com/
Author: TRIBAL WORKS
Description: 不動産会社・仲介店舗向けの、スイススタイルのグリッドと赤をアクセントにしたデザイン(制作サンプル)。物件情報カスタム投稿(種別絞り込み)・数字で見る実績・サービス紹介付き。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: minato
*/

:root {
	--c-bg: #f4f4f0;
	--c-text: #111;
	--c-primary: #111;
	--c-on-primary: #fff;
	--c-accent: #e5412d;
	--c-on-accent: #fff;
	--c-muted: #6b6b66;
	--c-line: #111;
	--c-soft: #d9d9d3;
	--c-surface: #ebebe6;
	--c-card: #fff;
	--c-dark: #111;
	--radius: 0;
	--btn-radius: 0;
	--maxw: 1240px;
	--header-h: 76px;
	--hdr-bg: rgba(244, 244, 240, .96);
	--hdr-solid: #f4f4f0;
	--font-en: "Archivo", "Noto Sans JP", sans-serif;
	--font-head: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
	--font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}
body { background: var(--c-bg); font-size: 15px; letter-spacing: .02em; font-weight: 400; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 900; letter-spacing: -.01em; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; border-bottom: 2px solid var(--c-accent); padding-bottom: 2px; }
.text-link:hover { opacity: 1; gap: 16px; color: var(--c-accent); }
.eyebrow { font-family: var(--font-en); letter-spacing: .14em; color: var(--c-accent); font-weight: 800; }

/* ヘッダー */
.site-header { border-bottom: 3px solid var(--c-text); backdrop-filter: none; -webkit-backdrop-filter: none; }
.brand { gap: 12px; font-family: var(--font-en); font-weight: 800; letter-spacing: .02em; font-size: 1.25rem; }
.brand__mark svg { width: 40px; height: 40px; }
.brand small { font-family: var(--font-en); font-weight: 600; letter-spacing: .16em; opacity: .6; }
.gnav ul { gap: 4px; }
.gnav a:not(.btn) { font-weight: 700; font-size: .9rem; padding: 8px 14px; }
.gnav li:not(.menu-item-has-children) > a::after { height: 3px; background: var(--c-accent); left: 14px; right: 14px; bottom: 0; }
.btn { border-width: 2px; font-weight: 800; letter-spacing: .04em; }
.btn--primary { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.btn--primary:hover { filter: none; background: #111; border-color: #111; transform: none; }
.btn--ghost { color: #111; border-color: #111; }
.btn--ghost:hover { background: #111; color: #fff; border-color: #111; }
.site-header .header-cta { padding: 11px 22px; }

/* ヒーロー */
.hero { padding: 72px 0 120px; }
.hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: stretch; }
.hero__label { font-family: var(--font-en); font-size: .82rem; font-weight: 700; letter-spacing: .12em; margin: 0 0 28px; padding-bottom: 12px; border-bottom: 1px solid var(--c-text); }
.hero__label span { color: var(--c-accent); font-weight: 800; margin-right: 10px; }
.hero__title { font-size: clamp(2.4rem, 4.6vw, 4.6rem); line-height: 1.14; font-weight: 900; letter-spacing: -.03em; margin: 0 0 30px; }
.hero__title em { font-style: normal; color: var(--c-accent); }
.hero__lead { max-width: 33em; color: var(--c-muted); margin-bottom: 32px; }
.hero__visual { position: relative; min-height: 440px; }
.hero__main { position: absolute; inset: 0 0 0 0; margin: 0; background: #ddd; }
.hero__main .hero__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__sub { position: absolute; left: -48px; bottom: -56px; width: 46%; margin: 0; border: 8px solid var(--c-bg); background: var(--c-bg); }
.hero__sub .hero__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.hero__cap { position: absolute; right: 0; bottom: -34px; margin: 0; font-family: var(--font-en); font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); }
@media (max-width: 860px) { .hero { padding: 40px 0 90px; } .hero__grid { grid-template-columns: 1fr; gap: 36px; } .hero__visual { min-height: 0; aspect-ratio: 4 / 3; margin-bottom: 50px; } .hero__sub { left: 12px; width: 40%; } }

/* 検索パネル */
.search { margin-top: -64px; position: relative; z-index: 2; }
.search__panel { background: #111; color: #fff; padding: 34px 38px 40px; border-top: 6px solid var(--c-accent); }
.search__title { display: flex; align-items: baseline; gap: 16px; font-size: 1.35rem; margin: 0 0 24px; color: #fff; }
.search__title span { font-family: var(--font-en); font-size: .8rem; letter-spacing: .16em; color: var(--c-accent); }
.search__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-left: 1px solid rgba(255, 255, 255, .25); }
.search__list li { border-right: 1px solid rgba(255, 255, 255, .25); }
.search__list a { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 20px; color: #fff; height: 100%; }
.search__list a:hover { opacity: 1; background: var(--c-accent); }
.search__name { font-weight: 800; font-size: .98rem; }
.search__count { font-family: var(--font-en); font-weight: 800; font-size: 2.2rem; line-height: 1; letter-spacing: -.02em; }
.search__count small { font-family: var(--font-body); font-size: .8rem; font-weight: 500; margin-left: 4px; }
@media (max-width: 960px) { .search__list { grid-template-columns: repeat(2, 1fr); border-left: 0; } .search__list li { border: 1px solid rgba(255, 255, 255, .25); margin: 0 -1px -1px 0; } .search__panel { padding: 26px 20px 30px; } }

/* 物件 */
.props { padding-top: 96px; }
.props__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; border-bottom: 3px solid #111; padding-bottom: 14px; }
.props__title { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0; }
.props__title span, .services__label span, .stats__label span { font-family: var(--font-en); color: var(--c-accent); font-size: .9rem; font-weight: 800; letter-spacing: .1em; }
.props__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid #111; border-left: 1px solid #111; }
.prop { border-right: 1px solid #111; border-bottom: 1px solid #111; background: #fff; }
.prop a { display: block; height: 100%; }
.prop a:hover { opacity: 1; background: #fff; box-shadow: inset 0 0 0 3px var(--c-accent); }
.prop__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-soft); border-bottom: 1px solid #111; }
.prop__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.prop a:hover .prop__img img { transform: scale(1.04); }
.prop__type { position: absolute; left: 0; top: 0; background: var(--c-accent); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .08em; padding: 6px 14px; }
.prop__body { padding: 20px 22px 24px; }
.prop__body h3 { font-size: 1.08rem; margin: 0 0 8px; }
.prop__price { font-family: var(--font-en); font-weight: 800; font-size: 1.7rem; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 16px; color: var(--c-accent); }
.prop__spec { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--c-soft); }
.prop__spec div { padding: 8px 0; border-bottom: 1px solid var(--c-soft); display: flex; flex-direction: column; }
.prop__spec div:nth-child(odd) { padding-right: 12px; }
.prop__spec dt { font-size: .68rem; font-weight: 700; color: var(--c-muted); letter-spacing: .1em; }
.prop__spec dd { margin: 0; font-size: .86rem; font-weight: 700; }
@media (max-width: 960px) { .props__grid { grid-template-columns: repeat(2, 1fr); } .props { padding-top: 64px; } }
@media (max-width: 600px) { .props__grid { grid-template-columns: 1fr; } .props__head { flex-direction: column; align-items: flex-start; } }

/* 数字 */
.stats { background: #111; color: #fff; padding: 84px 0 56px; }
.stats__label, .services__label { font-family: var(--font-en); font-weight: 800; letter-spacing: .14em; font-size: .9rem; margin: 0 0 36px; }
.stats__label span { margin-right: 12px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .3); }
.stat { padding: 32px 24px 8px 0; border-right: 1px solid rgba(255, 255, 255, .2); padding-left: 24px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat b { font-family: var(--font-en); font-weight: 900; font-size: clamp(2.4rem, 4.4vw, 4rem); line-height: 1; letter-spacing: -.04em; white-space: nowrap; }
.stat span { white-space: nowrap; font-weight: 800; font-size: 1.1rem; color: var(--c-accent); margin-left: 6px; }
.stat p { margin: 10px 0 0; font-size: .84rem; color: rgba(255, 255, 255, .7); }
.stats__note { margin: 40px 0 0; font-size: .74rem; color: rgba(255, 255, 255, .5); }
@media (max-width: 860px) { .stats { padding: 56px 0 40px; } .stats__grid { grid-template-columns: 1fr 1fr; } .stat { padding-left: 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .2); padding-bottom: 22px; } }

/* サービス */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.svc { border-top: 3px solid #111; padding-top: 22px; }
.svc__no { font-family: var(--font-en); font-weight: 800; color: var(--c-accent); font-size: .9rem; letter-spacing: .1em; }
.svc h3 { font-size: 1.5rem; margin: 6px 0 14px; line-height: 1.35; }
.svc h3 small { display: block; font-family: var(--font-en); font-size: .72rem; font-weight: 700; letter-spacing: .18em; color: var(--c-muted); margin-top: 6px; }
.svc p { color: var(--c-muted); margin: 0; }
@media (max-width: 860px) { .services__grid { grid-template-columns: 1fr; gap: 30px; } }

/* お知らせ */
.news { padding-top: 0; }
.news__grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; border-top: 0; padding-top: 0; }
.news .container { position: relative; }
.news .container::before { content: ""; position: absolute; left: 20px; right: 20px; top: -1px; border-top: 3px solid #111; }
.news__grid { padding-top: 30px; }
.news-list { border-top: 0; }
.news-row:first-child a { border-top: 0; }
.news-row a { padding: 18px 4px; border-bottom: 1px solid var(--c-soft); }
.news-row a:hover { background: transparent; color: var(--c-accent); }
.news-row time { font-family: var(--font-en); font-weight: 700; }
.pill { border-radius: 0; background: #111; color: #fff; border-color: #111; font-weight: 700; letter-spacing: .06em; }
@media (max-width: 860px) { .news__grid { grid-template-columns: 1fr; gap: 20px; } }

/* クロージング */
.closing { background: var(--c-accent); color: #fff; padding: 110px 0; }
.closing__lead { font-size: clamp(2rem, 6vw, 4.6rem); font-weight: 900; line-height: 1.25; letter-spacing: -.03em; margin: 0 0 38px; }
.closing__link { display: inline-flex; align-items: center; gap: 16px; background: #111; color: #fff; padding: 20px 36px; font-weight: 800; font-size: 1.1rem; }
.closing__link:hover { opacity: 1; background: #fff; color: #111; gap: 24px; }

/* 下層 */
.page-header { background: transparent; border-bottom: 3px solid #111; padding: 76px 0 40px; }
.page-header__title { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -.02em; }
.entry h2 { border-left: 0; padding: 0 0 .5em; border-bottom: 2px solid #111; font-weight: 900; }
.entry th { background: transparent; font-weight: 800; border-bottom: 1px solid #111; }
.entry td { border-bottom: 1px solid #111; }
.entry img { border-radius: 0; }
.entry__visual { border-radius: 0; border: 1px solid #111; }
.entry__table th { width: 22%; }
.card { border: 1px solid #111; border-radius: 0; background: #fff; }
.card:hover { transform: none; box-shadow: inset 0 0 0 3px var(--c-accent); }
.card__thumb { border-bottom: 1px solid #111; }
.card__title { font-weight: 900; }
.card__meta { font-family: var(--font-en); font-weight: 700; }
.term-filter a { border-radius: 0; border: 2px solid #111; font-weight: 800; }
.term-filter a.is-current, .term-filter a:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.pagination .page-numbers { border-radius: 0; border: 1px solid #111; font-weight: 800; }
.pagination .current, .pagination a.page-numbers:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea { border: 2px solid #111; border-radius: 0; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--c-accent); outline-offset: 0; }
.req { border-radius: 0; background: var(--c-accent); }
.form .wpcf7-submit { background: var(--c-accent); border: 2px solid var(--c-accent); border-radius: 0; color: #fff; font-weight: 800; }
.form .wpcf7-submit:hover { background: #111; border-color: #111; }

/* フッター */
.site-footer { --c-footer-bg: #111; --c-footer-text: rgba(255, 255, 255, .72); border-top: 6px solid var(--c-accent); }
.site-footer__brand { font-family: var(--font-en); font-weight: 800; }
