@charset "UTF-8";

/* =========================================
   Base Setup (Nakanihon Hosei)
   ========================================= */
:root {
    --bg-color: #ffffff;
    --text-main: #333333;   /* チャコールグレー */
    --text-light: #888888;  /* ライトグレー */
    --line-color: #e0e0e0;  /* 極細の線 */
    --accent: #555555;      /* 濃いグレー（アクセント） */
    --stitch: 1px dashed #ccc; /* ステッチ風の線 */
    
    --font-en: 'Montserrat', sans-serif;
    --font-jp: 'Shippori Mincho', serif; /* 上品な明朝体 */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-jp);
    line-height: 2.2;
    letter-spacing: 0.08em;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.5s ease; }
img { width: 100%; height: 100%; object-fit: cover; display: block; }
ul { list-style: none; }

/* 英語見出し */
.en {
    font-family: var(--font-en);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* アニメーション（静かに現れる） */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Header (Minimal)
   ========================================= */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 2rem 4%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--line-color);
}

.logo {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-main);
}
.logo span { display: block; font-size: 0.7rem; color: var(--text-light); font-family: var(--font-en); margin-top: 2px; }

.nav ul { display: flex; gap: 3rem; }
.nav a {
    font-family: var(--font-en);
    font-size: 0.85rem;
    color: var(--text-main);
    position: relative;
}
/* ホバー時に下線が伸びる（ステッチ風） */
.nav a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px;
    border-bottom: 1px dashed var(--accent);
    transition: 0.4s;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }

.hamburger { display: none; cursor: pointer; }
.hamburger span { display: block; width: 30px; height: 1px; background: #333; margin: 8px 0; }

/* =========================================
   Hero Section (Split Screen)
   ========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5%;
}
.hero-text {
    width: 40%;
    padding-right: 4rem;
    z-index: 2;
}
.hero-title {
    font-size: 3rem;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 2rem;
}
.hero-sub {
    font-family: var(--font-en);
    font-size: 0.9rem;
    color: var(--text-light);
    border-left: 1px solid var(--text-main);
    padding-left: 1.5rem;
    margin-left: 5px;
}
.hero-img {
    width: 60%;
    height: 80vh;
    position: relative;
}
.hero-bg {
    width: 100%; height: 100%;
    object-fit: cover;
    /* 写真の周りに白い余白フレーム */
    border: 10px solid #fff;
    box-shadow: 0 0 30px rgba(0,0,0,0.05);
}
/* ステッチ装飾 */
.hero-img::after {
    content: ''; position: absolute; top: -20px; right: -20px;
    width: 100%; height: 100%;
    border: 1px solid var(--line-color);
    z-index: -1;
}

/* =========================================
   Layout & Components
   ========================================= */
.section { padding: 8rem 10%; }
.container { max-width: 1100px; margin: 0 auto; }

.section-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 5rem;
    border-bottom: 1px solid var(--line-color);
    padding-bottom: 1rem;
}
.section-header h2 { font-size: 2rem; font-weight: 400; }
.section-header span { text-align: right; }

/* Grid Layout */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* Image Overlay Card */
.img-card {
    position: relative; overflow: hidden;
    height: 400px;
    transition: 0.5s;
}
.img-card img { transition: 0.5s; filter: grayscale(30%); }
.img-card:hover img { transform: scale(1.05); filter: grayscale(0%); }
.card-content {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(255,255,255,0.95), transparent);
}
.card-title { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card-desc { font-size: 0.85rem; color: var(--text-light); }

/* Text Content */
.text-block h3 { font-size: 1.5rem; margin-bottom: 1.5rem; font-weight: 500; }
.text-block p { margin-bottom: 2rem; color: var(--text-main); }

/* Button (Minimal) */
.btn-line {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border: 1px solid var(--text-main);
    color: var(--text-main);
    font-family: var(--font-en);
    font-size: 0.8rem;
    transition: 0.3s;
}
.btn-line:hover { background: var(--text-main); color: #fff; }

/* =========================================
   Sub Pages
   ========================================= */
.page-header {
    height: 40vh;
    display: flex; align-items: center; justify-content: center;
    background: #fcfcfc;
    border-bottom: 1px solid var(--line-color);
    margin-bottom: 6rem;
}
.page-title {
    text-align: center;
}
.page-title h1 {
    font-family: var(--font-en); font-size: 2.5rem; font-weight: 300; letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}
.page-title span {
    font-size: 0.9rem; color: var(--text-light);
}

/* Service Process (Vertical Line) */
.process-list {
    position: relative;
    padding-left: 2rem;
    border-left: 1px solid var(--line-color);
}
.process-item { margin-bottom: 4rem; position: relative; }
.process-item::before {
    content: ''; position: absolute; top: 0; left: -2.35rem;
    width: 10px; height: 10px; background: #fff; border: 1px solid var(--text-main);
    border-radius: 50%;
}
.process-num {
    font-family: var(--font-en); font-size: 0.8rem; color: var(--text-light); margin-bottom: 0.5rem; display: block;
}

/* Company Table */
.company-dl {
    display: grid; grid-template-columns: 200px 1fr;
    border-top: 1px solid var(--line-color);
}
.company-dl dt, .company-dl dd {
    padding: 1.5rem 0; border-bottom: 1px solid var(--line-color);
}
.company-dl dt { font-weight: 500; }
.company-dl dd { color: var(--text-main); }

/* Form */
.form-simple { max-width: 800px; margin: 0 auto; }
input, textarea {
    width: 100%; padding: 1rem; border: 1px solid var(--line-color);
    background: #fafafa; margin-bottom: 1.5rem; font-family: inherit;
    transition: 0.3s;
}
input:focus, textarea:focus {
    border-color: var(--text-main); background: #fff; outline: none;
}
.btn-submit {
    width: 200px; padding: 1rem; background: var(--text-main); color: #fff;
    border: none; cursor: pointer; font-family: var(--font-en);
    transition: 0.3s; display: block; margin: 0 auto;
}
.btn-submit:hover { opacity: 0.8; }

/* Footer */
.footer {
    padding: 4rem 5%; border-top: 1px solid var(--line-color);
    text-align: center; margin-top: 4rem;
}
.footer-logo { font-size: 1.2rem; margin-bottom: 2rem; }
.copyright { font-size: 0.8rem; color: var(--text-light); font-family: var(--font-en); }

/* Responsive */
@media (max-width: 768px) {
    .nav { display: none; }
    .hamburger { display: block; }
    
    .hero { flex-direction: column-reverse; height: auto; padding: 6rem 5% 4rem; }
    .hero-text { width: 100%; padding: 0; margin-top: 2rem; }
    .hero-title { font-size: 2rem; }
    .hero-img { width: 100%; height: 300px; }
    
    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 2rem; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .company-dl { grid-template-columns: 1fr; }
    .company-dl dt { padding-bottom: 0; border-bottom: none; color: var(--text-light); }
    .company-dl dd { padding-top: 0.5rem; }
}