/*
Theme Name: Design Rymm Original
Author: Omaho
Description: 父のサイトのリニューアル用テーマ
Version: 1.0.0
*/

/* ====================================
   1. リセットCSS・ベース設定
   ==================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Jost', "Hiragino Sans", sans-serif;
    line-height: 1.6;
    background-color: #F9FAF6; 
    color: #333;
}
a {
    text-decoration: none;
    color: inherit;
}

li {
    list-style: none;
}

/* ====================================
   2. ヘッダー（右上の横並びメニュー）
   ==================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 30px 50px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000;
    background-color: #A9B388; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo img {
    max-width: 150px;
    height: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 40px; /* メニューとボタンの間隔 */
}

.global-nav ul {
    display: flex;
    gap: 30px;
}

.global-nav a {
    font-family: Arial, sans-serif;
    font-size: 16px; font-weight: bold;
    color: #fff; 
    transition: 0.3s;
}
.global-nav a:hover {
    color: #333; 
}

.btn-contact {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #A9B388; 
    padding: 15px 30px; border-radius: 50px; font-weight: bold;
    letter-spacing: 0.1em; transition: 0.3s;
}

.btn-contact:hover {
    background-color: #333; color: #fff;
}

.hamburger-btn {
    display: none;
}

/* ====================================
   3. FV（First View）のレイアウト
   ==================================== */
.fv {
    position: relative;
    width: 100%;
    height: 100vh;
    padding-top: 100px;
}

.fv-inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.fv-left {
    width: 48%; /* 左側の空間割合 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fv-right {
    width: 42%; /* 右側の空間割合 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* FVのコピー（テキスト）部分 */
.fv-copy {
    margin-top: 0;
    margin-bottom: 40px; /* ★写真との間に綺麗な余白を */
}

.fv-en {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    color: #333;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.fv-title {
    font-size: 32px;
    font-family: "Hiragino Sans", sans-serif; /* 日本語なのでヒラギノに統一！ */
    font-weight: 700;
    color: #333;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.fv-subtitle {
    font-size: 14px;
    color: #555;
    line-height: 2;
    letter-spacing: 0.05em;
}

/* スクロールアニメーション */
/* .fv-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-text {
    font-family: Arial, sans-serif;
    writing-mode: vertical-rl;
    font-size: 12px;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: #333;
} */

/* ====================================
   ★ 魔法のスライドショー（4枚用：20秒ループ）
   ==================================== */
.fv-img-main {
    width: 100%; /* ★幅を100%に！これで上のロゴと左端のラインがピシッと揃います */
    height: 65vh; /* 少し高さを出して迫力をプラス */
    position: relative;
    overflow: hidden;
    background-color: #333;
}

.fv-img-sub {
    width: 100%; /* ★右側の枠いっぱいに広げる */
    height: 35vh;
    margin-left: 0; /* ★超重要：ここを0にすることで、上のテキストと左端がピシッと一直線に揃い、全体が中央に寄ります！ */
    position: relative;
    overflow: hidden;
    background-color: #333;
}

.fv-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0; 
    animation: slideAnimation 20s infinite; /* 20秒に変更！ */
}

/* 各スライドの出番を5秒ずつズラす */
.fv-img-main .fv-slide:nth-child(1), .fv-img-sub .fv-slide:nth-child(1) { animation-delay: -1.5s; }
.fv-img-main .fv-slide:nth-child(2), .fv-img-sub .fv-slide:nth-child(2) { animation-delay: 3.5s; }
.fv-img-main .fv-slide:nth-child(3), .fv-img-sub .fv-slide:nth-child(3) { animation-delay: 8.5s; }
.fv-img-main .fv-slide:nth-child(4), .fv-img-sub .fv-slide:nth-child(4) { animation-delay: 13.5s; }

/* 4枚用の完璧な計算式 */
@keyframes slideAnimation {
    0% { opacity: 0; transform: scale(1); }
    7.5% { opacity: 1; }
    32.5% { opacity: 1; }
    42.5% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(1.05); }
}

