/* =========================================================
   共通スタイル
   ========================================================= */
body {
    margin: 0;
    padding: 0;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", serif;
    color: #2c3e50;
    background-color: #ffffff;
    line-height: 1.8;
}

h1,
h2,
h3,
p {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.wp-block-group {
    margin-top: 0;
    margin-bottom: 0;
}

figure.wp-block-image {
    margin: 0;
}

/* =========================================================
   ヘッダー・ナビゲーション・ハンバーガーメニュー
   ========================================================= */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo a {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.office-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: #1a2a3a;
    font-family: "游明朝", YuMincho, serif;
}

.office-location {
    font-size: 0.85rem;
    color: #666;
    font-family: "游ゴシック体", YuGothic, sans-serif;
}

/* PC用ヘッダー右側CTA */
.header-cta,
.header-pc-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-tel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-decoration: none;
}

.tel-label {
    font-size: 0.75rem;
    color: #666;
    font-family: "游ゴシック体", YuGothic, sans-serif;
}

.tel-number {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1a2a3a;
    font-family: sans-serif;
    letter-spacing: 0.05em;
}

.header-tel:hover .tel-number {
    color: #2980b9;
}

.header-phone-btn,
.nav-phone-btn {
    background-color: #e67e22;
    color: #ffffff !important;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s, transform 0.2s;
    display: inline-block;
    text-align: center;
    line-height: 1;
}

.header-phone-btn {
    padding: 12px 20px;
    font-size: 1.15rem;
    font-family: sans-serif;
}

.nav-phone-btn {
    padding: 8px 14px;
    font-size: 0.9rem;
}

.header-phone-btn:hover,
.nav-phone-btn:hover {
    background-color: #d35400;
    transform: translateY(-1px);
}

.header-contact-btn,
.nav-contact-btn {
    background-color: #2980b9;
    color: #ffffff !important;
    border-radius: 4px;
    font-weight: bold;
    font-family: "游ゴシック体", YuGothic, sans-serif;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s, transform 0.2s;
    display: inline-block;
    line-height: 1;
}

.header-contact-btn {
    padding: 12px 20px;
    font-size: 0.95rem;
}

.nav-contact-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.header-contact-btn:hover,
.nav-contact-btn:hover {
    background-color: #1f618d;
    transform: translateY(-1px);
}

