/**
 * Wellness SR - Main Stylesheet
 *
 * @package Wellness_SR
 */

/* =========================================================================
   CSS Variables
   ========================================================================= */
:root {
    --color-primary: #48d1cc;
    --color-primary-light: #5DDDD8;
    --color-primary-dark: #2a8a86;
    --color-primary-text: #2a2d32;
    --color-accent: #ff9f1c;
    --color-accent-light: #FFB84D;
    --color-white: #FFFFFF;
    --color-bg-light: #F8F9FA;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-heading: #2a2d32;
    --color-border: #DEE2E6;
    --font-heading: 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', 'HG明朝E', serif;
    --font-main: 'Noto Sans JP', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
    --header-height: 90px;
}

/* =========================================================================
   Reset & Base
   ========================================================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 17px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary-text);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.4;
}

/* =========================================================================
   Container
   ========================================================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-main);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary-dark);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
}

.btn-gold {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.btn-gold:hover {
    background-color: var(--color-accent-light);
    border-color: var(--color-accent-light);
    color: var(--color-white);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary-text);
    border-color: var(--color-primary-dark);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.0625rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8125rem;
}

/* =========================================================================
   Header
   ========================================================================= */
/* Top Bar above header */
.top-bar {
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: 0.9rem;
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.top-bar-tagline {
    font-weight: 500;
    letter-spacing: 0.03em;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-social {
    display: flex;
    gap: 12px;
}

.top-bar-social a {
    color: var(--color-white);
    opacity: 0.8;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
}

.top-bar-social a:hover {
    opacity: 1;
}

.top-bar-social svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-white);
    height: var(--header-height);
    transition: box-shadow 0.3s ease;
}

body.admin-bar .site-header {
    top: 32px;
}

.site-header.is-scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo */
.site-logo {
    flex-shrink: 0;
}

.site-logo a {
    display: flex;
    align-items: center;
}

.site-logo .custom-logo {
    max-height: 50px;
    width: auto;
}

.logo-fallback {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-primary-text);
}

.logo-fallback:hover {
    color: var(--color-primary-text);
    opacity: 0.8;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 8px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    font-family: var(--font-heading);
}

.logo-main {
    font-size: 0.875rem;
    font-weight: 700;
    color: #48d1cc;
}

.logo-sub {
    font-size: 0.875rem;
    font-weight: 700;
    color: #48d1cc;
}

/* Navigation */
.global-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu .menu-item a {
    display: block;
    padding: 8px 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu .menu-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-menu .menu-item a:hover {
    color: var(--color-primary-text);
}

.nav-menu .menu-item a:hover::after {
    width: 80%;
}

.nav-menu .menu-item.current-menu-item a::after {
    width: 80%;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header-phone {
    text-align: center;
}

.header-phone a {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--color-primary-text);
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
}

.header-phone a:hover {
    color: var(--color-accent);
}

.phone-icon {
    font-size: 1.25rem;
    color: #2a2d32 !important;
    font-variant-emoji: text;
}

.phone-icon svg {
    width: 1.1em;
    height: 1.1em;
    fill: #2a2d32;
    vertical-align: -0.1em;
}

.phone-note {
    display: block;
    font-size: 0.6875rem;
    color: var(--color-text-light);
    margin-top: -2px;
}

.header-contact-btn {
    padding: 12px 28px;
    font-size: 0.8125rem;
    white-space: nowrap;
    background: linear-gradient(135deg, #44D1CC 0%, #27464A 100%);
    border: 0;
    outline: none;
    box-shadow: none;
    color: var(--color-white);
    border-radius: 6px;
    letter-spacing: 0.04em;
}

.header-contact-btn:hover {
    background: linear-gradient(135deg, #5DDDD8 0%, #1a3234 100%);
    border: 0;
    box-shadow: none;
    color: var(--color-white);
    transform: translateY(-1px);
}

.header-contact-btn:focus,
.header-contact-btn:active {
    outline: none;
    box-shadow: none;
}

.logo-icon-img {
    height: 44px;
    width: auto;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 6px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================================
   Hero Section - Photos as full background, diagonal overlay on top
   ========================================================================= */
.hero-section {
    position: relative;
    height: 480px;
    overflow: hidden;
}

/* Photo marquee strips = full-width background layer */
.hero-marquee {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
    z-index: 0;
}

.marquee-strip {
    display: flex;
    gap: 4px;
    width: max-content;
}

.marquee-strip-top {
    animation: marquee-right 35s linear infinite;
}

.marquee-strip-bottom {
    animation: marquee-left 35s linear infinite;
}

@keyframes marquee-right {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marquee-left {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.marquee-item {
    flex-shrink: 0;
    width: 360px;
    height: 240px;
    border-radius: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #5DDDD8 0%, #48d1cc 50%, #339994 100%);
    position: relative;
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.marquee-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(42, 138, 134, 0.15);
    pointer-events: none;
}

/* Diagonal overlay - parallelogram shape */
.hero-bg-diagonal {
    position: absolute;
    top: -10%;
    left: 3%;
    width: 39%;
    height: 120%;
    background-color: rgba(72, 209, 204, 0.92);
    transform: skewX(20deg);
    z-index: 1;
}

/* Text content - centered vertically on diagonal */
.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 0 60px;
    height: 100%;
}

.hero-text {
    max-width: 500px;
    color: #2a2d32;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-sub1 {
    font-size: 1.45rem;
    margin-bottom: 12px;
    margin-left: 1rem;
    opacity: 0.9;
}

.hero-sub2 {
    font-size: 1.3rem;
    opacity: 0.85;
    line-height: 1.8;
    margin-top: 1em;
    margin-left: 2rem;
}

.text-gold {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.5rem;
}

/* =========================================================================
   Catchphrase Section
   ========================================================================= */
.catchphrase-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg-light);
}

.catchphrase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/top/catchphrase-bg-business.jpg') center/cover no-repeat;
    opacity: 0.25;
    z-index: 0;
}

.catchphrase-section > .container {
    position: relative;
    z-index: 1;
}

/* Mobile-only break / Desktop-only break utilities */
.sp-only { display: none; }

.hero-sub2-line2 {
    margin-left: 3em;
}

.catchphrase-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-heading);
    letter-spacing: 0.1em;
    line-height: 1.6;
    margin-bottom: 50px;
}

