@charset "UTF-8";
/*
Theme Name: Reform Plus Stylish Theme
Description: 山口で紡ぐ、細部にこだわる丁寧なリフォーム「nodus+」オフィシャルテーマ
Version: 1.0.0
*/

/* =========================================
   ブラウザ標準のリセット & 共通基本設定
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* ベースフォントとして美しい伝統的な明朝体ファミリーを指定 */
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "MS Mincho", serif;
    color: #1a1a1a;
    background-color: #fff;
    line-height: 1.9;
    letter-spacing: 0.08em;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* =========================================
   ヘッダー（透過から白へ変化する追従ギミック）
========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 60px; /* 初期状態（最上部）のゆったりとした上品な余白 */
    background-color: transparent; /* 写真を最上部まで見せるために最初は透明 */
    border-bottom: none; /* 初期状態の1pxの間仕切り（線）を完全に消去 */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* 変化を滑らかにするアニメーション */
}

/* 下にスクロールした時にJavaScriptで自動付与されるデザイン */
.site-header.scrolled {
    padding: 24px 60px; /* 天井にくっついて文字が浮き上がらないよう、上下余白を24pxで最適化 */
    background-color: rgba(255, 255, 255, 0.95); /* 高級感のある磨りガラス風の白背景 */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06); /* スクロール時のみ極細の境界線を表示 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.site-logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.18em; /* 「+」の後にわずかな空間を作り、ロゴの佇まいを美しく */
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #1a1a1a;
}

.header-nav {
    margin-left: auto;
    margin-right: 60px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-list a {
    font-size: 11px;
    letter-spacing: 0.15em;
    color: #333; /* 写真の上でも視認性を保てるダークグレー */
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    transition: color 0.3s ease;
}

/* スクロールした後のナビゲーション文字色調整 */
.site-header.scrolled .nav-list a {
    color: #555;
}
.site-header.scrolled .nav-list a:hover {
    color: #1a1a1a;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-btn {
    font-size: 11px;
    letter-spacing: 0.08em;
    border: 1px solid #1a1a1a;
    padding: 10px 24px;
    background-color: #1a1a1a;
    color: #fff !important;
    transition: all 0.3s ease;
}

.header-btn:hover {
    background-color: transparent;
    color: #1a1a1a !important;
}

/* ハンバーガーメニューボタン */
.menu-trigger {
    background: none;
    border: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    display: block;
}

.menu-trigger span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
}

.menu-trigger span:nth-child(1) { top: 4px; }
.menu-trigger span:nth-child(2) { bottom: 4px; }

/* ハンバーガーアクティブ時（バツ印に変形） */
.menu-trigger.active span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-trigger.active span:nth-child(2) { transform: translateY(-6px) rotate(-45deg); }


/* =========================================
   メインビジュアル (MV)
========================================= */
.mv {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.mv-swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}

/* 文字の可読性を上げつつ、写真の透明感を邪魔しないグラデーションマスク */
.mv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
    z-index: 2;
    pointer-events: none;
}

.mv-content {
    position: relative;
    z-index: 3;
    padding-left: 10%;
    max-width: 800px;
}

.mv-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #1a1a1a;
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px rgba(255,255,255,1);
}

/* 【洗練の極み】「20」を格調高い海外ブランド風の極細セリフ体へ */
.num-serif {
    font-family: "Didot", "Bodoni MT", "Cinzel", "Times New Roman", serif;
    font-size: 36px; /* 線の細さを引き立たせるために少し大きめに配置 */
    font-weight: 300; /* 太文字を解除し、限界までシャープで細いスタイリッシュなラインに */
    letter-spacing: -0.03em; /* 数字が間延びしないようにキュッと引き締める */
    display: inline-block;
    margin: 0 1px 0 4px; /* 日本語との美しいディスタンスを演出 */
    position: relative;
    top: 0px; /* 縦の重心をミリ単位で視覚的中央にロック */
}

.mv-subtitle {
    font-size: 12px;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.15em;
}

/* スライダーインジケーター（ドット）のカスタム */
.mv .swiper-pagination-bullet { background: #1a1a1a; opacity: 0.2; }
.mv .swiper-pagination-bullet-active { background: #1a1a1a; opacity: 1; width: 24px; border-radius: 2px; }


/* =========================================
   共通セクションデザイン（新設パーツ含む）
========================================= */
.site-section {
    padding: 120px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05); /* セクションを緩やかに区切る極細の線 */
}

.section-header-minimal {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 60px;
}

.section-num-sub {
    font-size: 14px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #999;
    font-weight: 300;
}

.section-title-minimal {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.15em;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #1a1a1a;
}


/* =========================================
   コンテンツの入り口 (Grid Navigation)
========================================= */
.contents-navigation {
    padding: 120px 0;
    background-color: #fff;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

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

.nav-card {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 40px 30px;
    display: block;
    position: relative;
    transition: all 0.4s ease;
}

.nav-card:hover {
    border-color: #1a1a1a;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.card-num {
    font-size: 12px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #999;
    display: block;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.15em;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 12px;
    color: #666;
    font-weight: 400;
}

.card-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 16px;
    color: #ccc;
    transition: transform 0.4s ease, color 0.4s ease;
}

.nav-card:hover .card-arrow {
    transform: translateX(5px);
    color: #1a1a1a;
}


/* =========================================
   1. お知らせ (NEWS)
========================================= */
.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 25px 10px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.news-item:hover {
    padding-left: 20px; /* ホバーした時に少し右に流れる上質なエフェクト */
    background-color: #fafafa;
}

.news-date {
    font-size: 13px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #888;
    width: 120px;
}

.news-category {
    font-size: 10px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.1em;
    font-weight: 700;
    border: 1px solid #1a1a1a;
    padding: 2px 10px;
    margin-right: 30px;
    color: #1a1a1a;
}

.news-title {
    font-size: 14px;
    color: #333;
    font-weight: 700;
    margin-right: auto;
}

.news-arrow {
    font-size: 14px;
    color: #ccc;
}


/* =========================================
   2. 施工事例 (WORKS)
========================================= */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.works-card {
    display: block;
}

.works-img-wrapper {
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #f7f7f7;
    aspect-ratio: 3 / 2;
}

.works-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ホバー時に写真が静かにじわっと拡大する高級工務店仕様のギミック */
.works-card:hover .works-img-wrapper img {
    transform: scale(1.05);
}

.works-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    line-height: 1.6;
}


/* =========================================
   3. よくあるご質問 (FAQ)
========================================= */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 40px;
    border: 1px solid #eee;
    padding: 35px 40px;
    background-color: #fcfcfc;
}

.faq-q, .faq-a {
    display: flex;
    gap: 20px;
}

.faq-q {
    margin-bottom: 15px;
}

.faq-label {
    font-size: 18px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
}

.faq-q .faq-label { color: #1a1a1a; }
.faq-a .faq-label { color: #999; }

.faq-q .faq-text {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.faq-a .faq-text {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}


/* =========================================
   4. フッター (FOOTER)
========================================= */
.site-footer {
    background-color: #1a1a1a; /* 足元を濃厚な漆黒で引き締める */
    color: #fff;
    padding: 80px 0 40px 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.footer-main {
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.15em;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin-bottom: 10px;
}

.footer-sub {
    font-size: 12px;
    color: #999;
    letter-spacing: 0.05em;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.copyright {
    font-size: 11px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #666;
    letter-spacing: 0.05em;
}


/* =========================================
   レスポンシブ対応（タブレット・スマホ）
========================================= */
@media screen and (max-width: 1024px) {
    .header-nav { display: none; } /* スマホ・タブはナビを隠してシンプルに */
    .site-header { padding: 18px 30px; }
    .site-header.scrolled { padding: 16px 30px; border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
    .mv-content { padding-left: 6%; }
    .mv-title { font-size: 22px; }
    .num-serif { font-size: 28px; }
    .nav-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .nav-container { padding: 0 30px; }
    .contents-navigation { padding: 80px 0; }
}

@media screen and (max-width: 900px) {
    .news-item { flex-direction: column; align-items: flex-start; gap: 10px; }
    .news-date { width: auto; }
    .works-grid { grid-template-columns: 1fr; gap: 30px; }
    .faq-item { padding: 25px; }
}

@media screen and (max-width: 600px) {
    .nav-grid { grid-template-columns: 1fr; }
}