/* ========================================
   非婚プランページ専用スタイル
   ======================================== */

/* カラー変数 */
:root {
    --nm-primary: #25B15F;
    --nm-text: #4D4D4D;
    --nm-text-secondary: #808080;
    --nm-white: #FFFFFF;
    --nm-black: #000000;
    --nm-border: #B3B3B3;
    --nm-border-light: #CCCCCC;
    --nm-border-accent: #F6F6F6;
    --nm-gradient-start: #4D4D4D;
    --nm-gradient-end: #808080;
    --nm-orange: rgba(250, 166, 66, 0.8);
    --nm-bg-contact: url('../images/couple-hero.jpg');
}

/* 基本リセット */
.nm-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   ヘッダー
   ======================================== */
.nm-header {
    background: var(--nm-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* 連絡先情報バー */
.nm-contact-bar {
    border-bottom: 1px solid var(--nm-border-accent);
}

.nm-contact-bar .nm-container {
    padding: 16px 24px;
}

.nm-contact-info {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}

.nm-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--nm-text-secondary);
    font-size: 16px;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.3s;
}

.nm-contact-item:hover {
    color: var(--nm-primary);
}

/* メインヘッダー */
.nm-header-main .nm-container {
    padding: 16px 32px;
}

.nm-header-content {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nm-logo-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--nm-primary);
}

.nm-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    justify-content: flex-end;
}

.nm-nav-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--nm-text);
    text-decoration: none;
    padding: 10px 0;
    transition: color 0.3s;
}

.nm-nav-link:hover {
    color: var(--nm-primary);
}

.nm-btn-contact {
    background-color: var(--nm-primary);
    color: var(--nm-white);
    padding: 12px 16px;
    border-radius: 1000px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--nm-border-accent);
    text-decoration: none;
    transition: all 0.3s;
}

.nm-btn-contact:hover {
    background-color: #1e8e4a;
    transform: translateY(-2px);
}

.nm-mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* ========================================
   ヒーローセクション
   ======================================== */
.nm-hero {
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.nm-hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ========================================
   お悩みセクション
   ======================================== */
.nm-worries {
    background: linear-gradient(180deg, var(--nm-gradient-start) 0%, var(--nm-gradient-end) 100%);
    padding: 32px 48px;
}

.nm-worries-title {
    font-size: 30px;
    font-weight: 600;
    color: var(--nm-white);
    text-align: center;
    margin-bottom: 40px;
}

.nm-highlight-worry {
    font-size: 40px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

.nm-worries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.nm-worry-card {
    background: var(--nm-white);
    border-radius: 48px;
    padding: 16px 24px;
    box-shadow: -10px -10px 4px 0px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.nm-worry-icon {
    width: 120px;
    height: 120px;
    border-radius: 1000px;
    box-shadow: inset 4px 4px 6px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.nm-worry-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nm-worry-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--nm-black);
    text-align: center;
    margin: 0;
}

/* ========================================
   非婚プラン説明セクション
   ======================================== */
.nm-plan-intro {
    padding: 40px 0 0;
}

.nm-plan-intro .nm-container {
    background: var(--nm-white);
}

.nm-plan-header {
    padding: 0 48px;
}

.nm-plan-logo-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 8px 16px;
}

.nm-logo-symbol {
    width: 26.61px;
    height: 24px;
}

.nm-plan-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--nm-text-secondary);
}

.nm-plan-main-content {
    display: flex;
    gap: 32px;
    padding-bottom: 24px;
}

.nm-plan-description {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nm-plan-desc-header {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nm-plan-line {
    width: 8px;
    background-color: var(--nm-primary);
    border-radius: 1000px;
    align-self: stretch;
}

.nm-plan-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.107em;
    color: var(--nm-black);
    margin: 0;
}

.nm-plan-text {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--nm-black);
    margin: 0;
}

.nm-benefits {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nm-benefit-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 16px;
    background: var(--nm-white);
    border-radius: 1000px;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.08);
}

.nm-benefit-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.nm-benefit-content {
    flex: 1;
}

.nm-benefit-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 2.1;
    letter-spacing: 0.15em;
    color: var(--nm-black);
    margin: 0 0 8px;
}

.nm-benefit-text {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--nm-black);
    margin: 0;
}

/* ========================================
   婚活市場の問題セクション
   ======================================== */
.nm-market-problems {
    padding: 0 48px 24px;
}

.nm-market-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.107em;
    color: var(--nm-black);
    text-align: center;
    margin: 0 0 24px;
}

.nm-highlight-problem {
    font-size: 36px;
    color: #FF8800;
}

.nm-venn-diagram {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 24px;
}

.nm-venn-circles {
    display: flex;
    justify-content: center;
}

.nm-venn-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--nm-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 29px 0;
}

.nm-venn-circle:nth-child(2) {
    margin-left: -50px;
}

.nm-venn-circle span {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.75;
    letter-spacing: 0.042em;
    color: var(--nm-white);
}