/* =========================================================================
   Section Common
   ========================================================================= */
.section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary-text);
    margin: 0 auto 44px;
    line-height: 1.4;
    padding-bottom: 20px;
    width: fit-content;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #48d1cc;
}

.section-title-group {
    text-align: center;
    margin-bottom: 50px;
}

.section-title-group .section-title {
    margin-bottom: 8px;
}

.section-title-en {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* =========================================================================
   Intro Section
   ========================================================================= */
.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.intro-text p {
    font-size: 1.0625rem;
    line-height: 2;
    margin-bottom: 20px;
    color: var(--color-text);
}

.intro-text p:last-child {
    margin-bottom: 0;
}

/* =========================================================================
   Concerns Section
   ========================================================================= */
.concerns-section {
    padding: 100px 0;
    background-color: var(--color-bg-light);
}

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

.concern-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.concern-bubble {
    position: relative;
    background-color: var(--color-white);
    border: 2px solid var(--color-primary-dark);
    border-radius: 16px;
    padding: 24px 16px;
    margin-bottom: 20px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.concern-bubble p {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-primary-text);
    line-height: 1.6;
}

.concern-bubble-arrow {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid var(--color-primary-dark);
}

.concern-bubble-arrow::before {
    content: '';
    position: absolute;
    top: -14px;
    left: -12px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid var(--color-white);
}

.concern-person {
    display: flex;
    align-items: center;
    justify-content: center;
}

.concern-person-img {
    width: auto;
    height: 120px;
    object-fit: contain;
}

.concern-person-icon {
    opacity: 0.7;
}

/* =========================================================================
   Strengths Section
   ========================================================================= */
.strengths-section {
    padding: 100px 0;
    background-color: rgba(72, 209, 204, 0.05);
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.strength-card {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 440px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strength-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.10);
}

.strength-header {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0 8px;
    align-items: start;
    padding: 28px 24px 20px;
    min-height: 150px;
}

.strength-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary-text);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.strength-num::after {
    content: ' /';
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.5;
}

.strength-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary-text);
    line-height: 1.65;
    padding-top: 6px;
}

.strength-image {
    flex: 1;
    width: 100%;
    min-height: 200px;
    overflow: hidden;
}

.strength-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card 01 / 03: larger title */
.strengths-grid .strength-card:nth-child(1) .strength-title,
.strengths-grid .strength-card:nth-child(3) .strength-title {
    font-size: 1.35rem;
    line-height: 1.5;
}

/* Card 02: medium title */
.strengths-grid .strength-card:nth-child(2) .strength-title {
    font-size: 1.2rem;
    line-height: 1.5;
}

/* Toggle button */
.strength-toggle-btn {
    display: block;
    width: calc(100% - 48px);
    margin: 20px 24px;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease;
    font-family: inherit;
}

.strength-toggle-btn:hover,
.strength-toggle-btn.is-open {
    background: var(--color-primary);
    color: #fff;
}

/* Description: hidden by default, toggled by JS */
.strength-desc {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.8;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.strength-desc.is-open {
    max-height: 600px;
    padding: 4px 24px 24px;
}

.strength-desc p {
    margin-bottom: 10px;
}

.strength-desc p:last-child {
    margin-bottom: 0;
}

/* =========================================================================
   Greeting Section
   ========================================================================= */
.greeting-section {
    padding: 80px 0 100px;
    background: rgba(72, 209, 204, 0.07);
    overflow-x: hidden;
}

.greeting-content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    align-items: start;
    position: relative;
}

/* 横長ターコイズ帯 — 写真の80px下から180px */
.greeting-content::before {
    content: '';
    position: absolute;
    left: calc(-50vw + 50%);
    right: calc(-50vw + 50%);
    top: 80px;
    height: 180px;
    background: #48d1cc;
    z-index: 0;
}

.greeting-photo {
    position: relative;
    z-index: 2;
}

.greeting-photo img {
    width: 100%;
    display: block;
    border-radius: 2px;
}

.greeting-text {
    position: relative;
    z-index: 3;
    background: #fff;
    padding: 36px 40px;
    box-shadow: 12px 12px 0 rgba(72, 209, 204, 0.25), 0 2px 20px rgba(0, 0, 0, 0.06);
    margin-top: 60px;
    margin-left: -30px;
    align-self: start;
}

.greeting-profile {
    margin-top: 50px;
    padding: 0;
    background: #fff;
    border-radius: 12px;
    border: 2px solid #48d1cc;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.greeting-profile-name {
    background: rgba(72, 209, 204, 0.15);
    padding: 20px 40px;
    border-bottom: 1px solid rgba(72, 209, 204, 0.35);
    text-align: center;
    margin-bottom: 0;
}

.greeting-profile-name .profile-name-en {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    letter-spacing: 0.1em;
    margin-bottom: 2px;
}

.greeting-profile-name .profile-name-ja {
    font-size: 1.375rem;
}

.profile-list-compact {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 20px;
    font-size: 0.9375rem;
    line-height: 1.7;
    padding: 24px 40px;
}

.profile-list-compact dt {
    font-weight: 700;
    color: var(--color-primary-text);
    white-space: nowrap;
}

.profile-list-compact dd {
    color: var(--color-text);
}

.profile-list-compact .profile-career-list li {
    font-size: 0.9375rem;
    padding: 1px 0;
    padding-left: 0;
}

.profile-list-compact .profile-qual-list li,
.profile-list-compact .profile-edu-list li {
    padding-left: 22px;
}

.greeting-text p {
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 20px;
    color: var(--color-text);
}

.greeting-text p:last-child {
    margin-bottom: 0;
}

/* Company page greeting */
.page-template-page-company .greeting-content {
    grid-template-columns: 300px 1fr;
}

.greeting-photo-name {
    text-align: center;
    margin-top: 12px;
}

.greeting-photo-name .profile-name-en {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    letter-spacing: 0.1em;
    margin-bottom: 2px;
}

.greeting-photo-name .profile-name-ja {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-text);
}

.profile-name-en {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.8;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.profile-name-ja {
    font-size: 1.5rem;
    font-weight: 700;
}

.profile-body {
    padding: 32px;
    background-color: var(--color-white);
}

.profile-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 24px;
}

