/*
Theme Name: TATEYAMA Theme
Theme URI: https://example.com
Author: あなたの名前
Author URI: https://example.com
Description: TATEYAMA - MORE PASSIVE のオリジナルWordPressテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tateyama-theme
*/
/* === reset (safe) === */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.7; }

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; }
p { margin: 0; }

a { color: inherit; text-decoration: none; text-decoration-skip-ink: auto; }

button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; }

:focus-visible { outline: 2px solid #2c7be5; outline-offset: 2px; }

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none; /* 疑似ボールド防止 */
}

/* === リセットと共通スタイル === */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
    font-family: 'Noto Sans JP', sans-serif;
    overflow-x: hidden;
    color: #333;
    line-height: 1.8;
    margin: 0;
}

nav.nav-menu a {
    color: #fff;
    text-decoration: none;
}
nav.nav-menu a::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
}
.nav-menu {
    display: flex;
    gap: 0; /* gapを使わず境界線で調整 */
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
    padding: 0 15px; /* 左右に余白 */
}

.contact-info a {
    color: #fff;
	text-decoration: none;
}

/* === トップセクション === */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.header {
    position: absolute;
    top: 0; right: 0;
    width: 100%;
    padding: 40px 60px;
    z-index: 100;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}
.nav-item:hover {
    color: rgba(255,255,255,0.7);
}
.nav-item::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.3);
}
.nav-item:last-child::after {
    display: none;
}
.left-panel {
    position: relative;
    bottom: -50%;
    z-index: 10;
    padding: 100px 60px;
    color: white;
}
.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 40px;
}
.japanese-text {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 4px;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.logo {
    position: absolute;
    top: 22px;
    left: 34px;
    z-index: 10;
}
.logo img {
    height: 70px;
    width: auto;
}
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    right: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}
.scroll-text {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    margin-bottom: 15px;
}
.scroll-line-container {
    position: relative;
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.3);
}
.scroll-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: rgba(255,255,255,0.9);
    animation: scrollLine 2s infinite ease-in-out;
}
@keyframes scrollLine {
    0% { top: 0; height: 0; opacity: 1; }
    50% { top: 20px; height: 20px; opacity: 1; }
    100% { top: 40px; height: 0; opacity: 0; }
}

/* === お問い合わせセクション === */
.section-contact {
    background-color: #f4f4f4;
    padding: 80px 20px;
    color: #333;
    text-align: center;
}
.section-contact h2 {
font-size: 36px;
margin-bottom: 30px;
}
.section-contact form {
max-width: 600px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 20px;
}
.section-contact input,
.section-contact textarea {
padding: 14px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 5px;
width: 100%;
}
.section-contact button {
padding: 14px;
font-size: 16px;
background-color: #534742;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: opacity 0.3s ease;
}
.section-contact button:hover {
opacity: 0.8;
}

/* Section 1 - パッシブハウス */


.section-1 .container {
display: flex;
align-items: center;
gap: 60px;
}
.title-with-image {
display: flex;
align-items: flex-start; /* 上揃え */
gap: 40px; /* タイトルと画像の間隔 */
}

.title-area {
flex: 1;
padding-right: 40px;
}

.main-title {
font-size: 3rem;
font-weight: 100;
line-height: 1.2;
text-orientation: mixed;
margin-bottom: 40px;
}
.main-title2 {
font-size: 3rem;
font-weight: 100;
line-height: 1.2;
writing-mode: vertical-rl;
text-orientation: mixed;
margin-bottom: 40px;
font-family: 'Playfair Display', serif;
}
.main-title2 span {
text-combine-upright: all;
letter-spacing: 1px;
}
.content-area {
flex: 1.5;
margin: 24% 0 0 10%;
}

.hero-image {
width: 100%;
height: 300px;
object-fit: cover;
margin-bottom: 40px;
}

.description {
font-size: 0.85rem;
line-height: 1.9;
color: #555;
margin-bottom: 30px;
}

.view-more, .view-more2, .view-more3 {
align-self: flex-start; /* 左寄せ */
font-size: 0.9rem;
text-decoration: none;
letter-spacing: 0.1em;
	font-family: "Yu Mincho", "Hiragino Mincho Pro", serif;
}

.interior-image {
width: 90%;
object-fit: cover;
}

/* Section 2 - 5つ星の快適 */
.section-2 {
background-color: #fff;
padding: 100px 0;
min-height: 100vh;
}



.image-area {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
}

.family-image {
width: 60%;
object-fit: cover;
border-radius: 8px;
margin-bottom: 20px;
}

.content-area-2 {
flex: 1;
display: flex;
flex-direction: column;
justify-content: flex-start;
}

.section-title {
font-size: 3rem;
font-weight: 100;
letter-spacing: 0.2em;
line-height: 1.3;
margin-bottom: 60px;
color: #2c2c2c;
}

.features-grid {
writing-mode: vertical-rl;
}
li {
list-style-type: none;
}
.feature-item {
padding: 20px;
}

.feature-title {
font-size: 3.1rem;
font-weight: lighter;
/* margin-bottom: 15px; */
color: #fff;
font-family: 'Playfair Display', serif;
}
.row.bottom {
    max-width: 1100px;
    margin: 0 auto;
}
.feature-desc {
font-size: 1.2rem;
color: #666;
line-height: 1.6;
}

.section-2-description {
font-size: 0.9rem;
line-height: 1.8;
color: #555;
}
.fade-in {
opacity: 0;
transform: translateY(30px);
transition: all 1s ease;
}

.contact-info {
	position: fixed;
	right: 0px;
	top: 60%;
	transform: translateY(-50%);
	background-color: #a00909;
	color: white;
	padding: 20px 15px;
	text-align: center;
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	z-index: 10;
}

.contact-info::before {
content: "✉";
display: inline;
margin: 0;
font-size: 1rem;
}
.section-title {
font-size: 3rem;
font-weight: 100;
letter-spacing: 0.2em;
line-height: 1.3;
margin-bottom: 40px;
color: #2c2c2c;
}
@media (max-width: 768px) {

.main-title {
font-size: 2.5rem;
writing-mode: horizontal-tb;
text-align: center;
}
.fade-in.show {
    margin: 0 auto;
}
.features-and-desc {
    margin-top: 25px;
}
	.section-2 {
    padding: 0px !important;
}
.section-title {
font-size: 2rem;
text-align: center;
}

.features-grid {
grid-template-columns: 1fr;
}

    .contact-info {
        position: fixed;
        transform: none;
        /* writing-mode: horizontal-tb; */
        margin-top: 40px;
    }
}
/* === フッター === */
.footer {
background-color: #534742;
color: white;
padding: 40px 0;
width: 100%;
}

