/* ==================================================
   NRYS Services Page Styles (Complete Version)
   ================================================== */

/* --- サブヒーローセクション --- */
.hero-sub {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: #fff;
    margin-bottom: 0;
}

/* --- リード文セクション --- */
.approach-intro {
    padding: 100px 10%;
    background-color: #fff;
}

.sub-title {
    display: block;
    text-align: center;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.approach-lead {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.05rem;
    text-align: justify;
    line-height: 2;
}

.approach-lead p {
    margin-bottom: 1.5rem;
}

/* --- 循環図（パターンB）ビジュアル --- */
.visual-model {
    padding: 60px 5% 100px;
}

.model-visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    margin: 0 auto 100px;
}

.hub-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(26, 46, 53, 0.2);
    font-weight: 700;
    font-family: var(--font-serif);
}

/* 循環図の各項目（アンカーリンク） */
.node {
    position: absolute;
    width: 150px;
    text-align: center;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
    text-decoration: none;
    padding: 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 15;
    background-color: rgba(255, 255, 255, 0.8); /* 背景を少し白くして読みやすく */
}

.node:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: scale(1.05);
}

.node-12 { top: 0; left: 50%; transform: translateX(-50%); }
.node-3  { top: 50%; right: -20px; transform: translateY(-50%); }
.node-6  { bottom: 0; left: 50%; transform: translateX(-50%); }
.node-9  { top: 50%; left: -20px; transform: translateY(-50%); }

/* 背景の十字線 */
.line-v, .line-h { position: absolute; background: #eee; z-index: 1; }
.line-v { left: 50%; top: 5%; bottom: 5%; width: 1px; }
.line-h { top: 50%; left: 5%; right: 5%; height: 1px; }

/* --- 専門性に関する補足ボックス --- */
.partner-note-box {
    max-width: 800px;
    margin: 0 auto 100px;
    padding: 40px;
    background-color: var(--light-bg);
    border-left: 5px solid var(--accent-color);
    text-align: left;
    font-size: 1rem;
    line-height: 1.8;
}

/* --- 詳細サービスグリッド --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-box {
    background: #fff;
    border: 1px solid #eee;
    padding: 50px 40px;
    border-radius: 4px;
    transition: all 0.3s ease;
    scroll-margin-top: 120px; /* 固定ヘッダー対策 */
}

.service-box:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border-color: var(--accent-color);
}

.box-clock {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 2px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    display: inline-block;
    letter-spacing: 0.1em;
}

.service-box h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    padding: 25px 0 0;
    margin: 0;
    border-top: 1px solid #f0f0f0;
}

.service-list li {
    font-size: 0.9rem;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    color: #555;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

/* --- レスポンシブ調整 --- */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr; }
    .node { width: 130px; font-size: 0.8rem; }
}

@media (max-width: 600px) {
    .model-visual { width: 300px; height: 350px; }
    .hub-core { width: 140px; height: 140px; font-size: 0.85rem; }
    .node { width: 110px; padding: 8px; }
    .node-3 { right: -10px; }
    .node-9 { left: -10px; }
}