.profile-list dt {
    font-weight: 700;
    color: var(--color-primary-text);
    font-size: 0.9375rem;
    white-space: nowrap;
}

.profile-list dd {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--color-text);
}

.profile-photo-wrap {
    text-align: center;
    margin-bottom: 24px;
}

.profile-photo {
    max-width: 200px;
    border-radius: 50%;
}

.profile-career-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-career-list li {
    padding: 2px 0;
    position: relative;
    padding-left: 0;
}

.profile-career-list li::before {
    display: none;
}

.profile-qual-list li,
.profile-edu-list li {
    padding-left: 20px;
    position: relative;
}

.profile-qual-list li::before,
.profile-edu-list li::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background-color: #48d1cc;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0.6em;
}

/* =========================================================================
   Service Content Section (Radial Layout)
   ========================================================================= */
.service-section {
    padding: 100px 0;
    background-color: var(--color-white);
}

.service-radial {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 700px;
    margin: 0 auto 40px;
}

.service-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.service-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #48d1cc;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 8px 30px rgba(51, 153, 148, 0.3);
}

.service-center-text {
    color: #2a2d32;
    font-size: 0.8125rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
    padding: 20px;
}

.service-item {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 3px solid var(--color-primary-dark);
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.service-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    filter: brightness(0.97);
    border-width: 4px;
}

.service-type-labor {
    border-color: #48d1cc;
}

.service-type-health {
    border-color: var(--color-accent);
}

.service-item-name {
    font-size: 0.9375rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
    padding: 12px;
    color: #2a2d32;
}

/* Radial positions - centered using calc(50% - half-size) offsets */
.service-item-1  { top: 2%;   left: calc(50% - 70px); }                          /* 健康経営: top center */
.service-item-2  { top: 12%;  left: calc(50% + 180px); }                          /* 産業保健: top right */
.service-item-3  { top: 35%;  left: calc(50% + 250px); }                          /* 労務相談: right */
.service-item-4  { top: 58%;  left: calc(50% + 230px); }                          /* 社会保険: right lower */
.service-item-5  { top: 78%;  left: calc(50% + 140px); }                          /* 就業規則: bottom right */
.service-item-6  { top: 85%;  left: calc(50% - 70px); }                           /* 企業型確定: bottom center */
.service-item-7  { top: 78%;  left: calc(50% - 280px); }                          /* 障害年金: bottom left */
.service-item-8  { top: 58%;  left: calc(50% - 370px); }                          /* 外国人労務: left lower */
.service-item-9  { top: 35%;  left: calc(50% - 390px); }                          /* セミナー: left */
.service-item-10 { top: 12%;  left: calc(50% - 310px); }                          /* ストレスチェック: top left */

/* Legend */
.service-legend {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

.legend-labor .legend-icon {
    color: var(--color-primary-text);
    font-size: 1.25rem;
}

.legend-health .legend-icon {
    color: var(--color-accent);
    font-size: 1.25rem;
}

/* SR Banner - 写真(左) + テキスト(右) */
.sr-banner {
    margin-top: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.sr-banner-link {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.sr-banner-link:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.sr-banner-image {
    flex: 0 0 40%;
    min-height: 120px;
    background: url('../images/top/top-business-jump.webp') center/cover no-repeat;
}

.sr-banner-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 30px;
}

.sr-banner-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary-text);
    text-align: center;
    line-height: 1.5;
}

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
    background-color: #48d1cc;
    color: #2a2d32;
    padding-top: 60px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-info {
    flex: 0 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    background-color: var(--color-accent);
}

.footer-logo .logo-icon-img {
    filter: brightness(0) saturate(100%) invert(62%) sepia(85%) saturate(500%) hue-rotate(350deg) brightness(1.05);
}

.footer-logo .logo-main {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.875rem;
}

.footer-logo .logo-sub {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.875rem;
}

.footer-office-info p {
    font-size: 0.875rem;
    line-height: 1.8;
    margin-bottom: 8px;
    color: #2a2d32;
}

.footer-office-info a {
    color: #2a2d32;
    transition: color 0.3s ease;
}

.footer-office-info a:hover {
    color: #06403E;
}

.footer-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.footer-menu {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 8px 40px;
}

.footer-menu li a {
    font-size: 0.875rem;
    color: #2a2d32;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 4px 0;
}

.footer-menu li a:hover {
    color: #06403E;
}

.footer-bottom {
    border-top: 1px solid rgba(42, 45, 50, 0.2);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom-links {
    margin-bottom: 10px;
}

.footer-bottom-links a {
    font-size: 0.8125rem;
    color: #2a2d32;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #06403E;
}

.copyright {
    font-size: 0.75rem;
    color: rgba(42, 45, 50, 0.7);
}

/* =========================================================================
   Back to Top
   ========================================================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--color-accent);
}

/* =========================================================================
   Page Header (for template pages)
   ========================================================================= */
/* Page Content section title accent */
.page-content .section-title {
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 40px;
}
.page-content .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #48d1cc;
}

/* Keyword green bold class */
.text-keyword-green {
    color: var(--color-primary);
    font-weight: 700;
}

/* SR Service subheading */
.sr-service-subheading {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 24px;
}

/* Contact required note */
.contact-required-note {
    color: #dc3545;
    font-weight: 700;
    font-size: 0.9375rem;
    margin-top: 16px;
}

/* SR Service text-only layout */
.sr-service-text-only {
    max-width: 800px;
    margin: 0 auto;
}

.sr-service-heading {
    font-size: 1.5rem;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-accent);
}

.sr-service-text-only p {
    font-size: 1.0625rem;
    line-height: 2;
    margin-bottom: 20px;
}

.sr-service-text-only .sr-service-list {
    margin: 20px 0 20px 8px;
    padding: 20px 24px;
    background-color: rgba(255, 159, 28, 0.1);
    border-radius: 8px;
    list-style: none;
}

.sr-service-text-only .sr-service-list li {
    padding: 8px 0 8px 20px;
    position: relative;
    font-size: 1rem;
    line-height: 1.8;
}

.sr-service-text-only .sr-service-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 0.5rem;
    top: 14px;
}

/* Seminar card grid */
/* Seminar intro: text left, photo right */
.seminar-intro {
    display: flex;
    gap: 36px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.seminar-intro-body {
    flex: 1;
}

.seminar-intro-photo {
    flex-shrink: 0;
    width: 180px;
}

.seminar-intro-photo img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* Blog section headings (コラム / お知らせ) */
.blog-section-heading {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-primary-text);
    padding: 20px 0;
    margin-bottom: 24px;
    margin-top: 0;
    border-top: 2px solid var(--color-primary-light);
    border-bottom: 2px solid var(--color-primary-light);
}

.blog-section-intro {
    text-align: center;
    margin-bottom: 32px;
}
.blog-section-catchphrase {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 16px;
    padding: 12px 32px;
    border: 2px solid var(--color-accent);
    border-radius: 8px;
    background-color: rgba(255, 159, 28, 0.06);
}
.blog-section-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text);
    max-width: 800px;
    margin: 0 auto;
}

.blog-section + .blog-section {
    margin-top: 60px;
}

.seminar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.seminar-card {
    background: var(--color-white);
    border: 1px solid #48d1cc;
    border-radius: 8px;
    overflow: hidden;
}

.seminar-card-image {
    width: 100%;
    overflow: hidden;
    background: #f8f8f8;
}

.seminar-card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.seminar-card-body {
    padding: 20px;
}

.seminar-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 12px;
    line-height: 1.5;
}

.seminar-card-desc {
    font-size: 0.875rem;
    color: var(--color-text);
    line-height: 1.8;
}

/* Seminar detail button */
.seminar-detail-btn {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 14px 20px;
    background-color: #fff;
    color: #48d1cc;
    border: 2px solid #48d1cc;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    text-align: center;
}
.seminar-detail-btn:hover {
    background-color: #48d1cc;
    color: #fff;
}

/* Seminar flyer modal */
.seminar-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.seminar-modal.is-open {
    display: flex;
}
.seminar-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}
.seminar-modal-content {
    position: relative;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    z-index: 1;
}
.seminar-modal-content img {
    width: 100%;
    height: auto;
    display: block;
}
.seminar-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    z-index: 2;
    line-height: 1;
}
.seminar-modal-close:hover {
    color: #000;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 0.8125rem;
    color: rgba(42, 45, 50, 0.75);
    margin-bottom: 16px;
}

.breadcrumbs a {
    color: rgba(42, 45, 50, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #2a2d32;
}

.breadcrumb-sep {
    margin: 0 8px;
    color: var(--color-border);
}

/* Table of Contents */
.toc {
    background-color: rgba(72, 209, 204, 0.06);
    border: 1px solid #48d1cc;
    border-radius: 8px;
    padding: 24px 28px;
    margin-bottom: 40px;
}

.toc-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary-text);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #48d1cc;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    padding: 6px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9375rem;
}

.toc-list li:last-child {
    border-bottom: none;
}

.toc-list li a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.toc-list li a:hover {
    color: var(--color-primary-text);
}

.toc-list li.toc-h3 {
    padding-left: 20px;
    font-size: 0.875rem;
}

.page-header-section {
    background-color: #48d1cc;
    padding: 45px 0 40px;
    text-align: center;
    margin-top: 0;
}

.page-header-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2a2d32;
    margin-bottom: 8px;
}

.page-header-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* =========================================================================
   Page Content
   ========================================================================= */
.page-content {
    padding: 80px 0;
}

.page-content-inner {
    max-width: 900px;
    margin: 0 auto;
}

/* Page content typography - lists, links, spacing */
.page-content-inner ul,
.page-content-inner ol {
    list-style: disc;
    padding-left: 1.5em;
    margin: 12px 0;
}

.page-content-inner ol {
    list-style: decimal;
}

.page-content-inner li {
    margin-bottom: 4px;
    line-height: 1.8;
}

.page-content-inner a {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.page-content-inner a:hover {
    color: var(--color-accent);
}

.page-content-inner h3 {
    margin-top: 32px;
    margin-bottom: 12px;
}

.page-content-inner h4 {
    margin-top: 20px;
    margin-bottom: 8px;
}

.page-content-inner p {
    margin-bottom: 12px;
    line-height: 1.9;
}

/* Service Grid (for roumu, sangyou pages) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.service-grid-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-grid-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.service-grid-item h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary-text);
    margin-bottom: 12px;
}

.page-template-page-roumu .service-grid-item h3 {
    color: #44d1cc;
}

.page-template-page-sangyou .service-grid-item h3 {
    color: var(--color-accent);
}

.service-grid-item p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

.service-grid-item-image {
    width: 100%;
    height: 200px;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 8px;
}

.page-template-page-roumu .service-grid-item {
    border-color: #48d1cc;
    border-width: 2px;
}

.page-template-page-sangyou .service-grid-item {
    border-color: #FF9F1C;
    border-width: 2px;
}

.page-template-page-sangyou .page-header-section {
    background-color: var(--color-accent);
}

.service-grid-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SR Service two-column layout */
.sr-service-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.sr-service-image {
    flex: 0 0 50%;
    max-width: 50%;
}

.sr-service-image img {
    width: 100%;
    border-radius: 12px;
}

.sr-service-text {
    flex: 1;
    min-width: 0;
}

/* Company info table */
.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

.company-table th,
.company-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(72, 209, 204, 0.45);
    text-align: left;
    font-size: 1rem;
    line-height: 1.8;
}

.company-table th {
    width: 200px;
    font-weight: 700;
    color: var(--color-primary-text);
    background-color: rgba(72, 209, 204, 0.12);
    white-space: nowrap;
}

/* Price Cards */
.price-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.price-card {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.price-card-featured {
    border-color: var(--color-accent);
    border-width: 2px;
}

.price-card-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 24px;
    text-align: center;
}

.price-card-featured .price-card-header {
    background-color: var(--color-accent);
}

.price-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.price-card-price {
    font-size: 1.5rem;
    font-weight: 700;
}

.price-card-body {
    padding: 24px;
    background-color: var(--color-white);
}

.price-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-card-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9375rem;
    color: var(--color-text);
    position: relative;
    padding-left: 20px;
}