.footer-left {
flex: 1;
}
.footer-logo {
margin-bottom: 30px;
}
.footer-logo img {
height: 80px;
width: auto;
}
.company-info {
font-size: 14px;
line-height: 1.8;
color: #cccccc;
margin-bottom: 20px;
}

.footer-nav {
display: flex;
gap: 30px;
white-space: nowrap;
align-items: center;
}
.footer-nav a {
color: white;
text-decoration: none;
font-size: 13px;
font-weight: 400;
transition: opacity 0.3s ease;
position: relative;
}
.footer-nav a:not(:last-child)::after {
content: '';
position: absolute;
right: -15px;
top: 50%;
transform: translateY(-50%);
width: 1px;
height: 16px;
background-color: #999;
}
.footer-nav a:hover {
opacity: 0.7;
}
.social-icons {
display: flex;
gap: 20px;
align-items: center;
}
.social-icon {
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.3s ease;
}
.social-icon:hover {
opacity: 0.7;
}
.footer-bottom {
text-align: center;
margin-top: 40px;
padding-top: 20px;
font-size: 12px;
color: #999;
}




/* 中央左：グリッド＋説明 */
.features-and-desc {
margin-top: 70px;
display: flex;
flex-direction: column;
gap: 30px;
}

/* 右端の縦書きタイトル */

ul.feature-item li {
margin-left: 14px;
}
/* === Section Feature === */
.section-feature {
background-color: #f8f8f8;
}

.feature-hero {
background: url("../imges/bg_01-1.jpg");
background-size: cover;
background-position: center;
height: 400px;
display: flex;
align-items: center;
justify-content: center;
color: white;
text-align: center;
}

.feature-title2 {
font-size: 3.5rem;
font-weight: 300;
letter-spacing: 2px;
margin-bottom: 10px;
}

.feature-subtitle {
font-size: 1rem;
letter-spacing: 1px;
opacity: 0.9;
}

.feature-grid {
max-width: 1200px;
margin: 80px auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
padding: 0 40px;
}

.feature-item2 {
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
transition: transform 0.3s ease;
}
.feature-item2:hover {
transform: translateY(-5px);
}
.feature-image {
width: 100%;
height: 280px;
object-fit: cover;
}
.feature-content {
padding: 30px;
}
.feature-text {
font-size: 1.1rem;
line-height: 1.8;
color: #333;
margin-bottom: 25px;
}
.footer-container {
    display: block !important;

}
/* view-moreは既に存在する場合は省略可 */