.nm-problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.nm-problem-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--nm-border-light);
    border-top: 8px solid var(--nm-border-light);
}

.nm-problem-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.nm-problem-title {
    font-size: 16px;
    font-weight: 300;
    color: var(--nm-black);
    text-align: center;
    margin: 0;
}

.nm-problem-line {
    width: 65px;
    height: 2px;
    background-color: var(--nm-border-light);
}

.nm-problem-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    width: 100%;
}

.nm-problem-text {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--nm-black);
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.nm-problem-text i {
    color: #FF2020;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.nm-text-red {
    color: #FF2020;
    font-weight: 600;
}

/* ========================================
   強調テキスト
   ======================================== */
.nm-emphasis {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.nm-decoration-arrow {
    width: 100%;
    height: auto;
}

.nm-emphasis-text {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.107em;
    color: var(--nm-black);
    text-align: center;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.05);
    margin: 0;
}

.nm-text-light {
    font-size: 20px;
    font-weight: 300;
}

.nm-text-light strong {
    font-weight: 600;
}

.nm-text-problem {
    font-size: 32px;
    font-weight: 700;
    color: #FF8800;
}

.nm-br-sp-only {
    display: none;
}

/* ========================================
   ソリューションセクション
   ======================================== */
.nm-solution {
    padding: 16px 0 56px;
    background-color: #D5F6E3;
}

.nm-solution .nm-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.nm-solution-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.nm-solution-lead {
    font-size: 20px;
    font-weight: 600;
    line-height: 2.33;
    letter-spacing: 0.167em;
    color: var(--nm-black);
    text-align: center;
    margin: 0;
}

.nm-solution-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--nm-primary);
    border-radius: 8px;
}

.nm-solution-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.05em;
    color: var(--nm-white);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nm-solution-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.nm-solution-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.nm-solution-desc {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.625;
    letter-spacing: 0.063em;
    color: var(--nm-black);
    text-align: center;
    margin: 0;
}

.nm-solution-detail {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--nm-black);
    text-align: center;
    margin: 0;
}

.nm-solution-images {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nm-solution-img {
    width: 100%;
    height: auto;
}

/* ========================================
   お問い合わせフォーム
   ======================================== */
.nm-contact {
    padding: 40px 80px;
    background-image: url('../images/contact-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.nm-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.nm-contact > .nm-container {
    position: relative;
    z-index: 1;
}

.nm-contact-box {
    background: rgba(255, 255, 255, 0.8);
    padding: 48px 24px;
    border-radius: 8px;
}

.nm-contact-intro {
    margin-bottom: 40px;
}

.nm-contact-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--nm-black);
    text-align: center;
    margin: 0 0 24px;
}

.nm-contact-note {
    font-size: 16px;
    font-weight: 300;
    color: var(--nm-black);
    text-align: center;
    margin: 0;
}

.nm-contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nm-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nm-form-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--nm-text);
}

.nm-form-input {
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--nm-border);
    border-radius: 4px;
    font-size: 14px;
}

.nm-form-input:focus {
    outline: none;
    border-color: var(--nm-primary);
}

.nm-form-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nm-form-checkbox input[type="checkbox"] {
    width: 24px;
    height: 24px;
    border: 1px solid var(--nm-border);
    border-radius: 4px;
    cursor: pointer;
}

.nm-form-checkbox label {
    font-size: 16px;
    font-weight: 300;
    color: var(--nm-text);
    cursor: pointer;
}

.nm-btn-submit {
    width: 144px;
    padding: 12px 16px;
    background-color: var(--nm-primary);
    color: var(--nm-white);
    border: 2px solid var(--nm-border-accent);
    border-radius: 1000px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    align-self: center;
    transition: all 0.3s;
}

.nm-btn-submit:hover {
    background-color: #1e8e4a;
    transform: translateY(-2px);
}

/* ========================================
   プライバシーポリシーモーダル
   ======================================== */
.nm-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s;
}

.nm-modal.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.nm-modal-content {
    background-color: var(--nm-white);
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nm-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--nm-border-light);
}

.nm-modal-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--nm-primary);
    margin: 0;
}

.nm-modal-close {
    font-size: 32px;
    font-weight: 300;
    color: var(--nm-text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.nm-modal-close:hover {
    color: var(--nm-text);
}

.nm-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.nm-modal-lead {
    font-size: 16px;
    font-weight: 400;
    color: var(--nm-text);
    margin-bottom: 24px;
    line-height: 1.6;
}

.nm-modal-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--nm-primary);
    margin: 24px 0 12px;
}

.nm-modal-body h3:first-of-type {
    margin-top: 0;
}

.nm-modal-body p {
    font-size: 14px;
    font-weight: 300;
    color: var(--nm-text);
    line-height: 1.6;
    margin-bottom: 16px;
}

.nm-modal-body ul {
    margin: 12px 0;
    padding-left: 24px;
}

.nm-modal-body ul li {
    font-size: 14px;
    font-weight: 300;
    color: var(--nm-text);
    line-height: 1.6;
    margin-bottom: 8px;
}

.nm-modal-date {
    font-size: 14px;
    text-align: right;
    margin-top: 32px;
}

/* ========================================
   フッター
   ======================================== */
.nm-footer {
    background: #212529;
    padding: 24px 8px;
}

.nm-footer-text {
    font-size: 12px;
    font-weight: 300;
    color: var(--nm-white);
    text-align: center;
    margin: 0;
}

/* ========================================
   レスポンシブ対応（モバイル）
   ======================================== */
@media (max-width: 768px) {
    .nm-container {
        padding: 0 16px;
    }

    /* ヘッダー */
    .nm-contact-bar .nm-container {
        display: none;
    }

    .nm-header-main .nm-container {
        padding: 8px;
    }

    .nm-header-content {
        gap: 32px;
    }

    .nm-logo-text {
        font-size: 18px;
    }

    .nm-nav {
        display: none;
    }

    .nm-btn-contact {
        display: none;
    }

    .nm-mobile-menu-btn {
        display: block;
    }

    /* ヒーロー */
    .nm-hero {
        height: 163.89px;
    }

    /* お悩み */
    .nm-worries {
        padding: 32px 16px;
    }

    .nm-worries-title {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .nm-highlight-worry {
        font-size: 24px;
    }

    .nm-worries-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nm-worry-card {
        padding: 12px;
        flex-direction: row;
        gap: 12px;
    }

    .nm-worry-icon {
        width: 56px;
        height: 56px;
        flex-shrink: 0;
    }

    .nm-worry-text {
        text-align: left;
    }

    /* 非婚プラン */
    .nm-plan-intro {
        padding: 40px 0 0;
    }

    .nm-plan-header {
        padding: 0 16px;
    }

    .nm-plan-logo-title {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .nm-plan-main-content {
        flex-direction: column;
        gap: 24px;
    }

    .nm-plan-desc-header {
        flex-direction: row;
        align-items: stretch;
        gap: 16px;
    }

    .nm-plan-line {
        width: 8px;
        height: auto;
        align-self: stretch;
    }

    .nm-plan-title {
        font-size: 16px;
        line-height: 1.875;
        letter-spacing: 0.188em;
    }

    .nm-plan-text {
        font-size: 14px;
    }

    .nm-benefit-title {
        font-size: 14px;
        line-height: 1.857;
        letter-spacing: 0.214em;
    }

    .nm-benefit-text {
        font-size: 12px;
    }

    /* 婚活市場の問題 */
    .nm-market-problems {
        padding: 0 16px 24px;
    }

    .nm-market-title {
        font-size: 14px;
        text-align: center;
    }

    .nm-highlight-problem {
        font-size: 18px;
    }

    .nm-venn-circle {
        width: 136px;
        height: 136px;
    }

    .nm-venn-circle:nth-child(2) {
        margin-left: -30px;
    }

    .nm-venn-circle span {
        font-size: 16px;
        line-height: 2.625;
        letter-spacing: 0.063em;
    }

    .nm-problems-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .nm-problem-box {
        padding: 16px 8px;
    }

    .nm-problem-title {
        font-size: 16px;
        font-weight: 300;
    }

    .nm-problem-text {
        font-size: 14px;
    }

    /* 強調テキスト */
    .nm-emphasis-text {
        font-size: 18px;
        line-height: 1.4;
    }

    .nm-text-light {
        font-size: 16px;
    }

    .nm-text-problem {
        font-size: 22px;
    }

    .nm-br-sp-only {
        display: inline;
    }

    /* ソリューション */
    .nm-solution {
        padding: 16px 0 56px;
    }

    .nm-solution .nm-container {
        padding: 0;
    }

    .nm-solution-images {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .nm-solution-lead {
        font-size: 18px;
        line-height: 2.33;
        letter-spacing: 0.167em;
    }

    .nm-solution-brand {
        padding: 8px 16px;
    }

    .nm-solution-title {
        font-size: 18px;
    }

    .nm-solution-desc {
        font-size: 16px;
        line-height: 1.625;
        letter-spacing: 0.063em;
    }

    .nm-solution-detail {
        font-size: 12px;
    }

    .nm-solution-images {
        gap: 0;
    }

    /* お問い合わせ */
    .nm-contact {
        padding: 16px;
    }

    .nm-contact-box {
        padding: 48px 24px;
    }

    .nm-contact-title {
        font-size: 18px;
    }

    .nm-contact-note {
        font-size: 14px;
    }

    .nm-form-group {
        gap: 8px;
    }

    .nm-form-label {
        font-size: 14px;
        font-weight: 600;
    }

    .nm-form-input {
        height: 32px;
    }

    .nm-form-checkbox label {
        font-size: 14px;
    }
}