.price-card-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.price-card-features li:last-child {
    border-bottom: none;
}

.price-note {
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-align: center;
    margin-top: 16px;
}

/* Contact form */
.contact-form-area {
    max-width: 700px;
    margin: 40px auto 0;
}

/* Contact Form 7 styles */
.wpcf7 {
    max-width: 700px;
    margin: 0 auto;
}

.wpcf7 form p {
    margin: 0 0 16px !important;
    padding: 0 !important;
}

.wpcf7 form p br {
    display: none;
}

.wpcf7 label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-primary-text);
    margin-bottom: 4px !important;
}

.wpcf7 .wpcf7-form-control-wrap {
    display: block;
    margin-top: 4px;
}

.wpcf7 .form-privacy a {
    color: var(--color-primary-dark) !important;
    text-decoration: underline;
}

.wpcf7 .form-privacy a:hover {
    color: var(--color-accent) !important;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    display: block;
    width: 100%;
    padding: 12px 16px;
    margin-top: 0;
    font-family: var(--font-main);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: #f8f9fa;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(72, 209, 204, 0.15);
}

.wpcf7 textarea {
    min-height: 200px;
    resize: vertical;
}

.wpcf7 input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 48px;
    margin-top: 10px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-white);
    background-color: var(--color-accent);
    border: 2px solid var(--color-accent);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.wpcf7 input[type="submit"]:hover {
    background-color: var(--color-accent-light);
    border-color: var(--color-accent-light);
}

.wpcf7 .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.8125rem;
    margin-top: 4px;
}

.wpcf7 .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 16px;
    border-radius: 6px;
    font-size: 0.9375rem;
}

.wpcf7 .wpcf7-validation-errors {
    border-color: #dc3545;
    background-color: #fff5f5;
    color: #dc3545;
}

.wpcf7 .wpcf7-mail-sent-ok {
    border-color: var(--color-primary);
    background-color: #f0fffe;
    color: var(--color-primary-dark);
}


/* =========================================================================
   Blog / Archive
   ========================================================================= */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding: 80px 0;
}

.blog-main {
    min-width: 0;
}

.post-card {
    border: 1px solid rgba(72, 209, 204, 0.4);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    transition: box-shadow 0.3s ease;
}

.post-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.post-card-inner {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.post-card-thumb {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--color-bg-light);
}

.post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.post-card-content {
    flex: 1;
    min-width: 0;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

.post-card-cat {
    display: inline-block;
    padding: 2px 10px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
}

.post-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 8px;
}

.post-card-title a {
    color: var(--color-text);
}

.post-card-title a:hover {
    color: var(--color-primary-text);
}

.post-card-excerpt {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
}

/* Single Post */
.single-content {
    padding: 80px 0;
}

.single-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.single-main {
    min-width: 0;
}

.single-header {
    margin-bottom: 40px;
}

.single-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.single-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary-text);
    line-height: 1.5;
}

.single-body {
    font-size: 1rem;
    line-height: 2;
}

/* h2: 大見出し。下にアクセントカラーの短い線 + 右に薄い全幅線 */
.single-body h2 {
    font-size: 1.5rem;
    margin: 48px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-heading);
    position: relative;
}

.single-body h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--color-primary);
}

/* h3: 左に緑の縦線 */
.single-body h3 {
    font-size: 1.25rem;
    margin: 40px 0 16px;
    padding-left: 16px;
    border-left: 4px solid var(--color-primary);
    color: var(--color-heading);
}

/* h4: 緑背景 + 中央揃え */
.single-body h4 {
    font-size: 1.0625rem;
    margin: 32px 0 16px;
    padding: 10px 16px;
    background-color: rgba(72, 209, 204, 0.12);
    text-align: center;
    color: var(--color-primary-dark);
    font-weight: 600;
    border-radius: 4px;
}

/* h5: 左に緑縦線 + 下線 */
.single-body h5 {
    font-size: 1rem;
    margin: 28px 0 12px;
    padding: 0 0 8px 12px;
    border-left: 3px solid var(--color-primary);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-heading);
    font-weight: 600;
}

/* h6: 緑丸 + 小さめテキスト */
.single-body h6 {
    font-size: 0.875rem;
    margin: 24px 0 10px;
    color: var(--color-primary-dark);
    font-weight: 600;
}

.single-body h6::before {
    content: '●';
    font-size: 0.5rem;
    margin-right: 6px;
    vertical-align: middle;
}

.single-body p {
    margin-bottom: 20px;
}

.single-body ul,
.single-body ol {
    margin: 0 0 20px 24px;
    list-style: disc;
}

.single-body ol {
    list-style: decimal;
}

.single-body blockquote {
    border-left: 4px solid var(--color-accent);
    padding: 20px 24px;
    margin: 24px 0;
    background-color: var(--color-bg-light);
    font-style: italic;
}

.post-navigation {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
}

.post-navigation a {
    font-size: 0.9375rem;
    font-weight: 600;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.widget {
    margin-bottom: 30px;
    padding: 20px 0;
    background-color: transparent;
    border-radius: 0;
}

.widget-title,
.sidebar h2,
.sidebar .wp-block-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 16px;
    padding: 12px 16px;
    background-color: rgba(72, 209, 204, 0.08);
    border-bottom: 2px solid #48d1cc;
    border-left: 4px solid #48d1cc;
}