/* ハンバーガーメニューボタン（PCでは非表示） */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1a2a3a;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.header-nav {
    display: none;
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.header-nav a {
    font-size: 0.9rem;
    color: #333;
    font-family: "游ゴシック体", YuGothic, sans-serif;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: #2980b9;
}

/* スマホ・タブレット用ナビゲーション（991px以下） */
@media (max-width: 991px) {
    .header-cta,
    .header-pc-actions {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header-logo a {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .header-nav {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 25px 40px;
        box-sizing: border-box;
        transition: right 0.3s ease-in-out;
        z-index: 1050;
        overflow-y: auto;
    }

    .header-nav.active {
        right: 0;
    }

    .sp-menu-tel-box {
        background-color: #f8f9fa;
        padding: 15px;
        border-radius: 6px;
        margin-bottom: 25px;
        text-align: center;
        border-left: 4px solid #2980b9;
    }

    .sp-menu-tel-title {
        font-size: 0.8rem;
        color: #666;
        margin-bottom: 5px;
        font-family: "游ゴシック体", YuGothic, sans-serif;
    }

    .sp-menu-tel-number {
        font-size: 1.2rem;
        font-weight: bold;
        color: #1a2a3a;
        text-decoration: none;
        font-family: sans-serif;
    }

    .header-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .header-nav a {
        font-size: 1rem;
    }

    .nav-phone-btn,
    .nav-contact-btn,
    .nav-contact-btn-sp {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px;
        box-sizing: border-box;
    }

    .nav-contact-btn-sp {
        background-color: #2980b9;
        color: #fff !important;
        border-radius: 4px;
        font-weight: bold;
        margin-top: 10px;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
    }
}

/* =========================================================
   1. ファーストビュー（ヒーロー）
   ========================================================= */
.hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    height: calc(100vh - 70px);
    min-height: 600px;
    background: url('http://fujii-office.jp/wp-content/uploads/2026/11/eyecatch.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 60%, rgba(255, 255, 255, 0.1) 100%);
}

.hero-content {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    z-index: 2;
}

.hero h1 {
    font-size: 2.8rem;
    color: #1a2a3a;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.hero p.lead {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 30px;
    white-space: pre-line;
    font-family: "游ゴシック体", YuGothic, sans-serif;
}

.hero-buttons,
.hero-buttons > .wp-block-group__inner-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-buttons .wp-block-paragraph {
    margin: 0;
    display: inline-block;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.95rem;
    font-family: "游ゴシック体", YuGothic, sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-recruit {
    background-color: #27ae60;
    color: #fff;
}

.btn-contact {
    background-color: #2980b9;
    color: #fff;
}

/* =========================================================
   お知らせ・新着情報セクション
   ========================================================= */
.news-section {
    padding: 60px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    font-family: "游ゴシック体", YuGothic, sans-serif;
}

.news-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.news-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 2px solid #1a2a3a;
    padding-bottom: 10px;
}

.news-title {
    font-size: 1.5rem;
    color: #1a2a3a;
    font-family: "游明朝", YuMincho, serif;
    margin: 0;
}

.news-subtitle {
    font-size: 0.85rem;
    color: #666;
}

.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #f1f2f6;
    gap: 30px;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item time {
    font-size: 0.9rem;
    color: #888;
    white-space: nowrap;
    font-family: sans-serif;
}

.news-link {
    font-size: 0.95rem;
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.6;
}

.news-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* =========================================================
   事務所紹介セクション
   ========================================================= */
.about-intro-section {
    padding: 100px 20px;
    background-color: #fcfbfa;
    border-top: 1px solid #eae5df;
    border-bottom: 1px solid #eae5df;
    font-family: "游ゴシック体", YuGothic, sans-serif;
}

.about-intro-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: #ffffff;
    padding: 60px 50px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
}

.about-intro-inner::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: #2980b9;
}

.intro-sub-title {
    display: block;
    font-size: 0.9rem;
    color: #2980b9;
    letter-spacing: 0.08em;
    margin-bottom: 15px;
    font-weight: bold;
}

.intro-main-title {
    font-size: 2rem;
    color: #1a2a3a;
    font-family: "游明朝", YuMincho, serif;
    margin-bottom: 35px;
    line-height: 1.5;
    letter-spacing: 0.05em;
}

.intro-text-block {
    text-align: left;
    color: #444;
    font-size: 1rem;
    line-height: 2;
}

.intro-text-block p {
    margin-bottom: 25px;
}

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

.award-photo-wrap,
figure.award-photo-wrap {
    text-align: center;
    margin: 40px 0;
    padding: 20px;
    background-color: #f9f8f6;
    border-radius: 6px;
    border: 1px solid #e8e3dc;
}

.award-photo-wrap img,
figure.award-photo-wrap img {
    max-width: 100%;
    height: auto;
    max-height: 380px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    display: inline-block;
}

.award-caption,
figure.award-photo-wrap figcaption.award-caption {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #555;
    font-family: "游明朝", YuMincho, serif;
    letter-spacing: 0.03em;
}

/* =========================================================
   2. 藤井事務所の「3つの強み」
   ========================================================= */
.strengths {
    padding: 100px 20px;
    background-color: #F8F9FA;
    text-align: center;
    font-family: "游ゴシック体", YuGothic, sans-serif;
}

.section-title {
    font-size: 2rem;
    color: #1a2a3a;
    margin-bottom: 20px;
    font-family: "游明朝", YuMincho, serif;
    letter-spacing: 0.05em;
    text-align: center;
}

.strengths-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: 40px auto 0;
    flex-wrap: wrap;
}

.strengths-grid > .wp-block-group__inner-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 40px !important;
    flex-wrap: wrap !important;
    max-width: 1100px;
    margin: 0 auto;
}

.strength-card {
    background: #e8e8e7;
    flex: 0 1 300px;
    width: 300px;
    max-width: 100%;
    text-align: left;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.strength-img-wrap {
    position: relative;
    margin-bottom: 20px;
    text-align: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e8e8e7;
}

.strength-img-wrap > .wp-block-group__inner-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strength-img-wrap figure.wp-block-image {
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strength-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.strength-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 75px;
    font-weight: bold;
    color: rgba(200, 200, 200, 0.5);
    z-index: 0;
    font-family: sans-serif;
    line-height: 1;
}

.strength-card h3 {
    font-size: 1.15rem;
    color: #1a2a3a;
    margin-bottom: 12px;
    font-family: "游明朝", YuMincho, serif;
    text-align: center;
}

.strength-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
}

/* =========================================================
   3. 専門家紹介・求人イントロセクション
   ========================================================= */
.experts-intro {
    padding: 100px 20px;
    background-color: #ffffff;
    font-family: "游ゴシック体", YuGothic, sans-serif;
}

.section-lead {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 50px;
    line-height: 1.8;
}

.experts-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

/* ブロックエディタ内部ラッパーでもカード間の30px間隔を確実に維持 */
.experts-grid > .wp-block-group__inner-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    width: 100%;
}