/* ====================================
   5. Conceptセクション
   ==================================== */
.concept {
    padding: 120px 50px;
    position: relative;
    z-index: 2;
}

.concept-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* 上段：リードエリア（雑誌風レイアウト） */
.concept-lead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 100px; /* 下段の3ポイントとの余白 */
}

.concept-content {
    width: 45%;
    background-color: #fff;
    padding: 60px 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    z-index: 2;
    margin-right: -100px;
}

.section-title {
    font-family: 'Jost', sans-serif;
    font-size: 40px;
    color: #A9B388;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.concept-catch {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: bold;
    color: #333;
    line-height: 1.6;
}

.concept-text {
    line-height: 2.2;
    color: #555;
    font-size: 15px;
}

.concept-img {
    width: 60%;
    z-index: 1;
}

.concept-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* 下段：3つの強みエリア（今時のGridレイアウト！） */
.concept-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 均等に3列！ */
    gap: 40px; /* 箱同士の隙間 */
}

.point-item {
    background-color: #fff;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

/* 背後に大きく透けるオシャレな数字「01, 02...」 */
.point-num {
    position: absolute;
    top: -10px;
    right: 10px;
    font-family: 'Jost', sans-serif;
    font-size: 100px;
    font-weight: 700;
    color: #f0f0f0; /* 超薄いグレー */
    z-index: 1;
    line-height: 1;
}

.point-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    z-index: 2; /* 数字より手前に出す */
    border-bottom: 2px solid #A9B388; /* カーキの下線で引き締める */
    display: inline-block;
    padding-bottom: 5px;
}

.point-desc {
    font-size: 14px;
    color: #555;
    line-height: 2;
    position: relative;
    z-index: 2; /* 数字より手前に出す */
}
/* ====================================
   6. Strengthセクション（強み）
   ==================================== */
.strength {
    padding: 100px 50px;
    position: relative;
    z-index: 2;
}

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

/* 左側：画像エリア */
.strength-img {
    width: 48%;
}

.strength-img img {
    width: 100%;
    height: auto;
    display: block;
    /* 写真の右下に少し濃いカーキの影を落として立体感を出す魔法！ */
    box-shadow: 20px 20px 0px rgba(0, 0, 0, 0.1); 
}

/* 右側：テキストエリア */
.strength-content {
    width: 45%;
}

.strength-catch {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: bold;
    color: #333;
    line-height: 1.6;
}

.strength-text {
    line-height: 2.2;
    color: #555;
    font-size: 15px;
}

/* 重要なキーワード（適正価格）に、今っぽい薄いマーカー線を引く */
.strength-text strong {
    font-weight: bold;
    color: #333;
    background: linear-gradient(transparent 60%, rgba(255,255,255,0.6) 60%); 
}
/* ====================================
   7. Service & Worksセクション
   ==================================== */
.service-works {
    padding: 120px 50px;
    background-color: #f9f9f9; /* 背景を少し明るくして区切りをつける */
}

.service-works-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* タイトルの中央揃え用 */
.text-center {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 60px;
    letter-spacing: 0.1em;
}

/* ▼ サービス内容の3カラムレイアウト ▼ */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px; /* 下の実績写真との余白 */
}

.service-item {
    background-color: #fff;
    padding: 40px 30px;
    border-top: 3px solid #A9B388; /* 上にカーキのラインでアクセント */
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.service-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.service-tags {
    font-size: 13px;
    color: #A9B388;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.8;
}

.service-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

/* ▼ 施工事例（Works）の写真グリッド ▼ */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.work-item {
    background-color: #fff;
}

.work-img {
    overflow: hidden;
}

.work-img img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* 写真をいい感じにトリミング */
    transition: 0.3s;
}

.work-item:hover .work-img img {
    transform: scale(1.05); /* マウスオーバーで少しズーム */
}