.blueprints-bg {
background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.blueprints-bg::before {
content: '';
position: absolute;
width: 80%;
height: 80%;
background: linear-gradient(45deg, transparent 40%, rgba(100,100,100,0.1) 42%, rgba(100,100,100,0.1) 58%, transparent 60%);
background-size: 20px 20px;
}

.wood-logs-bg {
background: linear-gradient(45deg, #8B4513 0%, #A0522D 25%, #D2691E 50%, #CD853F 75%, #DEB887 100%);
background-size: 80px 80px;
position: relative;
}
.wood-logs-bg::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(circle at 20% 20%, rgba(139,69,19,0.8) 15%, transparent 16%), 
radial-gradient(circle at 60% 40%, rgba(160,82,45,0.8) 18%, transparent 19%),
radial-gradient(circle at 80% 80%, rgba(210,105,30,0.8) 14%, transparent 15%);
}

.family-living-bg {
background: linear-gradient(135deg, #f4e4bc 0%, #e8d5a3 100%);
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.family-living-bg::before {
content: '';
position: absolute;
width: 60%;
height: 40%;
background: rgba(101,67,33,0.8);
border-radius: 8px;
}

.construction-bg {
background: linear-gradient(135deg, #faf0e6 0%, #f5deb3 100%);
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.construction-bg::before {
content: '';
position: absolute;
width: 80%;
height: 60%;
background: linear-gradient(90deg, rgba(218,165,32,0.3) 0%, rgba(255,215,0,0.3) 100%);
border-radius: 4px;
}

@media (max-width: 768px) {
.feature-grid {
grid-template-columns: 1fr;
gap: 40px;
padding: 0 20px;
}

.feature-title {
font-size: 2.5rem;
}
}
/* Works & News Section CSS */
.works-section {
padding: 80px 0;
background: white;
}
.works-title {
font-size: 2.5rem;
font-weight: 300;
color: #c4a484;
margin-bottom: 60px;
text-align: left;
letter-spacing: 1px;
}
.works-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
margin-bottom: 50px;
}
.work-item {
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
transition: transform 0.3s ease;
}
.work-item:hover {
transform: translateY(-3px);
}
.work-image {
width: 100%;
height: 200px;
object-fit: cover;
}
.work-content {
padding: 20px;
}
.work-category {
font-size: 0.8rem;
color: #999;
margin-bottom: 8px;
letter-spacing: 0.5px;
}
.work-description {
font-size: 0.9rem;
color: #666;
line-height: 1.6;
}
.view-more-works {
text-align: left;
margin-top: 30px;
}
.view-more-works a {
color: #fff;
text-decoration: none;
font-size: 0.9rem;
letter-spacing: 1px;
opacity: 0.8;
transition: opacity 0.3s ease;
}
.view-more-works a:hover {
opacity: 1;
}
path {
fill: #fff;
}
.client-report-section {
background: #f5f5f5;
position: relative;
}

.client-report-content {
text-align: right;
}
.client-report-title {
font-size: 1.2rem;
color: #fff;
margin-bottom: 15px;
letter-spacing: 1px;
}
.client-report-link {
color: #c4a484;
text-decoration: none;
font-size: 0.9rem;
letter-spacing: 1px;
opacity: 0.8;
transition: opacity 0.3s ease;
}
.client-report-link:hover {
opacity: 1;
}
.news-section {
padding: 80px 0;
background: white;
}
.news-title {
font-size: 2.5rem;
font-weight: 300;
color: #c4a484;
margin-bottom: 20px;
text-align: left;
letter-spacing: 1px;
}
.news-subtitle {
font-size: 1.5rem;
color: #333;
margin-bottom: 50px;
font-weight: 300;
}
.news-list {
border-top: 1px solid #e0e0e0;
}
.news-item {
border-bottom: 1px solid #e0e0e0;
padding: 25px 0;
display: flex;
align-items: center;
transition: background-color 0.3s ease;
}
.news-item:hover {
background-color: #fafafa;
}
.news-date {
font-size: 0.9rem;
color: #c4a484;
margin-right: 40px;
min-width: 100px;
letter-spacing: 0.5px;
}
.news-content {
font-size: 0.95rem;
color: #666;
line-height: 1.6;
}
.view-more-news {
text-align: left;
margin-top: 40px;
}
.view-more-news a {
color: #c4a484;
text-decoration: none;
font-size: 0.9rem;
letter-spacing: 1px;
opacity: 0.8;
transition: opacity 0.3s ease;
}
.view-more-news a:hover {
opacity: 1;
}
.house-exterior-1 {
background: linear-gradient(135deg, #87CEEB 0%, #98D8E8 100%);
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.house-exterior-1::before {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 10%;
    width: 80%;
    height: 60%;
    background: linear-gradient(45deg, #f5f5f5 40%, #333 42%, #333 58%, #f5f5f5 60%);
}
.house-exterior-2 {
    background: linear-gradient(135deg, #87CEEB 0%, #98D8E8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.house-exterior-2::before {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 10%;
    width: 80%;
    height: 60%;
    background: linear-gradient(45deg, #D2691E 40%, #333 42%, #333 58%, #f5f5f5 60%);
}
@media (max-width: 768px) {
.works-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .works-title, .news-title {
        font-size: 2rem;
    }
    .client-report-bg {
        padding: 0 30px;
    }
    .news-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .news-date {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
.fixed-button {
    position: fixed;
    bottom: 286px;
    left: 20px;
    z-index: 999;
    display: block;
    width: 180px;
    height: 180px;
    transition: opacity 0.3s ease;
}
.fixed-button img {
    width: 100%;
    height: auto;
    display: block;
}
.fixed-button:hover {
opacity: 0.8;
}
@media (max-width: 768px) {
    .fixed-button {
        width: 60px;
        height: 60px;
        bottom: 15px;
        left: 15px;
    }
}
/* 右サイド固定バッジ（縦） */
.side-badge{ position:fixed; right:0; top:70%; z-index:50; transform:translateY(-50%); }
.side-badge span{
  writing-mode:vertical-rl;
	background:#b4002d;
	color:#fff; 
	padding:24px 18px; 
  font-size:13px; letter-spacing:.1em;
}

/* ------- ５つのコンセプト ------- */
.poto-background img {
    width: 100%;
}


.section-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.row.top {
  align-items: flex-start;
}

.col {
  flex: 1;
  padding: 10px;
}

.image-large img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-block h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.image-small img {
  width: 100%;
  height: auto;
}

.full-text {
  width: 100%;
  font-size: 1rem;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }
}
.plan-design {
  align-items: flex-start;
}

.image-stack {
  position: relative;
  flex: 1;
}

.image-stack .main-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.image-stack .overlay-img {
  position: absolute;
  bottom: -20px;
  left: 40px;
  width: 40%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.text-block p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.text-block .highlight {
  font-size: 1.6rem;
  font-weight: bold;
  color: #a67c52; /* 添付画像の茶色に近い色 */
  margin: 20px 0;
}

.text-block .bold {
  font-weight: bold;
}
@media (max-width: 768px) {
  .plan-design {
    flex-direction: column;
  }
  .image-stack {
    margin-bottom: 30px;
  }
  .image-stack .overlay-img {
    position: relative;
    bottom: auto;
    left: auto;
    width: 60%;
    margin-top: 10px;
  }
}


/* ５つのコンセプト　安心カテゴリ */
.hero-banner {
  position: relative;
  text-align: center;
  color: #fff;
}
.hero-banner .hero-bg img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
}
.hero-banner .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hero-banner p {
  font-size: 1rem;
}
.hero-banner .small {
  font-size: 1.2rem;
  margin: 0.5em 0;
}
.hero-banner h3 {
  font-size: 2rem;
  margin: 0.2em 0;
}
.hero-banner .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(
	  -50%, -50%
  );
  font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "MS PMincho", serif; /* 明朝体指定 */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* 影の追加 */
  color: #fff;
  text-align: center;
}
/* 2カラム構成 */
.durability-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 60px auto;
  max-width: 1100px;
  padding: 0 20px;
  align-items: center;
}
.durability-section.alt {
  flex-direction: row-reverse;
}
.durability-section .col {
  flex: 1;
}
.durability-section .image img {
  width: 100%;
  border-radius: 6px;
}
.durability-section .text p {
  margin-bottom: 1.2em;
  line-height: 1.8;
}

/* 小画像3つ横並び */
.small-images {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 60px auto;
  max-width: 1100px;
  padding: 0 20px;
}
.small-images img {
  width: 30%;
  border-radius: 6px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .hero-banner .hero-text h2 {
    font-size: 1.5rem;
  }
  .durability-section {
    flex-direction: column;
  }
  .small-images {
    flex-direction: column;
    align-items: center;
  }
  .small-images img {
    width: 80%;
  }
}


/* ５つのコンセプトお金 */
.emphasis {
  font-weight: bold;
  color: #8a5a26;
}

/* ヒーローバナーは共通で使いまわせる */
.hero-banner {
  position: relative;
  text-align: center;
  color: #fff;
}
.hero-banner .hero-bg img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
}
.hero-banner .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hero-banner h2 {
  font-size: 3.2rem;
  margin-bottom: 0.5em;
}
.hero-banner p {
  font-size: 1.1rem;
}

/* 2カラム構成（使い回し） */
.cost-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 60px auto;
  max-width: 1100px;
  padding: 0 20px;
  align-items: center;
}
.cost-section.alt {
  flex-direction: row-reverse;
}
.cost-section .col {
  flex: 1;
}
.cost-section .image img {
  width: 100%;
  border-radius: 6px;
}
.cost-section .text p {
  margin-bottom: 1.2em;
  line-height: 1.8;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .hero-banner .hero-text h2 {
    font-size: 1.5rem;
  }
  .cost-section {
    flex-direction: column;
  }
  .cost-section.alt {
    flex-direction: column;
  }
}

.section-nature {
  width: 100%;
  font-family: "Hiragino Mincho Pro", serif;
}

.passivehouse-overview {
  background: #f4f4f4;
  padding: 60px 20px;
  font-family: "Hiragino Mincho ProN", serif;
}

.section-title {
  text-align: center;
  color: #b40000;
  font-size: 18px;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

.sub-title {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #b40000;
  border-bottom: 2px solid #b40000;
  display: inline-block;
  margin: 0 auto 30px;
}

.overview-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.overview-text {
  flex: 1;
  min-width: 260px;
  font-size: 14px;
  line-height: 2;
  color: #333;
}

.overview-box {
  background: #fff1ec;
  border: 1px solid #f0d1cb;
  padding: 20px;
  flex: 0 0 320px;
}

.overview-box h4 {
  background: #b40000;
  color: #fff;
  padding: 10px;
  font-size: 14px;
  margin: -20px -20px 10px;
}

.overview-box ul {
  font-size: 13px;
  line-height: 1.8;
  padding-left: 1em;
}

.video-area {
  text-align: center;
  margin-top: 40px;
}

.video-caption {
  font-size: 14px;
  margin-top: 8px;
  border-bottom: 1px solid #aaa;
  padding-bottom: 2px;
	width: 24%;
    margin: 0 auto;
}

.video-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}

.video-link {
  text-align: center;
  font-size: 12px;
  color: #000;
  text-decoration: none;
}

.video-link img {
  width: 265px;
  display: block;
  margin: 0 auto 5px;
}

.container2 {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
}

.container {
  margin: 0 auto;
  padding: 60px 20px;
  font-family: "Yu Mincho", "Hiragino Mincho Pro", serif;
  color: #333;
  line-height: 1.9;
	max-width: 1080px;
}



.grade-img, .feature-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 40px;
}

.image-block {
  text-align: center;
}
/* ========== パッシブハウス：高気密セクション ========== */
.ph-airtightness {
  background: #fff;
  color: #222;
  padding: 56px 20px 48px;
}

.ph-airtightness .ph-container {
  max-width: 1080px;
  margin: 0 auto;
}

/* タイトル＋横ライン（スクショの雰囲気に寄せる） */
.ph-airtightness .ph-title {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.4;
  position: relative;
  display: inline-block;  /* タイトルの下に余白を作って横線と分離 */
  margin: 0 0 28px;
}

/* 2カラム */
.ph-airtightness .ph-body {
  display: grid;
  grid-template-columns: 1fr 420px; /* 左テキスト/右画像 幅感はスクショ寄せ */
  gap: 36px 40px;
  align-items: start;
}

.ph-airtightness .ph-text p {
  font-size: 0.98rem;
  line-height: 2;
  margin: 0 0 1.1em;
}

/* 右側画像 */
.ph-airtightness .ph-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px #e9e9e9 inset;
  object-fit: cover;
}

/* CTA（使う場合） */
.ph-airtightness .ph-cta a {
  display: inline-block;
  margin-top: 6px;
  text-underline-offset: 3px;
  color: #1e58c4;
}

/* レスポンシブ */
@media (max-width: 980px) {
  .ph-airtightness .ph-body {
    grid-template-columns: 1fr 360px;
  }
}
@media (max-width: 780px) {
  .ph-airtightness .ph-title {
    font-size: 1.6rem;
  }
	.footer-right {
    display: none;
}
	.hero .logo {
    position: absolute;
    display: flex
;
    justify-content: center;
    z-index: 900;
    display: none;
}
  .ph-airtightness .ph-body {
    grid-template-columns: 1fr;  /* 縦並び */
  }
  .ph-airtightness .ph-media {
    order: 2;
  }
}
/* ====== Hero ====== */
/* 背景画像は下の --ph-hero-bg で差し替え */
.ph-hero {
  --ph-hero-bg: url("/wp-content/uploads/2025/08/hero-floor2.jpg");
  position: relative;
  width: 100%;
  min-height: 260px;             /* 画像の縦感に合わせて調整 */
  display: grid;
  place-items: center;
  padding: 48px 20px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.2) 70%, rgba(0,0,0,.15) 100%),
    var(--ph-hero-bg) center/cover no-repeat;
  border-bottom: 1px solid rgba(255,255,255,.75); /* 下の細い白線 */
  box-sizing: border-box;
}

.ph-hero__inner {
  text-align: center;
  max-width: 1100px;
  width: min(94vw, 1100px);
}

.ph-hero__copy {
  font-family: "Noto Serif JP","Hiragino Mincho ProN","Yu Mincho",serif;
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: .08em;
  font-size: clamp(16px, 2.2vw, 24px); /* スクショ程度のサイズ感 */
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
  margin: 0 0 18px;
}

/* CTAボタン（半透明の角丸＋右に丸アイコン） */
.ph-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  padding: 10px 18px 10px 20px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255,255,255,.35);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  color: #fff;
}