/* Parent list items: solid border */
.widget > ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget > ul > li {
    padding: 14px 8px;
    border-bottom: 1px solid rgba(72, 209, 204, 0.3);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.widget > ul > li:last-child {
    border-bottom: 1px solid rgba(72, 209, 204, 0.3);
}

/* Child list items: dashed border + indent */
.widget ul ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul ul li {
    padding: 10px 8px 10px 16px;
    border-bottom: 1px dashed var(--color-border);
    font-size: 0.875rem;
    line-height: 1.6;
}

.widget ul ul ul li {
    padding-left: 32px;
}

.widget ul ul ul ul li {
    padding-left: 48px;
}

.widget ul li a {
    color: var(--color-text);
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget ul li a:hover {
    color: #48d1cc;
}

/* Block widget support (WordPress block-based widgets) */
.sidebar .wp-block-categories-list,
.sidebar .wp-block-latest-posts__list,
.sidebar .wp-block-archives-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .wp-block-categories-list li,
.sidebar .wp-block-latest-posts__list li,
.sidebar .wp-block-archives-list li {
    padding: 12px 8px;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.sidebar .wp-block-categories-list li:last-child,
.sidebar .wp-block-latest-posts__list li:last-child,
.sidebar .wp-block-archives-list li:last-child {
    border-bottom: 1px solid var(--color-border);
}

.sidebar .wp-block-categories-list li a,
.sidebar .wp-block-latest-posts__list li a,
.sidebar .wp-block-archives-list li a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar .wp-block-categories-list li a:hover,
.sidebar .wp-block-latest-posts__list li a:hover,
.sidebar .wp-block-archives-list li a:hover {
    color: var(--color-primary-dark);
}

/* Block widget child categories */
.sidebar .wp-block-categories-list .children {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .wp-block-categories-list .children li {
    padding-left: 16px;
    border-bottom: 1px dashed var(--color-border);
    font-size: 0.875rem;
}

/* After-content widget area */
.after-content-widgets {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.after-content-widgets .widget:last-child {
    margin-bottom: 0;
}

/* =========================================================================
   404 Page
   ========================================================================= */
.error-404 {
    text-align: center;
    padding: 120px 20px;
    padding-top: calc(var(--header-height) + 120px);
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-404-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--color-primary-text);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: -20px;
}

.error-404-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-text);
    margin-bottom: 16px;
}

.error-404-text {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
    max-width: 500px;
}

/* =========================================================================
   Scroll Animations
   ========================================================================= */
.animate-target {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.concerns-grid .animate-target:nth-child(2) { transition-delay: 0.1s; }
.concerns-grid .animate-target:nth-child(3) { transition-delay: 0.2s; }
.concerns-grid .animate-target:nth-child(4) { transition-delay: 0.3s; }
.strengths-grid .animate-target:nth-child(2) { transition-delay: 0.15s; }
.strengths-grid .animate-target:nth-child(3) { transition-delay: 0.3s; }

/* =========================================================================
   Mobile Menu CTA & Overlay (hidden on desktop)
   ========================================================================= */
.nav-mobile-cta {
    display: none;
}

.nav-mobile-social {
    display: none;
}

.menu-overlay {
    display: none;
}

/* =========================================================================
   Responsive - Tablet (max-width: 1280px)
   ========================================================================= */
@media (max-width: 1280px) {
    :root {
        --header-height: 70px;
    }

    /* Top bar: show tagline only on mobile */
    .top-bar {
        display: block;
    }

    body.admin-bar .top-bar {
        /* no change needed */
    }

    .top-bar-inner {
        justify-content: center;
        padding: 6px 16px;
    }

    .top-bar-tagline {
        font-size: 0.5625rem;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .top-bar-right {
        display: none;
    }

    /* Show hamburger, hide desktop nav and header-right */
    .hamburger {
        display: flex;
    }

    .global-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        height: 100dvh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 24px 40px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .global-nav.is-open {
        right: 0;
    }

    /* Menu overlay */
    .menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .menu-overlay.is-visible {
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-menu .menu-item a {
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(72, 209, 204, 0.35);
    }

    .nav-menu .menu-item a::after {
        display: none;
    }

    /* Mobile CTA inside hamburger menu */
    .nav-mobile-cta {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
        padding-top: 24px;
        border-top: 1px solid var(--color-border);
    }

    .nav-mobile-social {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--color-border);
    }

    .nav-mobile-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        color: var(--color-text);
        transition: color 0.3s ease;
    }

    .nav-mobile-social a:hover {
        color: var(--color-accent);
    }

    .nav-mobile-social svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }

    .nav-mobile-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--color-primary-text);
        padding: 12px;
        border: 2px solid #48d1cc;
        border-radius: 8px;
        text-decoration: none;
    }

    .nav-mobile-phone .phone-icon {
        font-size: 1.375rem;
    }

    .nav-mobile-contact {
        text-align: center;
        padding: 13px 14px;
        font-size: 0.9375rem;
        font-weight: 600;
        background: linear-gradient(135deg, #44D1CC 0%, #27464A 100%);
        border: 0;
        border-radius: 6px;
        color: var(--color-white);
        letter-spacing: 0.04em;
    }

    .header-right {
        display: none;
    }

    /* Hero */
    .hero-section {
        height: 340px;
    }

    .hero-bg-diagonal {
        width: 100%;
        height: 100%;
        top: 0;
        left: -20%;
        transform: skewX(15deg);
    }

    .hero-inner {
        padding: 30px 20px 40px;
    }

    .hero-text {
        max-width: 320px;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-sub1 {
        font-size: 1.0625rem;
    }

    .marquee-item {
        width: 220px;
        height: 160px;
    }

    /* Catchphrase */
    .catchphrase-section {
        padding: 60px 0;
    }

    .catchphrase-text {
        font-size: 1.625rem;
    }

    /* Section common */
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

    .concerns-section,
    .strengths-section,
    .greeting-section,
    .service-section,
    .intro-section,
    .profile-section {
        padding: 70px 0;
    }

    /* Intro inside catchphrase */
    .intro-content {
        flex-direction: column;
        gap: 30px;
    }

    .intro-image {
        flex: 0 0 auto;
        max-width: 360px;
    }

    /* Concerns */
    .concerns-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Strengths */
    .strengths-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Greeting */
    .greeting-content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .greeting-content::before {
        top: 0;
        height: 220px;
    }

    .greeting-photo {
        max-width: 300px;
        margin: 0 auto;
        padding-right: 0;
        position: relative;
        z-index: 2;
    }

    .greeting-text {
        padding: 32px 28px;
        margin-top: 24px;
    }

    .greeting-text::before {
        display: none;
    }

    .greeting-profile {
        padding: 0;
    }

    /* Service radial → flex grid */
    .service-radial {
        height: auto;
        padding: 20px 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .service-center {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 0 auto 20px;
        width: 100%;
        flex-basis: 100%;
        display: flex;
        justify-content: center;
    }

    .service-center {
        width: 160px;
        height: 160px;
    }

    .service-item {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 120px;
        height: 120px;
    }

    .service-item:hover {
        transform: none !important;
        border-width: 4px;
    }

    .service-lines {
        display: none;
    }

    /* SR Banner */
    .sr-banner-link {
        flex-direction: column;
    }

    .sr-banner-image {
        flex: none;
        min-height: 160px;
    }

    /* Price cards */
    .price-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Service grid (roumu, sangyou) */
    .service-grid {
        grid-template-columns: 1fr;
    }

    /* Blog layout */
    .blog-layout,
    .single-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    /* Seminar intro: stack vertically on mobile */
    .seminar-intro {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .seminar-intro-photo {
        width: 140px;
        margin: 0 auto;
    }

    /* Profile list compact: add padding on mobile */
    .profile-list-compact {
        padding: 24px 20px;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .footer-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-logo {
        justify-content: flex-start;
    }

    .footer-nav {
        width: 100%;
        justify-content: center;
    }

    .footer-menu {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    /* Page header */
    .page-header-section {
        padding-top: 50px;
        padding-bottom: 40px;
    }

    .page-header-title {
        font-size: 1.625rem;
    }

    /* Page content */
    .page-content {
        padding: 60px 0;
    }
}

/* =========================================================================
   Responsive - Mobile (max-width: 768px)
   ========================================================================= */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    /* Header */
    .logo-icon-img {
        height: 36px;
    }

    .logo-main {
        font-size: 1rem;
    }

    .logo-sub {
        font-size: 0.625rem;
    }

    /* Hero */
    .hero-section {
        height: 55svh;
        min-height: 360px;
    }

    .hero-bg-diagonal {
        width: 70%;
        left: -5%;
        transform: skewX(15deg);
    }

    .hero-inner {
        padding: 20px 16px 30px;
    }

    .hero-text {
        max-width: 340px;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
        white-space: nowrap;
    }

    .hero-sub1 {
        font-size: 0.9375rem;
        margin-bottom: 8px;
    }

    .hero-sub2 {
        font-size: 0.875rem;
    }

    .text-gold {
        font-size: 1.25rem;
    }

    .marquee-item {
        width: 180px;
        height: 130px;
    }

    /* Catchphrase */
    .catchphrase-text {
        font-size: 1.375rem;
    }

    .catchphrase-text .section-title {
        font-size: 1.3rem;
    }

    .catchphrase-section {
        padding: 50px 0;
    }

    /* Section common */
    .section-title {
        font-size: 1.25rem;
        margin-bottom: 32px;
    }

    .concerns-section,
    .strengths-section,
    .greeting-section,
    .service-section,
    .intro-section,
    .profile-section {
        padding: 50px 0;
    }

    /* Intro */
    .intro-text p {
        font-size: 0.9375rem;
        line-height: 1.9;
    }

    /* Concerns */
    .concern-bubble {
        padding: 20px 18px;
        min-height: 100px;
    }

    .concern-bubble p {
        font-size: 0.8125rem;
    }

    /* Strengths */
    .strengths-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .strength-card:last-child {
        max-width: none;
        grid-column: auto;
    }

    .strength-card:hover {
        transform: none;
    }

    .strength-header {
        padding: 20px 18px 14px;
    }

    .strength-num {
        font-size: 1.5rem;
    }

    .strength-image {
        flex: none;
        aspect-ratio: 16 / 9;
        min-height: 0;
    }

    .strength-card {
        min-height: 0;
    }

    .strength-header {
        min-height: 0;
    }

    .strength-desc {
        font-size: 0.8125rem;
    }

    .strength-toggle-btn {
        width: calc(100% - 36px);
        margin: 10px 18px;
    }

    /* Greeting */
    .greeting-content {
        grid-template-columns: 1fr;
        padding: 30px 0 0;
    }

    .greeting-photo {
        max-width: 260px;
        margin: 0 auto;
        padding-right: 0;
    }

    .greeting-text {
        padding: 28px 20px;
        margin-top: 20px;
    }

    .greeting-text p {
        font-size: 0.9375rem;
        line-height: 1.9;
    }

    .profile-body {
        padding: 24px;
    }

    .profile-photo-wrap {
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .profile-photo {
        margin: 0 auto;
    }

    .profile-list {
        grid-template-columns: 1fr;
    }

    .profile-list dt {
        margin-bottom: -8px;
    }

    .profile-list dd {
        font-size: 0.875rem;
    }

    /* Seminar grid - single column on mobile */
    .seminar-grid {
        grid-template-columns: 1fr;
    }

    /* Service radial items */
    .service-item {
        width: 115px;
        height: 115px;
    }

    .service-item-name {
        font-size: 0.9rem;
        padding: 8px;
    }

    .service-center {
        width: 140px;
        height: 140px;
    }

    .service-center-text {
        font-size: 0.75rem;
    }

    /* Service legend */
    .service-legend {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .legend-item {
        font-size: 0.8125rem;
    }

    /* SR Service layout */
    .sr-service-layout {
        flex-direction: column;
    }

    .sr-service-image {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    /* SR Banner */
    .sr-banner {
        margin-top: 40px;
    }

    .sr-banner-body {
        padding: 20px;
    }

    .sr-banner-text {
        font-size: 0.9375rem;
    }

    /* Company table - 2列テーブル(事業所概要等)はブロック表示 */
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 12px 16px;
    }

    .company-table th {
        padding-bottom: 4px;
        border-bottom: none;
    }

    .company-table td {
        padding-top: 4px;
    }

    /* 料金テーブル等の多カラムテーブルは横スクロール（上のblock表示を上書き） */
    .price-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-top: 20px;
    }

    .price-table-wrap .company-table {
        min-width: 600px;
    }

    .price-table-wrap .company-table th,
    .price-table-wrap .company-table td {
        display: table-cell;
        width: auto;
        font-size: 0.8125rem;
        padding: 10px 12px;
        border-bottom: 1px solid var(--color-border);
    }


    .price-table-wrap .company-table th {
        padding-bottom: 10px;
        border-bottom: 1px solid var(--color-border);
    }

    /* Post card - fix overflow */
    .post-card {
        max-width: 100%;
        overflow: hidden;
    }

    .post-card-inner {
        flex-direction: column;
        padding: 16px;
    }

    .post-card-thumb {
        width: 100%;
        height: auto;
    }

    .post-card-thumb img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .post-card-title {
        font-size: 1rem;
    }

    .post-card-excerpt {
        font-size: 0.8125rem;
    }

    /* Show sidebar below content on mobile column page */
    .blog-layout .sidebar {
        border-top: 1px solid var(--color-border);
        padding-top: 30px;
        margin-top: 30px;
    }

    /* Company greeting - single column on mobile */
    .page-template-page-company .greeting-content {
        grid-template-columns: 1fr;
    }

    .page-template-page-company .greeting-photo {
        text-align: center;
    }

    .page-template-page-company .greeting-photo img {
        max-width: 280px;
        margin: 0 auto;
    }

    /* Prevent horizontal scroll on mobile - only on body level */

    /* Single post - fix width overflow */
    .single-title {
        font-size: 1.375rem;
    }

    .single-content {
        padding: 60px 0;
    }

    .single-main {
        max-width: 100%;
    }

    .single-body {
        font-size: 0.9375rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .single-body img {
        max-width: 100%;
        height: auto;
    }

    .single-body h2 {
        font-size: 1.25rem;
        margin: 32px 0 16px;
    }

    .single-body h3 {
        font-size: 1.0625rem;
    }

    .single-body h4 {
        font-size: 0.9375rem;
    }

    /* Show sidebar below content on single post mobile */
    .single-layout .sidebar {
        border-top: 1px solid var(--color-border);
        padding-top: 30px;
        margin-top: 30px;
    }

    /* Price cards */
    .price-card-header {
        padding: 20px;
    }

    .price-card-title {
        font-size: 1rem;
    }

    .price-card-price {
        font-size: 1.25rem;
    }

    .price-card-body {
        padding: 20px;
    }

    /* Contact form */
    .contact-form-area {
        margin-top: 30px;
    }

    /* Footer */
    .footer-menu {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-office-info p {
        font-size: 0.8125rem;
    }

    /* Page header - no extra padding for sticky header */
    .page-header-section {
        padding-top: 40px;
        padding-bottom: 30px;
    }

    .page-header-title {
        font-size: 1.375rem;
    }

    .page-header-subtitle {
        font-size: 0.75rem;
    }

    /* Page content */
    .page-content {
        padding: 50px 0;
    }

    /* Mobile-only line break */
    .sp-only { display: inline; }

    /* Hero: "生産性向上" line - less indent on mobile */
    .hero-sub2-line2 {
        margin-left: 1.5em;
    }

    /* "が支える" right-aligned on mobile */
    .hero-title-sub {
        display: block;
        text-align: right;
    }

    /* "につながる職場づくり" indent right of 生産性向上 */
    .hero-sub2-line3 {
        display: inline-block;
        margin-left: 2em;
    }

    /* Catchphrase: prevent line break */
    .catchphrase-text {
        font-size: 1.25rem;
        letter-spacing: 0.04em;
    }

    /* Price page: prevent title wrap */
    .page-template-page-price .section-title {
        font-size: 1.1rem;
        white-space: nowrap;
    }

    /* Footer menu items: prevent wrap */
    .footer-menu li a {
        white-space: nowrap;
    }

    /* Copyright: break before "All" on mobile */
    .copyright-all {
        display: block;
    }

    /* Blog layout */
    .blog-layout {
        padding: 50px 0;
    }
}

/* =========================================================================
   Responsive - Small Mobile (max-width: 480px)
   ========================================================================= */
@media (max-width: 480px) {
    /* Hero - 画面高75%、画像と斜め図形の下端をそろえる */
    .hero-section {
        height: 75vh;
        height: 75dvh;
        min-height: 480px;
    }

    .hero-marquee {
        justify-content: stretch;
        gap: 3px;
    }

    .marquee-strip {
        flex: 1;
        gap: 3px;
        min-height: 0;
    }

    .hero-bg-diagonal {
        width: 65%;
        left: -5%;
        transform: skewX(12deg);
    }

    .hero-text {
        max-width: 300px;
    }

    .hero-title {
        font-size: 1.25rem;
        margin-bottom: 10px;
        white-space: nowrap;
    }

    .hero-sub1 {
        font-size: 0.875rem;
    }

    .hero-sub2 {
        font-size: 0.8125rem;
    }

    .text-gold {
        font-size: 1.125rem;
    }

    .marquee-item {
        width: 55vw;
        height: 100%;
        border-radius: 0;
    }

    /* Catchphrase */
    .catchphrase-text {
        font-size: 1.15rem;
        letter-spacing: 0.02em;
    }

    /* Hero: further reduce indent */
    .hero-sub2-line2 {
        margin-left: 1em;
    }

    .hero-sub2-line3 {
        margin-left: 1.5em;
    }

    /* Concerns */
    .concerns-grid {
        grid-template-columns: 1fr;
    }

    .concern-bubble {
        min-height: auto;
        padding: 16px 14px;
    }

    /* Service items */
    .service-item-name {
        font-size: 0.6875rem;
        padding: 6px;
    }

    .service-center {
        width: 120px;
        height: 120px;
    }

    .service-center-text {
        font-size: 0.6875rem;
        padding: 14px;
    }

    /* Hamburger menu wider on narrow screens */
    .global-nav {
        width: 85vw;
        max-width: 300px;
    }

    /* Back to top */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    /* SR Banner */
    .sr-banner-link {
        font-size: 0.875rem;
    }

    .sr-banner-body {
        padding: 16px;
    }

    /* 404 */
    .error-404-code {
        font-size: 5rem;
    }

    .error-404 {
        padding: 80px 20px;
        padding-top: calc(var(--header-height) + 80px);
    }

    /* Section title */
    .section-title {
        font-size: 1.3rem;
    }

    /* Greeting photo */
    .greeting-photo-placeholder {
        max-width: 200px;
    }

    /* Profile */
    .profile-header {
        padding: 16px 20px;
    }

    .profile-name-ja {
        font-size: 1.125rem;
    }

    .profile-body {
        padding: 20px;
    }

    /* Seminar grid items */
    .service-grid-item {
        padding: 24px;
    }

    .service-grid-item h3 {
        font-size: 1rem;
    }

    .service-grid-item p {
        font-size: 0.875rem;
    }
}
