@charset "UTF-8";

/* ==========================================================================
   1. Base Reset & Variables
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Noto Serif JP', 'Times New Roman', serif;
    color: #2b2b2b;
    background-color: #faf9f7;
    line-height: 2;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   2. Utility & Common Layout
   ========================================================================== */
.container,
.section-inner,
.editorial-wide-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 0.12em;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background-color: #999;
    margin: 16px auto 0;
}
.section-sub-title-eng {
    text-align: center;
    font-size: 0.82rem;
    letter-spacing: 0.25em;
    color: #888;
    margin-top: -20px;
    margin-bottom: 30px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
}
.text-center {
    text-align: center;
}
.editorial-p {
    font-size: 1.1rem;
    color: #444;
    line-height: 2.3;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: #ffffff;
    color: #1a1a1a;
    padding: 18px 40px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.0rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    transition: all 0.3s ease;
    border: 1px solid #ffffff;
}
.btn-primary:hover {
    background-color: transparent;
    color: #ffffff;
}
.border-dark-btn {
    background-color: #333333;
    color: #ffffff;
    border: 1px solid #333333;
}
.border-dark-btn:hover {
    background-color: transparent;
    color: #333333;
}
.btn-secondary {
    display: inline-block;
    background-color: #333333;
    color: #ffffff;
    padding: 16px 40px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    transition: opacity 0.3s ease;
}
.btn-secondary:hover {
    opacity: 0.85;
}

/* ==========================================================================
   3. Header
   ========================================================================== */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 24px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header.page-header {
    position: relative;
    background-color: #ffffff;
    border-bottom: 1px solid #e8e5de;
}
.logo {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    font-family: 'Noto Serif JP', serif;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.94rem;
    letter-spacing: 0.15em;
}
nav a.btn-contact {
    background-color: #1a1a1a;
    color: #fff;
    padding: 8px 18px;
    transition: opacity 0.3s;
}
nav a.btn-contact:hover {
    opacity: 0.8;
}

/* ==========================================================================
   4. HERO / Key Visual & Subpage Hero (位置微調整)
   ========================================================================== */
.key-visual {
    width: 100%;
    min-height: 88vh;
    position: relative;
    background: url('../img/key.jpg') center bottom / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px 80px;
}
.kv-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.35);
}
.kv-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-top: -60px; /* 60px 上へ移動 */
}
.kv-content h1 {
    font-size: 3.2rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    color: #FFF;
}
.kv-sub {
    font-size: 1.4rem;
    color: #FFF;
    letter-spacing: 0.1em;
    margin-bottom: 48px; /* ボタンとの間隔をさらに拡大 */
    font-weight: 300;
}
.kv-cta {
    margin-top: 20px;
}

.subpage-hero {
    padding: 80px 0 60px;
    background-color: #ffffff;
    border-bottom: 1px solid #e8e5de;
}
.subpage-hero h1 {
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}
.subpage-hero-sub {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.25em;
    color: #888;
    font-weight: 600;
    margin-bottom: 24px;
}
.subpage-lead {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.05rem;
    color: #444;
    line-height: 2.0;
    font-weight: 300;
}

/* ==========================================================================
   5. PROBLEM Section (経営者の悩み)
   ========================================================================== */
.problem-section {
    padding: 100px 0;
    background-color: #ffffff;
}
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}
.problem-card {
    background-color: #faf9f7;
    border: 1px solid #e8e5de;
    padding: 24px 28px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.check-icon {
    color: #1a1a1a;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.5;
}
.problem-card p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.98rem;
    color: #444;
    line-height: 1.7;
    font-weight: 300;
}
.problem-card p strong {
    font-weight: 600;
    color: #1a1a1a;
}

/* ==========================================================================
   6. Intro Section & 5 Phase Vertical (濃いめグレーデザイン)
   ========================================================================== */
.intro-section {
    padding: 100px 0;
}
.intro-heading {
    font-size: 2.4rem;
    line-height: 2.2;
    margin-bottom: 40px;
    font-weight: 400;
    text-align: center;
}
.intro-text {
    font-size: 1.15rem;
    color: #333;
    line-height: 2.2;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.intro-text p {
    margin-bottom: 24px;
}

/* 縦並びの5段階構造（濃いめグレー：#333333 / #3a3a3a） */
.phase-vertical-wrapper {
    max-width: 800px;
    margin: 60px auto 0;
}
.phase-vertical-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.phase-vertical-item {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #d8d4cb;
    padding: 24px 32px;
    transition: all 0.25s ease;
}
.phase-vertical-item:hover {
    border-color: #333333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.phase-vertical-item.discover-item {
    border-left: 4px solid #27ae60;
}
.phase-vertical-head {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 300px;
}
.phase-vertical-head .num {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #888888;
}
.phase-vertical-head .code {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #333333; /* 濃いめグレー */
}
.tag-free {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    background-color: #27ae60;
    color: #fff;
    padding: 2px 8px;
    letter-spacing: 0.05em;
    border-radius: 2px;
}
.phase-vertical-body p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.08rem;
    color: #3a3a3a; /* 濃いめグレー */
    font-weight: 500;
    letter-spacing: 0.02em;
}
.phase-btn-wrap {
    text-align: center;
    margin-top: 48px;
}