.ph-hero__cta:hover {
  transform: translateY(-1px);
  background: rgba(0,0,0,.45);
  border-color: rgba(255,255,255,.55);
}

.ph-hero__cta-label {
  font-size: 14px;
  letter-spacing: .08em;
}

.ph-hero__cta-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #d7c3aa;              /* ベージュ寄りの丸 */
  color: #333;
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,.2) inset;
  transition: transform .18s ease, background .18s ease;
}

.ph-hero__cta:hover .ph-hero__cta-icon {
  transform: translateX(2px);
  background: #e2d2bc;
}

/* 余白と高さの微調整（ブレークポイント） */
@media (min-width: 1024px) {
  .ph-hero { min-height: 280px; padding: 56px 24px; }
  .ph-hero__copy { margin-bottom: 22px; }
}
@media (max-width: 520px) {
  .ph-hero { padding: 36px 16px; }
  .ph-hero__cta { gap: 12px; padding: 9px 16px 9px 18px; }
  .ph-hero__cta-icon { width: 30px; height: 30px; font-size: 15px; }
}
h2.ph-hero__copy {
    color: #fff;
}
section.ph-hero {
    margin: 122px 0;
}
/* コンテナと基本色 */
:root{
  --serif: "Noto Serif JP","Hiragino Mincho ProN","Yu Mincho",serif;
  --sans: "Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  --container: min(1100px, 92vw);
  --ink:#222; --muted:#777; --line:#e2e2e2; --brand:#b71c1c;
}
.page-main{max-width:var(--container); margin:0 auto; padding:28px 0 60px; color:var(--ink)}
h1,h2,h3{margin:0}