.work-info {
    padding: 20px;
}

.work-info h4 {
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.work-info p {
    font-size: 13px;
    color: #777;
}

/* ボタンの中央配置 */
.btn-wrap {
    text-align: center;
}
/* ====================================
   8. Contactセクション
   ==================================== */
.contact {
    padding: 120px 50px;
    background-color: #A9B388; 
    color: #fff;
}

.contact-inner {
    max-width: 900px; /* 少し幅を狭めて読みやすくする */
    margin: 0 auto;
}

/* ▼ 全国対応アピールエリア ▼ */
.contact-nationwide {
    background-color: rgba(255, 255, 255, 0.1); /* 半透明の白い箱 */
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 80px;
}

.contact-nationwide h4 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.contact-nationwide p {
    font-size: 15px;
    line-height: 1.8;
    color: #f0f0f0;
}

/* ▼ お問い合わせ（CTA）エリア ▼ */
.contact-cta {
    text-align: center;
}

.contact-cta .section-title {
    color: #fff; /* ここのタイトルは白にする */
}

.cta-catch {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
    letter-spacing: 0.1em;
}

.cta-desc {
    font-size: 15px;
    line-height: 2;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.cta-desc strong {
    color: #fff;
    font-size: 18px;
    border-bottom: 1px dashed #fff; /* 強調の破線 */
}

/* ▼ 押したくなる特大ボタン ▼ */
.btn-contact-large {
    display: inline-block;
    background-color: #fff;
    color: #333;
    padding: 20px 60px;
    border-radius: 50px;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-contact-large:hover {
    transform: translateY(-5px); /* マウスを乗せたらフワッと浮く！ */
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.btn-contact-large .en {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.btn-contact-large .ja {
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: #777;
}
/* ====================================
   9. フッター（Footer）
   ==================================== */
.site-footer {
    background-color: #222; /* ダークグレーで画面を下から引き締める！ */
    color: #fff;
    padding: 80px 50px 20px; /* 上にゆとり、下にコピーライト */
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* 左右にピシッと分ける */
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 薄ーいグレーの区切り線 */
    padding-bottom: 50px;
    margin-bottom: 30px;
}

/* ▼ 会社情報（左側） ▼ */
.footer-logo {
    font-family: 'Jost', sans-serif;
    font-size: 32px;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.footer-address {
    font-size: 14px;
    line-height: 1.8;
    color: #aaa; /* 真っ白ではなく、少しトーンを落として上品に */
    letter-spacing: 0.05em;
}

/* ▼ フッターメニュー（右側） ▼ */
.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 15px; /* メニューの縦の間隔 */
    text-align: right; /* 右端でピシッと揃える */
}

.footer-nav a {
    font-size: 14px;
    color: #aaa;
    transition: 0.3s;
    letter-spacing: 0.05em;
}

.footer-nav a:hover {
    color: #9a9e7d; /* マウスを乗せたら、サイトのテーマカラー（カーキ）に光る！ */
}

/* ▼ コピーライト（一番下） ▼ */
.footer-copyright {
    text-align: center;
    font-size: 12px;
    color: #666; /* 目立ちすぎないように暗めのグレー */
    letter-spacing: 0.1em;
}
/* ====================================
   10. レスポンシブ（スマホ・タブレット用）
   ==================================== */
@media screen and (max-width: 768px) {
    /* 全体の余白をスマホ用に狭める */
    .concept, .strength, .service-works, .contact, .site-footer {
        padding: 60px 20px;
    }

    /* 1. ヘッダー */
    .site-header {
        padding: 15px 20px;
    }
    .global-nav {
        display: none; /* スマホでは一旦PCメニューを隠す（ハンバーガーは後日！） */
    }
    .btn-contact {
        padding: 10px 20px;
        font-size: 12px;
    }

    /* 2. FV（トップ画面） */
    .fv {
        padding-top: 80px;
        height: auto; /* 画面いっぱいの高さを解除 */
        padding-bottom: 40px;
    }
    .fv-inner {
        flex-direction: column; /* 縦並びに！ */
        padding: 0 20px;
    }
    .fv-left, .fv-right {
        width: 100%;
    }
    .fv-img-main {
        height: 40vh; /* スマホ用に少し低く */
        margin-bottom: 30px;
    }
    .fv-copy {
        margin-bottom: 30px;
    }
    .fv-title {
        font-size: 24px; /* 文字を少し小さく */
    }

    /* 3. Conceptセクション */
    .concept-lead {
        flex-direction: column-reverse; /* 写真を上に、テキストを下にする魔法 */
        margin-bottom: 50px;
    }
    .concept-img {
        width: 100%;
    }
    .concept-content {
        width: 100%;
        margin-right: 0;
        margin-top: -30px; /* 写真に少しだけ被せるエディトリアル感 */
        padding: 30px 20px;
    }
    .concept-points {
        grid-template-columns: 1fr; /* 3列を1列に！ */
        gap: 20px;
    }

    /* 4. Strengthセクション */
    .strength-inner {
        flex-direction: column;
        gap: 30px;
    }
    .strength-img, .strength-content {
        width: 100%;
    }
    .strength-img img {
        box-shadow: 10px 10px 0px rgba(0, 0, 0, 0.1); /* 影もスマホサイズに */
    }

    /* 5. Service & Worksセクション */
    .service-grid, .works-grid {
        grid-template-columns: 1fr; /* 3列を1列に！ */
        gap: 20px;
    }

    /* 6. Contactセクション */
    .contact-nationwide {
        padding: 20px;
        margin-bottom: 50px;
    }
    .cta-catch {
        font-size: 20px;
    }
    .cta-desc {
        font-size: 14px;
    }
    .btn-contact-large {
        padding: 15px 20px;
        width: 100%; /* ボタンを横幅いっぱいにして押しやすく */
        box-sizing: border-box;
    }

    /* 7. Footer */
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    .footer-nav ul {
        text-align: center;
    }
}
/* ====================================
   11. 下層ページ（Contact等）の共通デザイン
   ==================================== */
.page-header {
    background-color: #A9B388; /* 新しい明るめカーキ */
    color: #fff;
    padding: 150px 20px 80px; /* ヘッダーの下に潜り込まないように上余白を多めに */
    text-align: center;
}

.page-title {
    font-family: 'Jost', sans-serif;
    font-size: 40px;
    letter-spacing: 0.1em;
}

.page-subtitle {
    font-size: 14px;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin-top: 10px;
}

/* ====================================
   12. お問い合わせフォーム（CF7）のデザイン
   ==================================== */
.contact-form-wrapper {
    max-width: 800px;
    margin: 80px auto 120px;
    padding: 0 20px;
}

.contact-lead {
    text-align: center;
    margin-bottom: 50px;
    color: #555;
    line-height: 1.8;
}

/* 入力項目のタイトル */
.wpcf7-form label {
    display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px; /* 項目同士の隙間をあけて見やすく */
    font-size: 15px;
}

/* 入力ボックス（テキスト＆エリア） */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    font-size: 16px;
    margin-top: 10px; /* タイトルと入力欄の間の隙間 */
    transition: 0.3s;
    box-sizing: border-box;
}

/* 入力中（フォーカス時）はカーキ色に光らせる！ */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: #A9B388;
    outline: none;
    box-shadow: 0 0 5px rgba(169, 179, 136, 0.5);
}

.wpcf7-form textarea {
    height: 200px;
    resize: vertical;
}

/* 送信ボタン（目立つようにデザイン！） */
.wpcf7-form input[type="submit"] {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 40px auto 0;
    background-color: #A9B388;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    padding: 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 0.1em;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #333;
    transform: translateY(-3px); /* フワッと浮く */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}