.experts-grid > .wp-block-group__inner-container > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.expert-card {
    display: flex;
    background: #F8F9FA;
    border-radius: 8px;
    padding: 30px;
    align-items: center;
    gap: 30px;
    border-left: 4px solid #2980b9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.expert-card > .wp-block-group__inner-container {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.expert-avatar,
figure.expert-avatar {
    width: 100px;
    height: 100px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #e0e0e0;
    margin: 0;
}

.expert-avatar img,
figure.expert-avatar img {
    width: 70%;
    height: 70%;
    object-fit: cover;
    border-radius: 50%;
}

.expert-info {
    flex-grow: 1;
}

.expert-role {
    display: inline-block;
    font-size: 0.8rem;
    color: #2980b9;
    font-weight: bold;
    margin-bottom: 6px;
}

.expert-info h3 {
    font-size: 1.3rem;
    color: #1a2a3a;
    margin-bottom: 10px;
    font-family: "游明朝", YuMincho, serif;
}

.expert-info p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
}

/* 採用へのブリッジボックス */
.recruit-intro-box {
    background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
    border-radius: 8px;
    padding: 40px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.recruit-intro-text {
    flex: 1;
    min-width: 280px;
}

.recruit-intro-text h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-family: "游明朝", YuMincho, serif;
}

.recruit-intro-text p {
    font-size: 0.9rem;
    color: #dcdde1;
    line-height: 1.7;
}

.recruit-intro-btn p {
    margin: 0;
}

.btn-recruit-sub {
    display: inline-block;
    background-color: #27ae60;
    color: #fff;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.95rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, background-color 0.2s;
    white-space: nowrap;
}

.btn-recruit-sub:hover {
    transform: translateY(-2px);
    background-color: #219653;
}

/* =========================================================
   沿革（タイムライン）セクション
   ========================================================= */
.history-section {
    padding: 100px 20px;
    background-color: #fcfbfa;
    font-family: "游ゴシック体", YuGothic, sans-serif;
    border-top: 1px solid #eae5df;
    border-bottom: 1px solid #eae5df;
}