/* 細線 */
.hr-thin{border:0;border-top:1px solid var(--line);margin:14px 0 22px}

/* Process */
.proc{padding:40px 0}
.proc-head{display:flex;align-items:center;gap:10px;font:600 18px/1 var(--serif);color:var(--ink);margin:4px 0 10px}
.proc-head .dot{width:10px;height:10px;border-radius:50%;background:var(--brand)}
.proc-card{display:grid;grid-template-columns:1.1fr .9fr;gap:28px 30px;align-items:start}
.proc-text h3{font:700 clamp(18px,2.1vw,22px)/1.7 var(--serif);letter-spacing:.04em;margin:0 0 10px}
.proc-text p{font:400 14px/2 var(--sans);margin:0}
.proc-media img{width:100%;display:block;border:1px solid #eee;border-radius:2px;object-fit:cover}

/* 画像グリッド・バリエーション */
.media-grid{display:grid;gap:10px}
.media-grid.cols-2{grid-template-columns:1fr 1fr}
.media-grid.stack-2{grid-template-columns:1fr}

/* Benefits / Drawbacks */
.section-title-en{font:500 16px/1 var(--serif);color:var(--muted);margin:36px 0 10px}
.section-title-jp{font:600 clamp(17px,2.1vw,22px)/1.9 var(--serif);letter-spacing:.08em;margin:0 0 10px}
.kv-list{margin:10px 0 6px;padding:0;list-style:none}
.kv-list li{padding:11px 2px;border-bottom:1px solid var(--line);font:400 14px/1.9 var(--sans)}

/* 赤枠の注意書き */
.note-red{
  font:600 14px/1.9 var(--sans);
  color:#b8423a;
  margin:24px 0 0;
  padding:14px 16px;
  border:2px solid #e8b1ab;
  border-left-width:6px;
  background:#fffafa;
  letter-spacing:.04em;
  text-align:center;
}
.benefits-list {
  list-style: none; /* 左の黒丸を消す */
  margin: 0;
  padding: 0;
}
.benefits-list li {
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
}
.benefits-list li:last-child {
  border-bottom: none; /* 最後は線を消す */
}
/* レスポンシブ */
@media (max-width:900px){
  .proc-card{grid-template-columns:1fr;gap:16px}
}
@media (max-width:560px){
  .media-grid.cols-2{grid-template-columns:1fr}
}
.archive-works .works-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}
.archive-works .work-card a{ display:block; text-decoration:none; color:inherit; }
.archive-works .work-card .thumb img{ width:100%; height:auto; display:block; }
.archive-works .work-card .title{ margin:.6rem 0 0; font-size:1rem; text-align:center; }
@media (max-width:1024px){ .archive-works .works-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:768px){ .archive-works .works-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .archive-works .works-grid{ grid-template-columns:1fr; } }

/* 施工事例一覧のレイアウト */
.works-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4列 */
  gap: 20px;
  margin: 40px auto;
  max-width: 1200px;
}