/* ==========================================================================
   7. DISCOVER Entry Section (トップページ無料相談導線)
   ========================================================================== */
.discover-entry-section {
    padding: 80px 0 100px;
    background-color: #f4f3ef;
}
.discover-entry-box {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-top: 4px solid #27ae60;
    border-left: 1px solid #e2ded5;
    border-right: 1px solid #e2ded5;
    border-bottom: 1px solid #e2ded5;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.discover-entry-box .badge-wrap {
    margin-bottom: 20px;
}
.discover-entry-box .entry-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1a1a1a;
    line-height: 1.5;
}
.discover-entry-box .entry-text p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.0rem;
    color: #444;
    line-height: 2.0;
    margin-bottom: 20px;
    font-weight: 300;
}
.discover-entry-box .entry-action {
    margin-top: 36px;
}

/* ==========================================================================
   8. Process Detail & Card UI (プロセスページ用)
   ========================================================================== */
.process-section {
    padding: 100px 0;
    background-color: #f4f3ef;
}
.phase-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 920px;
    margin: 0 auto;
}
.phase-card-box {
    background-color: #ffffff;
    border: 1px solid #e2ded5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.phase-card-header {
    padding: 28px 36px 18px;
    border-bottom: 1px solid #f0eee8;
}
.phase-badge-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.phase-step-badge {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 3px 10px;
}
.free-bg {
    background-color: #27ae60;
}
.phase-code {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #888;
}
.phase-type-tag {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    letter-spacing: 0.08em;
    color: #fff;
}
.free-tag {
    background-color: #27ae60;
}
.core-tag {
    background-color: #1a1a1a;
}
.phase-card-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.04em;
    line-height: 1.4;
}
.phase-card-body {
    padding: 28px 36px 36px;
}
.phase-lead-desc {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 24px;
}

/* ワークフローUI */
.phase-workflow {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.workflow-item {
    background-color: #faf9f7;
    border-left: 3px solid #dcd7ce;
    padding: 18px 22px;
}
.workflow-label {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #777;
    margin-bottom: 6px;
    letter-spacing: 0.08em;
}
.workflow-item p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.92rem;
    color: #333;
    line-height: 1.8;
    font-weight: 300;
}
.workflow-item p strong {
    font-weight: 600;
    color: #1a1a1a;
}
.workflow-item.condition {
    border-left-color: #1a1a1a;
    background-color: #f0eee8;
}
.workflow-item.condition .workflow-label {
    color: #1a1a1a;
}
.phase-simple-list {
    list-style-type: disc;
    padding-left: 18px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.8;
}
.phase-card-action {
    margin-top: 28px;
    text-align: right;
}

.highlight-card {
    border: 2px solid #1a1a1a;
}
.discover-card {
    border-top: 3px solid #27ae60;
}

/* ==========================================================================
   9. CAPABILITIES Section
   ========================================================================== */
.capabilities-section {
    padding: 100px 0;
    background-color: #ffffff;
}
.capa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.capa-card {
    background-color: #faf9f7;
    border: 1px solid #e5e3dd;
    padding: 28px 24px;
}
.capa-code {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #888;
    display: block;
    margin-bottom: 8px;
}
.capa-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}
.capa-desc {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.88rem;
    color: #666;
    line-height: 1.8;
    font-weight: 300;
}

/* ==========================================================================
   10. OUR APPROACH (crasculの姿勢)
   ========================================================================== */
.business-section {
    padding: 100px 0;
    background-color: #faf9f7;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.card {
    background-color: #fff;
    border: 1px solid #e5e3dd;
    padding: 32px 26px;
}
.card-code {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #888;
    margin-bottom: 8px;
}
.card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 14px;
    line-height: 1.5;
}
.card-text {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.9;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
}

/* ==========================================================================
   11. BANNER Section
   ========================================================================== */
.banner-section {
    width: 100%;
    position: relative;
    background: url('../img/kaigai.png') center/cover no-repeat;
    filter: grayscale(100%);
    padding: 100px 0;
    color: #fff;
}
.banner-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
}
.banner-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
}
.banner-title {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding-bottom: 16px;
    display: inline-block;
}
.banner-text {
    font-size: 1.15rem;
    line-height: 2.2;
    color: #eee;
    font-weight: 400;
}

/* ==========================================================================
   12. Contact Section & Form
   ========================================================================== */