.history-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.history-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.history-section .section-sub-title {
    display: block;
    font-size: 0.85rem;
    color: #2980b9;
    font-weight: bold;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.history-section .section-title {
    font-size: 2rem;
    color: #1a2a3a;
    font-family: "游明朝", YuMincho, serif;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.history-section .section-lead {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
}

.history-timeline {
    position: relative;
    padding-left: 40px;
    border-left: 2px solid #cbd5e1;
    margin: 0 auto;
    max-width: 750px;
}

.timeline-item {
    position: relative;
    margin-bottom: 45px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -47px;
    top: 2px;
    width: 14px;
    height: 14px;
    background-color: #2980b9;
    border-radius: 50%;
    border: 3px solid #fcfbfa;
    box-shadow: 0 0 0 2px #2980b9;
}

.timeline-year {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: bold;
    color: #fff;
    background-color: #2980b9;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.timeline-content h3 {
    font-size: 1.2rem;
    color: #1a2a3a;
    font-family: "游明朝", YuMincho, serif;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.8;
}

/* =========================================================
   4. ブログ連携セクション（タイル表示）
   ========================================================= */
.blog-section {
    padding: 100px 20px;
    background-color: #f8f9fa;
    font-family: "游ゴシック体", YuGothic, sans-serif;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.blog-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.blog-thumb {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background-color: #e1e2e6;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.05);
}

.blog-thumb.is-no-image {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 55%, #3a7bd5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    box-sizing: border-box;
    text-align: center;
}

.blog-thumb-title {
    color: #ffffff;
    font-family: "游明朝", YuMincho, serif;
    font-size: 0.95rem;
    font-weight: bold;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease;
}

.blog-card:hover .blog-thumb.is-no-image .blog-thumb-title {
    transform: scale(1.03);
}

.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-content time {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 8px;
}

.blog-content h3 {
    font-size: 1rem;
    color: #1a2a3a;
    font-family: "游明朝", YuMincho, serif;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-content p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-more-wrap {
    text-align: center;
}

.blog-more-wrap p {
    margin: 0;
}

.btn-blog-external {
    display: inline-block;
    background-color: #1a2a3a;
    color: #fff;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-blog-external:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

/* =========================================================
   5. アクセスマップ＆お問い合わせフォームセクション
   ========================================================= */
.access-section {
    padding: 100px 20px;
    background-color: #F8F9FA;
}

.access-wrapper {
    display: flex;
    gap: 40px;
    background: #ffffff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    align-items: center;
    margin-top: 40px;
}

.access-wrapper > .wp-block-group__inner-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 40px !important;
    width: 100% !important;
}

.access-info,
.access-wrapper > .wp-block-group__inner-container > .access-info {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
}

.access-info h3 {
    font-size: 1.4rem;
    color: #1a2a3a;
    margin-bottom: 20px;
    font-family: "游明朝", YuMincho, serif;
    border-bottom: 2px solid #2980b9;
    padding-bottom: 8px;
}

.access-info p {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 12px;
    font-family: "游ゴシック体", YuGothic, sans-serif;
}

.access-note {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #666;
    background: #f1f2f6;
    padding: 12px;
    border-radius: 4px;
}

.map-container,
.access-wrapper > .wp-block-group__inner-container > .map-container {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.map-container iframe,
.access-wrapper .map-container iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    filter: grayscale(60%) contrast(110%) opacity(90%);
}

/* お問い合わせフォーム専用スタイル */
.contact-form-box {
    background: #ffffff;
    border-radius: 8px;
    padding: 50px 40px;
    margin-top: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-form-box h3 {
    font-size: 1.6rem;
    color: #1a2a3a;
    text-align: center;
    margin-bottom: 10px;
    font-family: "游明朝", YuMincho, serif;
}

.form-desc {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 40px;
    font-family: "游ゴシック体", YuGothic, sans-serif;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    font-family: "游ゴシック体", YuGothic, sans-serif;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.required {
    background-color: #e74c3c;
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dcdde1;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #fcfcfc;
    box-sizing: border-box;
    transition: border-color 0.2s, background-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2980b9;
    background-color: #fff;
}

.form-submit {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 40px;
}

.btn-submit {
    background-color: #2980b9;
    color: #fff;
    border: none;
    padding: 16px 40px;
    font-size: 1.05rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, background-color 0.2s;
}

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

.contact-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.contact-form .wpcf7-spinner {
    margin: 12px 0 0;
}

.contact-form .wpcf7-not-valid-tip {
    font-size: 0.85rem;
    margin-top: 6px;
}

/* === Contact Form 7 送信結果メッセージの強調 === */
.wpcf7 form .wpcf7-response-output {
    max-width: 800px;
    margin: 25px auto 0;
    padding: 18px 22px;
    border-radius: 6px;
    border-width: 1px 1px 1px 5px;
    border-style: solid;
    font-family: "游ゴシック体", YuGothic, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.7;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    animation: wpcf7NoticeFadeIn 0.25s ease-out;
}

/* 送信成功時（緑系） */
.wpcf7 form.sent .wpcf7-response-output {
    background-color: #eafaf1;
    border-color: #27ae60;
    color: #1e8449;
}

/* 送信失敗・バリデーションエラー時（赤系） */
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background-color: #fdecea;
    border-color: #e74c3c;
    color: #922b21;
}

@keyframes wpcf7NoticeFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   フッター
   ========================================================= */
.footer {
    background-color: #1a2a3a;
    color: #ffffff;
    padding: 60px 20px 20px;
    font-family: "游ゴシック体", YuGothic, sans-serif;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-office-name {
    font-size: 1.3rem;
    font-weight: bold;
    font-family: "游明朝", YuMincho, serif;
    margin-bottom: 10px;
    display: inline-block;
}

.footer-address {
    font-size: 0.9rem;
    color: #b2bec3;
    line-height: 1.6;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.9rem;
    color: #dfe6e9;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #74b9ff;
}

.footer-bottom {
    max-width: 1100px;
    margin: 20px auto 0;
    text-align: center;
    font-size: 0.8rem;
    color: #636e72;
}

/* =========================================================
   レスポンシブ対応
   ========================================================= */
@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .about-intro-inner {
        padding: 40px 20px;
    }

    .intro-main-title {
        font-size: 1.6rem;
    }

    .award-photo-wrap,
    figure.award-photo-wrap {
        padding: 10px;
        margin: 30px 0;
    }

    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 15px 0;
    }

    .strengths-grid,
    .strengths-grid > .wp-block-group__inner-container {
        flex-direction: column !important;
        align-items: center !important;
    }

    .strength-card,
    .strengths-grid .strength-card {
        width: 100%;
        max-width: 320px;
    }

    .expert-card,
    .expert-card > .wp-block-group__inner-container {
        flex-direction: column;
        text-align: center;
    }

    .recruit-intro-box {
        flex-direction: column;
        text-align: center;
    }

    .history-section {
        padding: 70px 20px;
    }

    .history-timeline {
        padding-left: 30px;
    }

    .timeline-item::before {
        left: -37px;
    }

    .access-wrapper {
        flex-direction: column;
        padding: 20px;
    }

    .access-wrapper > .wp-block-group__inner-container {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 20px !important;
    }

    .access-wrapper > .wp-block-group__inner-container > .access-info,
    .access-wrapper > .wp-block-group__inner-container > .map-container {
        flex: none !important;
        width: 100% !important;
    }

    .contact-form-box {
        padding: 30px 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links ul {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}