.work-item {
  text-align: center;
  background: #fff;
  border: 1px solid #eee;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.work-item img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

.work-title {
  font-size: 16px;
  margin: 10px 0 0;
  color: #333;
}

/* ページネーション中央寄せ */
.pagination {
  margin: 30px auto;
  text-align: center;
}

/* 共通カードグリッド（4列・レスポンシブ） */
.card-grid { display:grid; gap:24px; margin:40px auto; max-width:1200px; }
.card-grid--4col { grid-template-columns:repeat(4,1fr); }
@media (max-width:1024px){ .card-grid--4col { grid-template-columns:repeat(3,1fr); } }
@media (max-width:768px){ .card-grid--4col { grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .card-grid--4col, .works-list { grid-template-columns:1fr; } }

.card { background:#fff; border:1px solid #eee; text-align:center; transition:transform .2s, box-shadow .2s; }
.card__link { display:block; color:inherit; text-decoration:none; padding:12px; }
.card__thumb img { width:100%; height:auto; display:block; }
.card__title { margin:.6rem 0 0; font-size:1rem; }
.card:hover { transform: translateY(-3px); box-shadow:0 6px 18px rgba(0,0,0,.08); }

/* ページネーション中央寄せ */
.pagination { margin:30px auto; text-align:center; }

/* ====== ブログ一覧（/blog/） ====== */
.page-blog { max-width: 1200px; margin: 40px auto; padding: 0 16px; }
.page-blog h1 { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 24px; text-align: center; }

.page-blog .blog-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* PC: 4列 */
  gap: 24px;
}

/* カード */
.page-blog .blog-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.03);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.page-blog .blog-item a { color: inherit; text-decoration: none; display: block; height: 100%; }

/* サムネイル（比率統一） */
.page-blog .blog-item img {
  width: 100%;
  aspect-ratio: 4 / 3;      /* 統一比率：4:3（好みで変更可） */
  object-fit: cover;
  display: block;
}

/* タイトル・抜粋 */
.page-blog .blog-item h2 {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.5;
  margin: 12px 16px 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;    /* 2行で省略 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page-blog .blog-item p {   /* 抜粋 */
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 16px 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;    /* 3行で省略 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* メタ情報（投稿日などを出す場合に） */
.page-blog .blog-meta {
  margin: 8px 16px 0;
  color: #999;
  font-size: 12px;
}

/* ホバー演出 */
.page-blog .blog-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

/* ページネーション中央寄せ */
.page-blog .pagination { text-align: center; margin: 28px 0 10px; }
.page-blog .pagination .page-numbers { 
  display: inline-block; min-width: 36px; padding: 8px 10px; margin: 0 4px;
  border: 1px solid #ddd; border-radius: 8px;
}
.page-blog .pagination .current { background: #111; color: #fff; border-color: #111; }

/* レスポンシブ */
@media (max-width: 1024px) {
  .page-blog .blog-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .page-blog .blog-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .page-blog .blog-list { grid-template-columns: 1fr; }
}
/* ===== ブログ タブ ===== */
.blog-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:16px auto 24px;max-width:1200px;padding:0 16px;}
.blog-tab{display:inline-block;padding:8px 14px;border:1px solid #ddd;border-radius:20px;background:#fff;color:#333;text-decoration:none;transition:.2s;}
.blog-tab:hover{background:#111;color:#fff;border-color:#111;}
.blog-tab.is-active{background:#111;color:#fff;border-color:#111;}

/* ===== ブログ一覧 4列×2 ===== */
.page-blog{max-width:1200px;margin:40px auto;padding:0 16px;}
.page-blog h1{text-align:center;margin:0 0 16px;}
.page-blog .blog-list{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.page-blog .blog-item{background:#fff;border:1px solid #eee;border-radius:12px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,.03);transition:transform .2s, box-shadow .2s;}
.page-blog .blog-item:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(0,0,0,.08);}
.page-blog .blog-item img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;}
.page-blog .blog-item h2{font-size:16px;margin:12px 16px 6px;line-height:1.6;}
.page-blog .blog-item p{color:#666;font-size:14px;margin:0 16px 16px;line-height:1.7;}
.pagination{text-align:center;margin:28px 0 10px;}
.pagination .page-numbers{display:inline-block;min-width:36px;padding:8px 10px;margin:0 4px;border:1px solid #ddd;border-radius:8px;}
.pagination .current{background:#111;color:#fff;border-color:#111;}
@media (max-width:1024px){.page-blog .blog-list{grid-template-columns:repeat(3,1fr);}}
@media (max-width:768px){.page-blog .blog-list{grid-template-columns:repeat(2,1fr);}}
@media (max-width:480px){.page-blog .blog-list{grid-template-columns:1fr;}}
/* ===== レイヤー関係 ===== */
.hero { position: relative; }
.hero .video-background,
.hero .video-overlay { position:absolute; inset:0; }
.hero .video-background video{ width:100%; height:100%; object-fit:cover; display:block; }


/* ヘッダー（動画の上に出す） */
.hero .header{
  position: absolute;
  display:flex; align-items:center; justify-content:flex-end;
  padding: 16px 20px; z-index: 1000;
}


/* PC：横並びナビ */
.hero .site-nav .menu{ display:flex; gap:28px; list-style:none; margin:0; padding:0; }
.hero .site-nav .menu a{ color:#fff; text-decoration:none; padding:10px 0; display:block; font-weight:500; letter-spacing:.06em; }

/* トグル（PCでは非表示） */
.hero .nav-toggle{
  display:none;
	position:relative;
	width:44px;
	height:44px;
	border:0;
	background:rgba(255,255,255,.08);
  border-radius:8px; margin-right:auto; /* ←左側に置く：右に置きたいなら remove */
}
.hero .nav-toggle .bar{ position:absolute; left:10px; right:10px; height:2px; background:#fff; transition:transform .2s, opacity .2s; }
.hero .nav-toggle .bar:nth-child(1){ top:13px; }
.hero .nav-toggle .bar:nth-child(2){ top:21px; }
.hero .nav-toggle .bar:nth-child(3){ top:29px; }

/* モバイル（900px以下）：オフキャンバス */
@media (max-width: 900px){
  .hero .nav-toggle{ display:inline-flex; z-index:1002; }
  .hero .site-nav{
    position: fixed; inset:0 0 0 auto; width:min(86vw, 360px);
    background:#111; transform: translateX(100%); transition: transform .28s ease;
    padding: 20px 20px 40px; overflow-y:auto; z-index:1001;
  }
  .hero .site-nav.is-open{ transform: translateX(0); }
  .hero .site-nav .menu{ display:block; }
  .hero .site-nav .menu > li{ border-bottom: 1px solid rgba(255,255,255,.08); }
  .hero .site-nav .menu a{ color:#fff; padding:14px 4px; }

  /* サブメニュー（アコーディオン） */
  .hero .site-nav .submenu-toggle{
    margin-left:auto; border:0; background:transparent; color:#fff; padding:12px; font-size:18px; cursor:pointer;
  }
  .hero .site-nav .sub-menu{ display:none; list-style:none; padding:0 0 8px 14px; }
  .hero .site-nav .sub-open > .sub-menu{ display:block; }

  /* 背景オーバーレイ */
  .nav-overlay{ position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:1000; }
  .nav-overlay[hidden]{ display:none; }
}

/* ×アニメ（任意） */
.hero .site-nav.is-open ~ .nav-toggle .bar:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.hero .site-nav.is-open ~ .nav-toggle .bar:nth-child(2){ opacity:0; }
.hero .site-nav.is-open ~ .nav-toggle .bar:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* スクロール固定 */
body.no-scroll{ overflow:hidden; }
/* モバイルはサブメニューをデフォルト閉じる。開いた項目だけ表示 */
@media (max-width:900px){
  .site-nav .sub-menu{ display:none !important; } /* 常時出たままを強制停止 */
  .site-nav .menu-item-has-children.sub-open > .sub-menu{ display:block !important; }
}

/* PCでは通常表示（必要ならホバーで開く） */
@media (min-width:901px){
  .site-nav .menu .sub-menu{ display:block; } /* テーマに合わせて調整可 */
}
/* ベース：共通でサブメニューは非表示 */
.site-nav .menu { list-style: none; margin: 0; padding: 0; }
.site-nav .menu > li { position: relative; }
.site-nav .menu .sub-menu { display: none; list-style: none; margin: 0; padding: 8px 0; }

/* ── PC/タブレット（ホバーで出す） ───────────────── */
@media (min-width: 901px){
  /* PCでは＋/−ボタンは非表示 */
  .site-nav .submenu-toggle { display: none !important; }

  /* ドロップダウンの見た目 */
  .site-nav .menu .sub-menu{
    position: absolute;
    top: 100%; left: 50%; transform: translateX(-50%); /* 親の中央に出す。左寄せにしたければ left:0; transform:none; */
    min-width: 220px;
    background: rgba(17,17,17,.92);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    z-index: 1100; /* 背景動画より前 */
  }
  .site-nav .menu .sub-menu a{
    color: #fff; text-decoration: none; display: block; padding: 10px 14px; white-space: nowrap;
  }
  .site-nav .menu .sub-menu a:hover{ background: rgba(255,255,255,.08); }

  /* ホバー or フォーカスで表示 */
  .site-nav .menu > li:hover > .sub-menu,
  .site-nav .menu > li:focus-within > .sub-menu{
    display: block !important;
  }
}

/* ── スマホ（＋/−で開閉） ──────────────────────── */
@media (max-width: 900px){
  /* 初期は閉じる／開いた項目だけ表示 */
  .site-nav .sub-menu { display: none !important; }
  .site-nav .menu-item-has-children.sub-open > .sub-menu { display: block !important; }
}
/* ====== Video area（そのまま貼るだけ） ====== */
.video-area{
  --gap: clamp(12px, 2.5vw, 24px);
  max-width: 1100px;
  margin: clamp(16px,3vw,48px) auto;
  padding: 0 var(--gap);
}

/* YouTube埋め込みを16:9で可変に */
.video-area iframe{
  width: 100%;
  height: auto;           /* aspect-ratioで自動算出 */
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  border-radius: 14px;
}

/* キャプション */
.video-caption{
  margin-top: 10px;
  text-align: center;
  font-size: clamp(14px, 1.6vw, 18px);
  color: #555;
}

/* 下のリンクカードをレスポンシブな2カラムに */
.video-links{
  margin-top: var(--gap);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}

/* カード本体 */
.video-link{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  background: #f7f7f8;
  border-radius: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.video-link:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

/* サムネイルを同じ比率にトリミング */
.video-link img{
  width: 120px;                 /* PC基準の横幅 */
  aspect-ratio: 16 / 9;         /* 比率固定 */
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
}
.video-link span{
  font-weight: 600;
  font-size: clamp(14px, 1.5vw, 18px);
}

/* --- スマホ調整（～767px） --- */
@media (max-width: 767px){
  .video-links{ grid-template-columns: 1fr; }          /* 1カラムに */
  .video-link{ gap: 12px; padding: 12px; }
  .video-link img{ width: 34vw; }                      /* 画面幅に応じて縮む */
}
/* まずPC/タブは今まで通り（縦積み／右端） */
.cta-stack{
  position: fixed;
  right: 0;
  top: 60%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px; /* ← ボタン同士の間隔 */
  z-index: 999;
}

/* 共通見た目（縦書きリボン2種＋LINEアイコン） */
.cta-pill{
  background: #333;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 20px 15px;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: transform .15s ease, box-shadow .15s ease, opacity .2s ease;
}
.cta-pill:hover{ transform: translateX(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.22); }
.cta-contact{ background: #a00909; }  /* お問い合わせ（赤） */
.cta-world{ background: #0a2a66; }    /* 世界基準の家とは（紺） */

.cta-icon.cta-line {
    background: #06C755 !important;
}
.cta-icon{
	  width: 52px;
	height: 52px;
	border-radius: 50%;
  background: #06C755;
	display: grid;
	place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: transform .15s ease, box-shadow .15s ease;
  margin-left: auto;
}
.cta-icon:hover{ transform: translateX(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.22); }
.cta-icon svg{ display:block; }
/* LINE（imgで読み込み時） */

.cta-icon.cta-line img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;               /* 念のためはみ出し防止 */
  border-radius: 12px;               /* 角を揃える（不要なら削除） */
}

/* スマホ時は少し小さめ */
@media (max-width: 767px){
  .cta-icon.cta-line{
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }
  .cta-icon.cta-line img{
    border-radius: 10px;
  }
}
/* ===== スマホ：最下部に横並び固定 ===== */
@media (max-width: 767px){
  .cta-stack{
    left: 0; right: 0; bottom: 0; top: auto; transform: none;
    flex-direction: row; align-items: center; justify-content: center;
    gap: 10px; /* ← スマホでのボタン間隔 */
    padding: 8px max(8px, env(safe-area-inset-left))
             calc(8px + env(safe-area-inset-bottom))
             max(8px, env(safe-area-inset-right));
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(8px);
    box-shadow: 0 -10px 24px rgba(0,0,0,.12);
  }
section.section-feature {
    padding-top: 90px;
}
	.section-feature .feature-heading {
    padding-left: 15px;
}
  /* 縦書き→横書き＋横並び用のサイズ */
  .cta-pill{
    writing-mode: horizontal-tb;
    text-orientation: initial;
    border-radius: 9999px;
    padding: 12px 16px;
    font-size: 3vw !important;
  }
  .cta-contact,
  .cta-world{ flex: 1 1 auto;
	font-size: 3vw;
	}

  /* LINEは丸アイコンのまま右端に */
  .cta-icon{
    width: 44px; height: 44px; flex: 0 0 44px; margin-left: 0;
  }

  /* コンテンツが隠れないように下部余白を確保（必要に応じて調整） */
  body{ padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}
.description strong{
  font-weight: 700;
  color: #0a2a66; /* 紺色に軽くアクセント（不要なら消してOK） */
}
a.view-more2, .view-more3 {
    padding: 17px 100px;
}
/* ── スマホのみ：左ロゴ／右ハンバーガー配置 ── */
@media (max-width: 900px){
  .hero .header{
    display:flex;
    align-items:center;
    justify-content:space-between;  /* 左右に振り分け */
    padding:4px 4px;
  }
  /* ロゴを表示＆左寄せ（既存の display:none を上書き） */
  .hero .logo{
    position: static !important;    /* PC時の absolute を解除 */
    display: block !important;
    margin: 0;
  }
      .hero .logo img {
        height: 28px !important;
        padding-left: 0px !important;
    }
.scroll-indicator {
    display: none;
}
  /* ハンバーガーは右端へ */
  .hero .nav-toggle{
    display:inline-flex;
    margin-left:auto;               /* 右寄せ */
    margin-right:0;                 /* 既存のautoを打ち消し */
  }
}
/* オーバーレイより前面に（クリック可に） */
@media (max-width: 900px){
  .site-nav{ z-index: 1100; }   /* navをoverlayより上 */
  .nav-overlay{ z-index: 1000; }

  /* 親メニュー行をフレックス化：a と ＋ボタンを横並びにして重なり防止 */
  .site-nav .menu > li.menu-item-has-children{
    display: flex; align-items: center;
  }
  .site-nav .menu > li.menu-item-has-children > a{
    flex: 1 1 auto;             /* a を広げてクリックしやすく */
    padding-right: 8px;
  }
	    .hero .logo img {
        position: absolute;
        left: -3px;
        top: -2px;
    }
  .site-nav .menu > li .submenu-toggle{
    flex: 0 0 auto;              /* ＋ボタンは独立 */
    margin-left: 8px;
    padding: 10px 12px;
    font-size: 18px;
  }
}
/* ===== Cross-browser baseline ===== */
html {
  -webkit-text-size-adjust: 100%;   /* iOSの勝手な文字拡大防止 */
  text-size-adjust: 100%;
}

:root {
  /* 数値で指定できるline-heightに統一（OS差の吸収） */
  --base-lh: 1.7;
}

/* 画像/動画のbaseline差防止 & 余白リセット */
img, svg, video { display: block; max-width: 100%; height: auto; vertical-align: middle; }

/* フォーム系は親フォント継承（Winでの差を軽減） */
button, input, select, textarea { font: inherit; color: inherit; }

/* OSごとのレンダリング差(アンチエイリアス)を軽減 */
body {
  -webkit-font-smoothing: antialiased;   /* Chrome/Safari */
  -moz-osx-font-smoothing: grayscale;    /* Firefox(macOS) */
  text-rendering: optimizeLegibility;    /* 文字組みを少し丁寧に */
  font-synthesis: none;                  /* 疑似ボールド防止 */
  line-height: var(--base-lh);
}

/* フォントスタック：和文のOS差を抑える */
body, .nav-item, .feature-desc, .news-content {
  font-family:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo,
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

/* 使っているウェイトを明示（疑似ボールドの出現を抑える） */
h1, h2, h3 { font-weight: 600; }
.nav-item, .news-content { font-weight: 400; }

/* 文字間がOSでズレがち → 過度な letter-spacing は抑える */
.vertical-title, .view-more, .cta-pill { letter-spacing: 0.06em; }

/* === フッター：ロゴ＋住所を画面中央に固定、ナビは右 === */


.footer-left{
  grid-column: 2;                  /* 真ん中の列に配置 */
  justify-self: center;            /* 中央寄せ */
  text-align: center;
}

.footer-logo{ margin-bottom: 20px; }
.footer-logo img{
  display: block;
  height: 80px;
  width: auto;
  margin: 0 auto;                  /* 画像自体も中央 */
}
.company-info{ text-align: center; }

/* 右カラム（ナビ）は右端に */
.footer-right{
  grid-column: 3;
  justify-self: center;
}

/* スマホはナビを隠して、全体センターで縦積み */
@media (max-width: 780px){
  .footer-container{ 
    display: block; 
    text-align: center; 
  }
  .footer-right{ display: none; }
}
.footer-logo img {
    width: 411px;
    margin: 0 auto;
}
/* 1) OS差を減らすためフォントを固定（Noto Sans JP を使用） */
:root {
  --nav-h: 64px;        /* デスクトップのメニュー行の高さ */
  --nav-fs: 15px;       /* 文字サイズ */
  --nav-fw: 500;        /* 太さ：400だとOS差が出やすい時がある */
  --nav-pad-x: 16px;    /* 左右の余白 */
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* 2) WordPress標準メニュー用（テーマのクラスに合わせて調整してOK） */
.site-header .menu > li > a,
.site-header .menu-item > a {
  font-family: "Noto Sans JP","Noto Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  font-weight: var(--nav-fw);
  font-size: var(--nav-fs);
  line-height: 1;                 /* ← フォント依存の normal をやめる */
  display: flex;
  align-items: center;            /* 垂直中央 */
  height: var(--nav-h);           /* ← 文の高さに依存させない */
  padding-inline: var(--nav-pad-x);
  letter-spacing: .02em;
}

/* 3) Elementor の Nav Menu ウィジェットを使っている場合はこちらも効かせる */
.elementor-location-header .elementor-nav-menu a.elementor-item {
  font-family: "Noto Sans JP","Noto Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  font-weight: var(--nav-fw);
  font-size: var(--nav-fs);
  line-height: 1;
  display: flex;
  align-items: center;
  height: var(--nav-h);
  padding-inline: var(--nav-pad-x);
  letter-spacing: .02em;
}

/* 4) 余白の初期値でズレないようリセット */
.site-header .menu,
.site-header .menu li { margin: 0; }
.site-header .menu > li > a { padding-top: 0; padding-bottom: 0; }

/* 5) 見た目微調整（任意） */
.site-header .menu > li > a { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* 6) ブレークポイントで高さだけ落とす例（必要なら） */
@media (max-width: 1024px) {
  :root { --nav-h: 56px; --nav-fs: 14px; --nav-pad-x: 12px; }
}
.footer-right {
    margin: 0 auto;
}
/* ② iPad Pro（横）＝ 1025–1366px：デスクトップに入ってしまう“広いタブレット” */
@media (min-width: 1025px) and (max-width: 1366px) {
  /* 12.9" Pro 横向きの調整 */
	.header {
    font-size: 1vw;
}
	.footer-right {
        margin: 0 auto;
    }
	.logo img {
    height: 56px;
    width: auto;
}
.footer-right {
    margin: 0 auto;
}
	.hero .site-nav .menu a {
    font-size: 1.2vw;
}
}
/* === ヘッダーメニューを .header/.nav-menu に統一適用 === */
:root { --nav-h: 64px; --nav-fs: 15px; --nav-fw: 500; --nav-pad-x: 16px; }

.header .nav-menu { 
  display: flex; gap: 30px; list-style: none; margin: 0; padding: 0;
}
.header .nav-menu > li > a,
.header .nav-item {
  font-family: "Noto Sans JP","Noto Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  font-weight: var(--nav-fw);
  font-size: var(--nav-fs);
  line-height: 1;
  display: flex; align-items: center;
  height: var(--nav-h);
  padding-inline: var(--nav-pad-x);
  letter-spacing: .02em;
}

/* 区切り線は .nav-item::after 方式だけ採用（片方を無効化） */
nav.nav-menu a::after { content: none !important; }

/* section-title を一つに統一（必要な方に合わせて） */
.section-title {
  font-size: 3rem; font-weight: 100; letter-spacing: .2em;
  line-height: 1.3; margin-bottom: 40px; color: #2c2c2c;
}

/* モバイルのロゴ表示はこの指定を最終権に */
@media (max-width: 900px){
  .hero .logo { display: block !important; position: static !important; margin: 0; }
}

/* iPad Pro 横向き（広めタブレット）の微調整例 */
@media (min-width: 1025px) and (max-width: 1366px){
  :root { --nav-h: 56px; --nav-fs: 14px; --nav-pad-x: 12px; }
	.footer-right {
        margin: 0 auto;
    }
}
.logo img {
    height: 6vh !important;
}
    .footer-right {
        margin: 0 auto;
    }
main.voices-archive h1, .works-archive h1 {
    text-align: center;
}
main.page-passivehouse .section-title {
    font-size: 1.4rem;
}
.hero .video-overlay {
    background: rgba(0, 0, 0, .0) !important;
}
.works-archive h1 {
    display: none;
}
@media (max-width: 900px) {
    .hero .logo img {
        height: 10vw;
    }
}