.section.bg-light {
    padding: 100px 0;
    background-color: #faf9f7;
}
.form-wrapper {
    max-width: 720px;
    margin: 0 auto;
}
.form-wrapper .form-group {
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
}
.form-row {
    display: flex;
    gap: 20px;
}
.form-row .form-group {
    flex: 1;
}
.form-wrapper label {
    display: block;
    font-size: 1.0rem;
    font-weight: 500;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}
.req {
    font-size: 0.7rem;
    color: #c0392b;
    margin-left: 6px;
    font-weight: normal;
}
.form-wrapper input[type="text"],
.form-wrapper input[type="email"],
.form-wrapper input[type="url"],
.form-wrapper select,
.form-wrapper textarea {
    width: 100%;
    height: 60px;
    padding: 12px 16px;
    border: 1px solid #dcd7ce;
    border-radius: 0;
    background-color: #fff;
    font-size: 1.0rem;
    font-family: 'Noto Sans JP', sans-serif;
    color: #2b2b2b;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}
.form-wrapper input:focus,
.form-wrapper select:focus,
.form-wrapper textarea:focus {
    border-color: #1a1a1a;
}
.form-wrapper select {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%333333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}
.form-wrapper textarea {
    resize: vertical;
    min-height: 200px;
    line-height: 1.8;
}
.form-wrapper ::placeholder {
    color: #aaa;
    font-weight: 300;
}
.form-submit {
    text-align: center;
    margin-top: 40px;
}
.btn-submit {
    display: inline-block;
    min-width: 320px;
    padding: 18px 36px;
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    transition: opacity 0.3s, transform 0.2s;
}
.btn-submit:hover {
    opacity: 0.85;
}

/* ==========================================================================
   13. Footer
   ========================================================================== */
footer {
    padding: 40px 48px;
    background-color: #f5f4f0;
    border-top: 1px solid #eae6df;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.72rem;
    color: #777;
}
.footer-left {
    display: flex;
    align-items: center;
    gap: 40px;
}
.footer-logo {
    font-size: 1.4rem;
    font-family: 'Noto Serif JP', serif;
    color: #333;
}
.footer-nav {
    display: flex;
    gap: 20px;
    list-style: none;
}
.footer-right {
    display: flex;
    gap: 20px;
}

/* ==========================================================================
   14. Responsive Design (Mobile / Tablet)
   ========================================================================== */
@media (max-width: 768px) {
    header {
        width: 100%;
        padding: 16px 20px;
        display: block;
    }
    .logo {
        width: 100%;
        text-align: center;
    }
    nav {
        width: 100%;
        margin-top: 20px;
    }
    nav ul {
        justify-content: center;
        font-size: 0.75rem;
        gap: 16px;
    }
    .key-visual {
        min-height: 60vh;
        padding: 80px 20px 60px;
    }
    .kv-content {
        margin-top: 30px; /* モバイルではマージンを解除 */
    }
    .kv-content h1 {
        font-size: 1.6rem;
    }
    .kv-sub {
        font-size: 1.0rem;
        margin-bottom: 32px;
    }
    .subpage-hero {
        padding: 60px 0 40px;
    }
    .subpage-hero h1 {
        font-size: 1.6rem;
    }
    .subpage-lead {
        font-size: 0.88rem;
    }
    .problem-grid,
    .capa-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }
    .intro-section .intro-heading,
    .section-title {
        font-size: 1.4rem;
    }
    .intro-section .intro-text {
        font-size: 0.95rem;
    }
    
    .phase-vertical-wrapper {
        margin-top: 36px;
    }
    .phase-vertical-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 8px;
    }
    .phase-vertical-head {
        min-width: auto;
    }
    .phase-vertical-body p {
        font-size: 0.95rem;
    }
    
    .discover-entry-box {
        padding: 30px 20px;
    }
    .discover-entry-box .entry-title {
        font-size: 1.2rem;
    }
    .discover-entry-box .entry-text p {
        font-size: 0.88rem;
    }
    .phase-card-header {
        padding: 20px 20px 16px;
    }
    .phase-card-title {
        font-size: 1.1rem;
    }
    .phase-card-body {
        padding: 20px;
    }
    .phase-card-action {
        text-align: center;
    }
    .btn-secondary {
        width: 100%;
    }
    .banner-section .banner-title {
        font-size: 1.4rem;
    }
    .banner-section .banner-text {
        font-size: 0.88rem;
    }
    #contact .section-title {
        font-size: 1.4rem;
    }
    #contact .editorial-p {
        font-size: 0.85rem; 
    }
    .section.bg-light {
        padding: 60px 0;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .btn-submit {
        width: 100%;
        min-width: auto;
    }
    footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 30px 20px;
    }
    .footer-left {
        flex-direction: column;
        gap: 16px;
    }
}