@charset "UTF-8";

/* ====================================
   Variables & Reset
   ==================================== */
:root {
    --text-color: #333333;
    --text-light: #777777;
    --accent-color: #a67c52;
    --accent-light: #c29b74;
    --bg-white: #ffffff;
    --bg-greige: #f5f3ef;
    --bg-dark: #1a1a1a;
    
    --font-mincho: 'Zen Old Mincho', serif;
    --font-gothic: 'Noto Sans JP', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-gothic); color: var(--text-color); line-height: 1.9; background-color: var(--bg-white); -webkit-font-smoothing: antialiased; letter-spacing: 0.05em; }
a { text-decoration: none; color: inherit; transition: all 0.4s ease; }
ul { list-style: none; }
img { width: 100%; height: auto; display: block; }
.sp-only { display: none; }

/* ====================================
   Common Components
   ==================================== */
.container { max-width: 1080px; margin: 0 auto; padding: 0 40px; }
.section { padding: 120px 0; }
.section-greige { background-color: var(--bg-greige); }
.section-dark { background-color: var(--bg-dark); color: #fff; }

.section-header { margin-bottom: 80px; text-align: center; }
.section-en { display: block; font-family: var(--font-gothic); font-size: 0.85rem; color: var(--accent-color); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 15px; font-weight: 500; }
.section-title { font-family: var(--font-mincho); font-size: 2.4rem; font-weight: 500; line-height: 1.4; letter-spacing: 0.1em; }
.section-header.light .section-title { color: #fff; }

/* Buttons */
.btn { display: inline-block; padding: 16px 40px; font-size: 0.95rem; letter-spacing: 0.1em; border-radius: 50px; text-align: center; cursor: pointer; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }
.btn-gold { background-color: var(--accent-color); color: #fff; border: 1px solid var(--accent-color); }
.btn-gold:hover { background-color: transparent; color: var(--accent-color); }
.btn-white { background-color: #fff; color: var(--accent-color); border: 1px solid #fff; }
.btn-white:hover { background-color: transparent; color: #fff; border-color: #fff; }
.btn-border-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn-border-white:hover { border-color: #fff; background: #fff; color: #000; }
.btn-lg { min-width: 240px; }
.btn-wide { width: 100%; max-width: 300px; }
.center-btn { text-align: center; }
.mt-60 { margin-top: 60px; }

/* Responsive Common */
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .section { padding: 80px 0; }
    .sp-only { display: block; }
    .btn-lg { width: 100%; }
    .section-title { font-size: 8vw;}
    .section-header { margin-bottom: 12%;}
}

/* ====================================
   Header & Hamburger
   ==================================== */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(255,255,255,0.95); border-bottom: 1px solid rgba(0,0,0,0.05); backdrop-filter: blur(5px); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; padding: 0 40px; }
.logo a { display: flex; flex-direction: column; color: var(--text-color); line-height: 1.2; position: relative; z-index: 1002; }
.logo-en { font-family: var(--font-gothic); font-size: 1.1rem; font-weight: 500; letter-spacing: 0.15em; }
.logo-jp { font-size: 0.65rem; color: #888; letter-spacing: 0.1em; }

.g-nav { margin-left: auto; margin-right: 40px; }
.g-nav ul { display: flex; gap: 40px; }
.g-nav a { font-size: 0.9rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.1em; position: relative; }
.g-nav a::after { content: ""; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px; background: var(--accent-color); transition: 0.3s; }
.g-nav a:hover { color: var(--accent-color); }
.g-nav a:hover::after { width: 100%; }

.btn-nav { padding: 10px 24px; font-size: 0.85rem; background: var(--text-color); color: #fff; border: 1px solid var(--text-color); }
.btn-nav:hover { background: transparent; color: var(--text-color); }

.hamburger { display: none; }

/* Responsive Header */
@media (max-width: 768px) {
    .header-inner { padding: 0 20px; }
    .header-cta { display: none; }
    
    .hamburger {
        display: block; width: 30px; height: 20px; position: relative; cursor: pointer; z-index: 1002;
    }
    .hamburger span {
        display: block; width: 100%; height: 2px; background: #333; position: absolute; left: 0; transition: 0.3s;
    }
    .hamburger span:nth-child(1) { top: 0; }
    .hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
    .hamburger span:nth-child(3) { bottom: 0; }

    /* Open State */
    .nav-open .hamburger span:nth-child(1) { top: 50%; transform: rotate(45deg); }
    .nav-open .hamburger span:nth-child(2) { opacity: 0; }
    .nav-open .hamburger span:nth-child(3) { top: 50%; transform: rotate(-45deg); }
    
    .g-nav {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: rgba(255,255,255,0.98);
        z-index: 1001;
        display: flex; align-items: center; justify-content: center;
        opacity: 0; pointer-events: none; transition: 0.4s;
        margin: 0;
    }
    .nav-open .g-nav { opacity: 1; pointer-events: auto; }
    .g-nav ul { flex-direction: column; gap: 30px; text-align: center; }
    .g-nav a { font-size: 1.2rem; font-weight: bold; }
    .btn-nav-sp {
        display: inline-block; padding: 12px 30px; background: var(--accent-color); color: #fff; border-radius: 50px;
    }
}

/* ====================================
   Hero (FV)
   ==================================== */
.hero { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; top:0; left:0; width:100%; height:100%; background: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover; z-index: -2; animation: zoomHero 20s infinite alternate; }
@keyframes zoomHero { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.5); z-index: -1; }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 20px; }
.hero-sub { font-size: 0.9rem; letter-spacing: 0.3em; margin-bottom: 30px; opacity: 0.9; }
.hero-title { font-family: var(--font-mincho); font-size: 4rem; line-height: 1.5; margin-bottom: 40px; font-weight: 500; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-desc { font-size: 1.1rem; line-height: 2; margin-bottom: 0; font-weight: 300; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2; }
.hero-scroll span { font-size: 0.75rem; letter-spacing: 0.2em; color: #fff; }
.scroll-line { width: 1px; height: 60px; background: rgba(255,255,255,0.5); position: relative; overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #fff; animation: scrollDown 2s infinite; }
@keyframes scrollDown { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-title { font-size: 8.5vw; }
    .hero-desc { font-size: 3.5vw; }
    .hero-sub { font-size: 3.6vw;}
}

/* ====================================
   Worries
   ==================================== */
.worries-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 60px; }
.worry-item { display: flex; align-items: center; gap: 15px; background: #fff; padding: 20px 30px; border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); min-width: 280px; }
.worry-num { font-family: var(--font-mincho); color: var(--accent-color); font-size: 1.2rem; font-style: italic; border-right: 1px solid #ddd; padding-right: 15px; }
.message-area { text-align: center; font-family: var(--font-mincho); font-size: 1.5rem; line-height: 2; }
.message-area strong { color: var(--accent-color); font-weight: 600; border-bottom: 1px solid var(--accent-color); }

@media (max-width: 768px) {
    .worry-item { width: 100%; min-width: auto; }
    .message-area p { font-size: 6vw;}
}

/* ====================================
   Features
   ==================================== */
.feature-wrap { display: flex; flex-direction: column; gap: 100px; }
.feature-row { display: flex; align-items: center; position: relative; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-img { width: 60%; height: 500px; overflow: hidden; }
.feature-img img { height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 1, 0.2, 1); }
.feature-row:hover .feature-img img { transform: scale(1.05); }
.feature-content { width: 45%; background: #fff; padding: 60px; margin-left: -5%; z-index: 2; box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.feature-row.reverse .feature-content { margin-left: 0; margin-right: -5%; }
.feature-idx { display: block; font-family: var(--font-mincho); color: var(--accent-color); font-size: 1.2rem; margin-bottom: 20px; }
.feature-idx::before { content: ""; display: inline-block; width: 30px; height: 1px; background: var(--accent-color); vertical-align: middle; margin-right: 10px; }
.feature-content h4 { font-family: var(--font-mincho); font-size: 2rem; margin-bottom: 30px; line-height: 1.4; }

@media (max-width: 768px) {
    .feature-row, .feature-row.reverse { flex-direction: column; gap: 0; }
    .feature-img { width: 100%; height: 300px; }
    .feature-content, .feature-row.reverse .feature-content { width: 90%; margin: -40px auto 0; padding: 40px 30px; }
    .feature-content h4 { font-size: 1.6rem; }
}

/* ====================================
   Case Studies
   ==================================== */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px 40px; }
.case-item { display: block; group: hover; }
.case-thumb { position: relative; overflow: hidden; margin-bottom: 25px; aspect-ratio: 4 / 3; background: #222; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.case-item:hover .case-thumb img { transform: scale(1.1); }
.case-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.4); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.4s; font-family: var(--font-mincho); letter-spacing: 0.2em; }
.case-item:hover .case-overlay { opacity: 1; }
.case-info h4 { font-size: 1.2rem; margin-bottom: 8px; font-weight: 500; }
.case-spec { font-size: 0.85rem; color: #888; margin-bottom: 15px; letter-spacing: 0.1em; }
.case-desc { font-size: 0.9rem; color: #aaa; line-height: 1.7; }

@media (max-width: 768px) {
    .case-grid { grid-template-columns: 1fr; }
}

/* ====================================
   Cost
   ==================================== */
.cost-area { text-align: center; }
.cost-title { font-family: var(--font-mincho); font-size: 2rem; margin-bottom: 50px; }
.cost-diagram { display: flex; justify-content: center; align-items: center; gap: 20px; margin-bottom: 40px; }
.circle-item { width: 100px; height: 100px; border: 1px solid #ddd; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: #888; }
.circle-item.main { width: 140px; height: 140px; background: var(--accent-color); color: #fff; border: none; font-family: var(--font-mincho); font-size: 1.1rem; }
.line { width: 40px; height: 1px; background: #ddd; }
.cost-desc { font-size: 1rem; color: var(--text-light); }

/* Responsive Cost */
@media (max-width: 768px) {
    .circle-item {
        /* 正円を維持 */
        aspect-ratio: 1 / 1;
        flex-shrink: 0;
        width: 80px; height: 80px;
    }
    .circle-item.main {
        width: 110px; height: 110px;
        font-size: 1rem;
    }

    .cost-title {
        font-size: 7vw;
        line-height: 1.6;
    }

    .cost-diagram {
        gap:1.5%;
    }

    .cost-desc {
        font-size: 3.6vw;
    }
}

/* ====================================
   Comparison Table (Scrollable)
   ==================================== */
.comparison-box { padding: 0; border-radius: 8px; max-width: 1000px; margin: 0 auto; overflow: hidden; position: relative; }
.comp-table { display: table; width: 100%; border-collapse: collapse; }
.comp-row { display: table-row; }
.comp-cell { display: table-cell; padding: 25px 20px; vertical-align: middle; border: 1px solid #ddd; font-size: 1rem; }
.comp-header .comp-cell { font-weight: bold; text-align: center; border-bottom: 2px solid #ccc; font-size: 1.1rem; color: #333; }
.comp-cell.label { width: 20%; font-weight: 600; text-align: center; background-color: #f9f9f9; }
.comp-cell.competitor { width: 40%; text-align: center; color: #666; background-color: #fff; }
.comp-cell.us { width: 40%; text-align: center; color: var(--accent-color); font-weight: 600; background-color: #fffaf5; }
.comp-cell.us.highlight { font-size: 1.15rem; }

/* Scroll Hint & Wrapper for SP */
.scroll-hint-wrapper { display: none; }
.comp-table-wrapper { width: 100%; }

@media (max-width: 768px) {
    .comp-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }
    .comp-table {
        display: table;
        width: 700px; /* 横スクロール強制 */
    }
    
    /* 上下の余白削除 */
    .comp-row {
        /* スマホ用スタイル上書き: flex等にせずtableのまま */
        display: table-row; 
        margin-bottom: 0; border: none; padding: 0;
    }
    .comp-cell {
        display: table-cell;
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    /* 不要なSP用リセットの打ち消し */
    .comp-header { display: table-row-group; } 

    /* スクロールヒント (中央・矢印) */
    .scroll-hint-wrapper {
        display: block;
        text-align: center; /* 左右中央 */
        margin-top: 15px;
        font-size: 0.85rem;
        color: var(--accent-color);
        font-weight: 500;
        animation: hintSlide 2s infinite;
    }
    .scroll-hint::before {
        content: "↔"; /* 矢印アイコン */
        margin-right: 5px;
        font-size: 1.2em;
        vertical-align: middle;
    }
    @keyframes hintSlide {
        0%, 100% { transform: translateX(0); }
        50% { transform: translateX(5px); }
    }
}

/* ====================================
   Flow
   ==================================== */
.flow-container { max-width: 900px; margin: 0 auto; }

.flow-item {
    display: flex; gap: 30px; margin-bottom: 0; transition: all 0.3s ease;
}

.flow-num-col {
    display: flex; flex-direction: column; align-items: center; min-width: 60px; flex-shrink: 0;
}
.flow-circle {
    width: 60px; height: 60px; border-radius: 50%; background: #fff; border: 2px solid var(--accent-color);
    color: var(--accent-color); display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mincho); font-size: 1.3rem; font-weight: 600; z-index: 2; transition: 0.3s;
}
.flow-item:hover .flow-circle { background-color: var(--accent-color); color: #fff; }
.flow-line { width: 2px; flex-grow: 1; background: #ddd; margin: 10px 0; min-height: 50px; }
.flow-item:last-child .flow-line { display: none; }

.flow-content { flex: 1; padding-top: 5px; text-align: left; }
.flow-content h4 { font-size: 1.3rem; margin-bottom: 15px; font-weight: 600; color: var(--accent-color); }
.flow-content p { font-size: 0.95rem; color: var(--text-light); line-height: 1.8; }

.flow-image { width: 180px; flex-shrink: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 50px; transition: transform 0.5s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.flow-image img { width: 100%; height: 100%; object-fit: cover; }
.flow-item:last-child .flow-image { margin-bottom: 0; }
.flow-item:hover .flow-image { transform: scale(1.05); }

/* Responsive Flow */
@media (max-width: 768px) {
    .flow-image { display: none; } /* 画像非表示 */
    
    .flow-item {
        display: flex;
        gap: 20px;
        margin-bottom: 0;
        /* 余白をパディングで作ることで線をつなげる */
        padding-bottom: 40px; 
    }
    .flow-item:last-child { padding-bottom: 0; }

    .flow-num-col {
        width: 40px;
        min-width: 40px;
        flex-direction: column;
        position: relative; /* 線配置の基準 */
    }
    .flow-circle {
        width: 40px; height: 40px; /* 正円維持 */
        font-size: 1rem;
        flex-shrink: 0;
        border-width: 1px;
        margin: 0;
    }
    
    /* 線をつなぐ処理 */
    .flow-line {
        display: block;
        width: 2px;
        background: #ddd;
        position: absolute;
        top: 40px; /* 円の下から */
        bottom: -20px; /* 次の要素まで伸ばす（パディング分をカバー） */
        left: 50%;
        transform: translateX(-50%);
        height: auto;
        margin: 0;
    }
    .flow-item:last-child .flow-line { display: none; }

    .flow-content {
        padding-top: 0;
    }
    .flow-content h4 { font-size: 1.15rem; margin-bottom: 10px; }
}

/* ====================================
   Voice / CTA / Form / Footer
   ==================================== */
.voice-grid-rich { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; justify-content: center; }

.voice-card-rich { background: #fff; border-radius: 12px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #f0f0f0; transition: transform 0.3s; }
.voice-card-rich:hover { transform: translateY(-5px); }
.voice-header { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid #f5f5f5; }
.voice-icon-large img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,0.1); }
.voice-meta-rich { flex: 1; }
.voice-stars { color: #f1c40f; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 5px; }
.voice-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 2px; }
.voice-attr { font-size: 0.85rem; color: #888; }
.voice-catch { font-family: var(--font-mincho); font-size: 1.2rem; font-weight: 600; color: var(--accent-color); margin-bottom: 15px; line-height: 1.5; }
.voice-body p { font-size: 0.95rem; line-height: 1.9; color: #555; }

/* Responsive Voice */
@media (max-width: 768px) {
    .voice-grid-rich {
        display: flex;
        flex-direction: column;
        align-items: center; /* カードを中央に */
    }
    .voice-card-rich {
        width: 100%;
        max-width: 400px; /* 広がりすぎないように */
        padding: 30px 20px;
    }
    .voice-catch { font-size: 1.1rem; }
}

.footer-cta { position: relative; padding: 140px 0; text-align: center; color: #fff; background: url('../img/pic5.jpg') center/cover fixed; }
.cta-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.5); }
.cta-container { position: relative; z-index: 2; }
.cta-lead { font-family: var(--font-mincho); font-size: 3rem; margin-bottom: 30px; }
.cta-actions { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 30px;}

.contact-section { background: var(--bg-white); }
.form-container { max-width: 700px; margin: 0 auto; }
.form-title { text-align: center; font-family: var(--font-mincho); font-size: 1.8rem; margin-bottom: 60px; }
.input-group label { display: block; margin-bottom: 10px; }
.req { color: var(--accent-color); font-size: 0.7rem; margin-left: 5px; }
input, textarea, select { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 0; background: #fdfdfd; transition: 0.3s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent-color); background: #fff; }
.submit-area { text-align: center; margin-top: 50px; }

.footer { background: #111; color: #888; padding: 80px 0 40px; font-size: 0.85rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 60px; border-bottom: 1px solid #222; padding-bottom: 40px; }
.footer-brand h4 { color: #fff; margin-bottom: 10px; font-size: 1rem; }
.footer-links a { margin-right: 20px; color: #aaa; }
.footer-links a:hover { color: #fff; }
.copyright { text-align: center; font-size: 0.75rem; }

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-inner { flex-direction: column; gap: 30px; }
    .footer-links a { display: block; margin: 0 0 10px 0; }
    .form-container { padding: 0 20px; }
    .cta-lead { font-size: 8vw;}
    .cta-sub { font-size: 4vw;}
}

/* ====================================
   Animation
   ==================================== */
.fade-in { opacity: 0; transition: opacity 1.5s ease; }
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 1s cubic-bezier(0.2, 1, 0.2, 1), transform 1s cubic-bezier(0.2, 1, 0.2, 1); }
.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }