@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700&family=Noto+Sans+JP:wght@400;700&display=swap');

:root {
    --primary-orange: #E49674;
    --primary-orange-light: #EBA788;
    --primary-orange-dark: #D18560;
    --text-black: #000000;
    --text-gray: #666666;
    --bg-white: #ffffff;
    --bg-light: #f9f9f9;
    --border-light: #e5e5e5;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* HTML要素のベースフォントサイズ（100% = 16px） */
html {
    font-size: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

address {
    font-style: normal;
}

body {
    font-family: 'Manrope', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-black);
    background: var(--bg-white);
    /* 英語のフォントサイズを相対単位で調整 */
    font-size: 1rem; /* 16px */
}

/* 日本語が含まれる要素のフォントサイズを基準に */
body:lang(ja) {
    font-size: 0.9375rem; /* 15px */
}

.container {
    max-width: 75rem; /* 1200px */
    margin: 0 auto;
    padding: 0 1.25rem; /* 20px */
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.6);
    border-bottom: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: transform 0.5s ease;
}

header.hidden {
    transform: translateY(-100%);
}

header .container {
    padding: 0;
    max-width: 100%;
}

.header-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.25rem 0; /* 4px */
}

.logo {
    display: block;
    width: 20rem; /* 320px */
    max-width: 90vw; /* 画面幅の90%まで */
    height: 5.125rem; /* 82px */
    margin-left: 0;
    background-image: url('haikei/Tsuzuki 豊中.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
}

/* Instagram Icon */
.instagram-icon {
    display: inline-block;
    width: 1.75rem; /* 28px */
    height: 1.75rem; /* 28px */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path fill="%23000000" d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.instagram-icon:hover {
    opacity: 0.7;
}

.instagram-icon:active {
    opacity: 0.5;
}

/* ハンバーガーメニュー */
.menu-toggle {
    position: fixed;
    top: 0.875rem; /* 14px */
    right: 1.25rem; /* 20px */
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    width: 2.125rem; /* 34px */
    height: 2.125rem; /* 34px */
    background: transparent;
    border-radius: 0.4375rem; /* 7px */
    border: 2px solid #000000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.menu-toggle span {
    width: 1.125rem; /* 18px */
    height: 3px;
    background: rgba(0, 0, 0, 0.9);
    margin: 2px auto;
    transition: 0.3s;
}

.menu-toggle span:nth-child(2) {
    height: 3px;
}

.menu-toggle span:nth-child(3) {
    height: 3px;
}

.menu-toggle.active span {
    background: #ffffff;
}

/* Navigation */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    transition: none;
    z-index: -1;
}

.nav-overlay.active {
    opacity: 0;
    visibility: hidden;
}

.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-white);
    transition: transform 0.6s ease, background 0.3s ease;
    z-index: 1999;
    padding: 5rem 1.25rem 1.875rem; /* 80px 20px 30px */
    transform: translateY(-110%);
}

.nav-menu.active {
    transform: translateY(0);
}

.nav-menu.active .instagram-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path fill="%23ffffff" d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"/></svg>') !important;
}

.nav-close {
    position: absolute;
    top: 1.25rem; /* 20px */
    right: 1.25rem; /* 20px */
    background: none;
    border: none;
    font-size: 3rem; /* 48px */
    cursor: pointer;
    color: var(--text-black);
    transform: scaleX(1.1);
}

.nav-links {
    list-style: none;
    margin-top: 2.5rem; /* 40px */
}

.nav-links li {
    border-bottom: none;
    position: relative;
}

.nav-links a {
    display: block;
    padding: 0.75rem 0 0.75rem 0.9375rem; /* 12px 0 12px 15px */
    color: var(--text-black);
    text-decoration: none;
    font-size: 2rem; /* 32px */
    font-weight: 700;
    transition: all 0.3s ease;
}

.nav-links .home-link > a {
    font-size: 2.25rem; /* 36px */
}

.nav-links a:hover {
    color: rgba(0, 0, 0, 0.7);
}

.nav-links a.active {
    color: var(--primary-orange);
    font-weight: 700;
}

/* Desktop: show full navigation, hide hamburger */
@media (min-width: 768px) {
    .menu-toggle,
    .nav-close {
        display: none;
    }

    .nav-overlay {
        display: none !important;
    }

    .nav-menu {
        position: fixed;
        top: 0.875rem; /* 14px */
        right: 1.25rem; /* 20px */
        left: auto;
        width: auto;
        height: auto;
        padding: 0;
        background: transparent;
        box-shadow: none;
        display: flex;
        align-items: center;
        gap: 0.5rem; /* 8px */
        transition: none;
        transform: none;
    }

    .nav-menu.active {
        right: 1.25rem; /* 20px */
    }

    .nav-links {
        display: flex;
        align-items: center;
        margin-top: 0;
        gap: 0.625rem; /* 10px */
        justify-content: flex-end;
    }

    .nav-links li {
        border-bottom: none;
    }

    .nav-links li::after,
    .nav-links li:first-child::before {
        display: none;
    }

    .nav-links a {
        padding: 0.625rem 0.75rem; /* 10px 12px */
        font-size: 1rem; /* 16px */
        line-height: 1.1;
    }

    .nav-links .home-link > a {
        font-size: 1.125rem; /* 18px */
        line-height: 1.1;
    }

    /* PC版ではナビゲーションメニューを追従させず、ロゴ（header）だけを固定 */
    .nav-menu {
        position: absolute;
    }
}

.nav-links .nav-icon-item {
    border: none;
    padding-left: 0;
    display: flex;
    align-items: center;
}

.nav-links .nav-icon-item::after,
.nav-links .nav-icon-item::before {
    display: none;
}

.nav-links .nav-icon-item a {
    padding: 8px 0;
}

@media (max-width: 767px) {
    .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: #4a4a4a;
    }

    .nav-links {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .nav-links li {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-links a {
        text-align: center;
        color: #ffffff;
    }

    .nav-links .nav-icon-item a {
        filter: none;
    }

    .nav-links .nav-icon-item .instagram-icon {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path fill="%23ffffff" d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"/></svg>') !important;
    }

    .nav-close {
        color: #ffffff;
    }
}

/* Main Content */
main {
    margin-top: 0;
}

/* Page Header */
.page-header {
    background: transparent;
    padding: 3.75rem 0 0.625rem; /* 60px 0 10px */
    text-align: center;
    min-height: 40vh;
    display: flex;
    align-items: flex-end;
}

.page-header .container {
    width: 100%;
}

.hero-green {
    position: relative;
    color: #fff;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-position: center;
    display: block;
    background: #f5f5f5;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 20px;
    z-index: 1;
}

.hero-green .page-title {
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.greeting-section {
    padding-top: 0.625rem; /* 10px */
    margin-top: 2.5rem; /* 40px */
}

.page-title {
    font-size: 3rem; /* 48px */
    font-weight: bold;
    margin-bottom: 0;
    letter-spacing: -0.0625rem; /* -1px */
    padding-bottom: 0;
    text-align: left;
    color: inherit;
}

.page-title .small {
    font-size: 0.9em;
}

.page-subtitle {
    font-size: 1.125rem; /* 18px */
    color: inherit;
    max-width: 50rem; /* 800px */
    margin: 0 auto;
    line-height: 1.8;
    text-align: left;
}

/* News page spacing */
body.news-page .page-header {
    min-height: 25vh; /* モバイルは他ページと同等 */
    padding: 3.75rem 0 0.625rem;
}

body.news-page .news-section.section {
    padding-top: 1.5rem;
}

@media (min-width: 768px) {
    body.news-page .page-header {
        min-height: 40vh; /* PCは他ページと揃える */
        padding: 3.75rem 0 0.75rem;
    }

    body.news-page .news-section.section {
        padding-top: 1.75rem;
    }
}

/* Footer */
footer {
    background: var(--bg-white);
    color: var(--text-black);
    text-align: left;
    padding: 1.25rem 0; /* 20px */
    border-top: 1px solid var(--text-black);
    position: relative;
}

footer .container {
    width: 100%;
}

/* フッターコンテンツ */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3125rem; /* 5px */
}

.footer-nav {
    margin: 0.5rem 0 0 0;
    width: 100%;
    padding-bottom: 0.5rem;
    position: relative;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.footer-nav a {
    color: var(--text-black);
    text-decoration: none;
    font-size: 0.8125rem; /* 13px */
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 0.7;
}

.footer-nav::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100vw;
    border-bottom: 1px solid var(--text-black);
    pointer-events: none;
}

@media (max-width: 767px) {
    .footer-nav {
        order: -1;
        margin-top: 0;
        margin-bottom: 0.5rem;
    }

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

    .footer-nav ul li {
        width: 100%;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid var(--text-black);
    }

    .footer-nav ul li a {
        display: block;
        width: 100%;
        padding: 0.5rem 0;
    }

    .footer-nav ul li:last-child {
        border-bottom: none;
    }

    .footer-nav a {
        font-size: 1.625rem; /* 元の2倍 (13px → 26px相当) */
        position: relative;
        padding-right: 1.5rem; /* 矢印分の余白 */
    }

    footer {
        padding-top: 0.5rem;
    }

    .footer-nav a::after {
        content: "↗";
        position: absolute;
        right: 4px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-black);
        font-weight: 700;
        transition: transform 0.25s ease, color 0.25s ease, opacity 0.25s ease;
        opacity: 0.85;
    }

    .footer-nav a:hover::after {
        transform: translate(4px, -50%);
        color: #555;
        opacity: 1;
    }
}

@media (min-width: 768px) {
    .footer-content {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-auto-rows: auto;
        align-items: start;
        column-gap: 1.5rem;
    }

    .footer-nav {
        margin: 0;
        width: auto;
        justify-self: end;
        grid-column: 2;
        grid-row: 1 / span 3;
    }

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

    .copyright {
        grid-column: 1 / span 2;
        justify-self: center;
        text-align: center;
    }

    .footer-nav::after {
        display: none;
    }

    .greeting-divider {
        display: block;
    }
}

/* 会社名 */
.company-name {
    font-weight: bold;
    font-size: 0.875rem; /* 14px */
    margin: 0;
}

/* 住所 */
.company-address {
    font-size: 0.75rem; /* 12px */
    font-style: normal;
    line-height: 1.6;
    margin: 0;
}

/* 電話番号 */
.company-tel {
    font-size: 0.75rem; /* 12px */
    margin: 0.3125rem 0 0 0; /* 5px 0 0 0 */
}

.company-tel a {
    color: var(--text-black);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.company-tel a:hover {
    opacity: 0.7;
}

/* コピーライト */
.copyright {
    font-size: 0.625rem; /* 10px */
    opacity: 0.8;
    margin: 0;
    margin-top: 0;
    text-align: center;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 767px) {
    .container {
        padding: 0 0.9375rem; /* 15px */
    }

    header .container {
        padding: 0 !important;
    }

    .logo {
        margin-left: 0.3125rem !important; /* 5px */
        width: 21.375rem !important; /* 342px */
        max-width: 90vw !important;
        height: 3.5625rem !important; /* 57px */
    }

    .page-header {
        padding: 3.75rem 0 0.625rem; /* 60px 0 10px */
        min-height: 25vh;
    }

    .page-title {
        font-size: 2.25rem; /* 36px */
    }

    .greeting-section {
        padding-top: 0.625rem; /* 10px */
        margin-top: 2.5rem; /* 40px */
    }

    .nav-icons {
        margin-top: 1.75rem; /* 28px */
    }

    .hero-image {
        object-fit: cover;
        border-radius: 0;
    }
}

@media (min-width: 768px) {
    .hero-green {
        height: auto;
        min-height: auto;
        padding: 120px 0 0;
        position: relative;
    }

    .hero-media {
        position: relative;
        background: #ffffff;
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 20px;
    }

    .hero-image {
        object-fit: contain;
        object-position: center center;
        background: #ffffff;
        width: auto;
        max-width: 100%;
        height: auto;
        display: block;
        border-radius: 0;
    }

    /* サイドバーがある場合は画像の表示領域を調整 */
    html.has-news-sidebar .hero-media {
        padding-left: 290px;
        justify-content: flex-start;
    }

    html.has-news-sidebar .hero-image {
        max-width: 100%;
    }

    .hero-green .hero-content {
        position: absolute;
        bottom: 30px;
        left: 15%;
        right: auto;
        transform: none;
        padding-left: 0;
        width: auto;
        text-align: left;
        z-index: 2;
    }

    .hero-green .page-title {
        text-align: left;
        font-size: 2.5rem;
    }

    /* サイドバーがある場合はタイトルを右にずらす */
    html.has-news-sidebar .hero-green .hero-content {
        left: 40px;
    }
}

/* お問い合わせボタン画像 */
.contact-button-image {
    display: inline-block;
    width: 100%;
    max-width: 709px;
    height: auto;
    background-image: url('images/問い合わせ.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 12.5%;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.contact-button-image:hover {
    opacity: 0.7;
}

a.contact-button-image {
    text-decoration: none;
    display: block;
}

.contact-button-image.medium {
    max-width: 500px;
}

.contact-button-image.small {
    max-width: 300px;
}

/* 移動支援サービスページ用スタイル */

/* セクション */
.service-section {
    background: var(--bg-white);
    padding: 40px 0 60px;
}

/* セクションタイトル(h2) */
.section-title {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-left: 10px;
    border-left: 4px solid #2c5aa0;
}

/* セクション内のリンク */
.section-title a {
    color: #2c5aa0;
    text-decoration: none;
}

/* セクションのテキスト */
.section-text {
    text-align: left;
}

/* サービスリスト */
.service-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.service-list li {
    margin-bottom: 0.8rem;
}

/* 情報リスト(dl) */
.info-list {
    line-height: 1.8;
}

.info-list dt {
    font-weight: 700;
    color: #2c5aa0;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
}

.info-list dd {
    margin-left: 0;
    padding-left: 1rem;
    border-left: 2px solid #e0e0e0;
}

/* お問い合わせボタンのラッパー */
.contact-button-wrapper {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.contact-button-wrapper .contact-button-image {
    display: block !important;
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
    padding-top: 28% !important;
}

@media (max-width: 767px) {
    .contact-button-wrapper .contact-button-image {
        max-width: 200px !important;
        padding-top: 28% !important;
    }
}

/* 挨拶ページ - 本文スタイル */

/* 段落 */
.greeting-paragraph {
    margin-bottom: 1.5rem;
    text-align: center;
}

.greeting-title {
    text-align: center;
    font-weight: 700;
    font-size: 1.125rem;
    margin: 1.5rem 0 1rem;
}

.greeting-divider {
    display: none;
}

/* 求人ページの挨拶セクション */
.recruit-greeting {
    margin-top: -20px;
}

@media (min-width: 768px) {
    .recruit-greeting {
        margin-top: 40px;
    }
}

/* サービス見出し */
.service-heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.service-heading:first-child {
    margin-top: 0;
}

.service-divider {
    width: 100%;
    border-top: 1px solid #ddd;
    margin: 32px 0;
    position: relative;
    left: 0;
    transform: none;
}

.service-divider-bold {
    border-top: 1px solid var(--text-black);
    margin-top: 24px;
    margin-bottom: 24px;
}

/* サービス説明 */
.service-description {
    margin-bottom: 0.5rem;
    display: block;
}

/* サブサービス見出し */
.service-subheading {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* 注意書き */
.service-note {
    display: block;
    margin-top: 0.5rem;
}

/* 最終段落 */
.greeting-closing {
    margin-top: 2rem;
    display: block;
    text-align: center;
}

/* スクリーンリーダー用（視覚的には非表示） */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* フッターのInstagramリンク */
.footer-instagram-link {
    display: inline-block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    margin-top: 15px;
    margin-bottom: 10px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path fill="%23000000" d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    z-index: 10;
}

.footer-instagram-link:hover {
    opacity: 0.7;
}

.footer-instagram-link:active {
    opacity: 0.5;
}

/* About Page Styles - 会社情報ページ用 */

/* Section Styles */
.section {
    padding: 5rem 0; /* 80px */
}

.section-title {
    font-size: 2rem; /* 32px */
    font-weight: 300;
    margin-bottom: 2.5rem; /* 40px */
    letter-spacing: -0.03125rem; /* -0.5px */
}

/* Company Overview */
.company-overview {
    background: var(--bg-white);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    align-items: center;
}

.overview-content h3 {
    font-size: 1.5rem; /* 24px */
    font-weight: 500;
    margin-bottom: 1.25rem; /* 20px */
    color: var(--primary-orange);
}

.overview-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.25rem; /* 20px */
}

.overview-image {
    background: var(--bg-light);
    height: 300px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary-orange);
}

/* Company Info Table */
.company-info {
    background: var(--bg-white);
    padding: 0 0 80px;
}

.info-table {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.info-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid var(--border-light);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    background: var(--bg-light);
    padding: 1.25rem; /* 20px */
    font-weight: 500;
    color: var(--text-black);
    border-right: 1px solid var(--border-light);
}

.info-value {
    padding: 1.25rem; /* 20px */
    color: var(--text-black);
}

.info-value .copy-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.info-value .copy-line:last-child {
    margin-bottom: 0;
}

.copy-label {
    font-weight: 400;
}

.copy-btn {
    padding: 4px 8px;
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #f7f7f7;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: #e9e9e9;
    border-color: #bbb;
}

/* Mission Section */
.mission {
    background: var(--bg-white);
    text-align: center;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
}

.mission-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.value-item {
    padding: 30px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.value-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary-orange);
}

.value-item h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-black);
}

.value-item p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* Access Section */
.access {
    background: #ffffff;
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.access-table {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.access-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid var(--border-light);
}

.access-row:last-child {
    border-bottom: none;
}

.access-label {
    background: var(--bg-light);
    padding: 20px;
    font-weight: 500;
    color: var(--text-black);
    border-right: 1px solid #000000;
    display: flex;
    align-items: center;
}

.access-value {
    padding: 20px;
    color: var(--text-black);
}

.access-icon {
    font-size: 18px;
    margin-left: 8px;
    color: var(--primary-orange);
}

/* Information Disclosure Page */
.documents-section {
    background: var(--bg-white);
    padding: 20px 0 80px;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.document-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.document-label {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-gray);
}

.document-title {
    font-size: 20px;
    margin: 0;
    color: var(--text-black);
}

.document-desc {
    color: var(--text-gray);
    margin: 4px 0 6px;
    line-height: 1.7;
}

.document-meta {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 6px;
}

.document-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--text-black);
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, opacity 0.2s ease;
    width: fit-content;
}

.document-download:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.document-download:active {
    transform: translateY(0);
}

.document-note {
    margin-top: 24px;
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
}

.document-note code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

.info-service-heading {
    text-align: left;
    margin-top: 12px;
}

.document-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 6px;
}

.document-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 6px;
}

/* News Page Styles */
.news-section { background: var(--bg-white); }
.news-list { display: grid; gap: 12px; }
.news-list.expanded .news-item:not(.expanded) { display: none; }

/* Pagination */
.pagination { position: relative; display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 40px; padding: 20px 0; }
.pagination-button { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: 8px; padding: 8px 16px; color: var(--text-gray); text-decoration: none; transition: all 0.3s ease; cursor: pointer; font-size: 14px; font-weight: 500; }
.pagination-button:active, .pagination-button.active { background: #444444; color: #fff; border-color: #444444; }
.pagination-button:disabled { opacity: 0.5; cursor: not-allowed; }
.pagination-button:disabled:hover { background: var(--bg-white); color: var(--text-gray); border-color: var(--border-light); }
.pagination-square { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: block; width: 32px; height: 32px; font-size: 16px; text-decoration: none; color: transparent; border: none; border-radius: 6px; line-height: 1; background: transparent; opacity: 0; }
.pagination-square:hover { transform: translateY(-50%); }
.pagination-square:active { transform: translateY(-50%); }
.pagination-info { color: var(--text-gray); font-size: 14px; font-weight: 500; padding: 0 8px; }

/* News Items */
.news-item { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: 0; padding: 1.125rem; transition: opacity 0.35s ease, transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer; }
.news-item:hover { box-shadow: var(--shadow); transform: translateY(-0.125rem); }
.news-item.faded { opacity: 0; pointer-events: none; }
.news-item-open .page-header { visibility: hidden; opacity: 0; }
.news-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 0.75rem; }
.news-info { flex: 1; }
.news-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.news-date { background: var(--text-black); color: #fff; padding: 0.25rem 0.75rem; border-radius: 1rem; font-size: 0.75rem; font-weight: 700; }
.news-title { font-size: 1.125rem; font-weight: 500; color: var(--text-black); margin-bottom: 0; }
.news-thumbnail { width: 100px; height: 100px; object-fit: cover; border-radius: 0; flex-shrink: 0; cursor: pointer; transition: opacity 0.3s ease; }
.news-thumbnail:hover { opacity: 0.8; }

/* Image Modal */
.image-modal { display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.9); }
.image-modal-content { margin: auto; display: block; max-width: 90%; max-height: 90vh; object-fit: contain; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.image-modal-close { position: absolute; top: 20px; right: 40px; color: #fff; font-size: 40px; font-weight: bold; cursor: pointer; z-index: 10001; }
.image-modal-close:hover, .image-modal-close:focus { color: #bbb; }
.news-content { color: var(--text-gray); line-height: 1.6; height: 0; overflow: hidden; padding-top: 0; opacity: 0; transition: height 0.35s linear, padding-top 0.35s linear, opacity 0.15s ease; transform-origin: bottom; }
.news-content.expanded { overflow: visible; padding-top: 0.75rem; opacity: 1; }
.news-image { width: 100%; max-width: 600px; height: auto; display: block; margin: 0 0 1rem 0; border-radius: 0; }
.expand-icon { margin-left: auto; font-size: 0.875rem; color: var(--text-gray); transition: transform 0.3s ease; }
.news-item.expanded .expand-icon { transform: rotate(180deg); }
.no-news { text-align: center; padding: 1.25rem; color: var(--text-gray); margin-top: 1.25rem; }
.no-news p { font-size: 1rem; margin: 0; }

.map-container {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
}

.map-placeholder {
    background: var(--bg-light);
    height: 400px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-gray);
    text-align: center;
    padding: 20px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

@media (min-width: 1024px) {
    .news-title { font-size: 2.25rem; line-height: 1.3; } /* 36px */
    .news-content { font-size: 2rem; line-height: 1.6; } /* 32px */
}

@media (max-width: 767px) {
    .news-content { clip-path: inset(0 0 100% 0); font-size: 1.125rem; } /* 18px */
    .news-content.expanded { clip-path: inset(0 0 0 0); height: auto !important; padding-bottom: 0.75rem; } /* 12px */
}

/* Responsive Design for About Page */
@media (max-width: 767px) {
    .section {
        padding: 60px 0;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .info-row {
        grid-template-columns: 1fr;
    }

    .info-label {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }

    .access-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .access-row {
        grid-template-columns: 1fr;
    }

    .access-label {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }

    .mission-values {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
/* Contact Page Styles */

/* Contact Form Table */
.info-table {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.info-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid var(--border-light);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    background: var(--bg-light);
    padding: 20px;
    font-weight: 500;
    color: var(--text-black);
    border-right: 1px solid var(--border-light);
    display: flex;
    align-items: center;
}

.info-value {
    padding: 20px;
    color: var(--text-black);
}

.info-value input,
.info-value textarea,
.info-value select {
    width: 100%;
    padding: 0.625rem; /* 10px */
    border: 1px solid var(--border-light);
    border-radius: 0.25rem; /* 4px */
    font-size: 0.875rem; /* 14px */
    font-family: inherit;
    background: var(--bg-white);
    transition: border-color 0.3s ease;
}

.info-value input:focus,
.info-value textarea:focus,
.info-value select:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.info-value textarea {
    resize: vertical;
    min-height: 160px;
}

.required {
    color: #e74c3c;
}

.form-actions {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.form-actions .button {
    background: #000000;
    color: #ffffff;
    padding: 0.75rem 2rem; /* 12px 32px */
    border: 1px solid #000000;
    border-radius: 0.25rem; /* 4px */
    font-weight: 600;
    letter-spacing: 0.03125rem; /* 0.5px */
    text-decoration: none;
    display: inline-block;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.form-actions .button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.form-actions .button:active {
    transform: translateY(0);
    box-shadow: none;
    opacity: 0.9;
}

.form-note {
    margin: 0 0 0.5rem 0; /* 8px */
    color: var(--text-gray);
    font-size: 0.875rem; /* 14px */
    text-align: center;
}

.checkbox-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; /* 8px */
    font-size: 0.875rem; /* 14px */
    color: var(--text-black);
    text-align: center;
}

.policy-agree {
    margin: 24px auto 0 auto;
    padding: 16px 20px;
    background: #f7f7f7;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    max-width: 780px;
    text-align: left;
}

.policy-title {
    margin: 0 0 8px 0;
    font-weight: 700;
    color: var(--text-black);
    text-align: center;
}

.policy-text {
    margin: 8px 0;
    color: var(--text-black);
    font-size: 14px;
    line-height: 1.7;
}

.policy-list {
    list-style: disc;
    padding-left: 18px;
    margin: 4px 0 12px 0;
    display: block;
    color: var(--text-black);
    font-size: 14px;
    line-height: 1.7;
}

.policy-body {
    max-height: 220px;
    overflow-y: auto;
    padding: 10px 12px;
    margin: 8px 0 12px 0;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.08);
}

.policy-hint {
    margin: 4px 0 10px 0;
    font-size: 12px;
    color: var(--text-gray);
    text-align: left;
}

.policy-agree .form-note {
    text-align: left;
    margin: 0 0 8px 0;
    color: var(--text-black);
}

.policy-agree .checkbox-inline {
    justify-content: center;
    text-align: center;
    width: 100%;
}

/* Contact page: form heading in black with black left border */
.company-info .section-title {
    color: #000000;
    border-left: 4px solid #000000;
}

/* Access section heading in black with black left border */
.access .section-title {
    color: #000000;
    border-left: 4px solid #000000;
}

/* Mission Section */
.mission {
    background: var(--bg-white);
    text-align: center;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
}

.mission-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.value-item {
    padding: 30px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.value-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary-orange);
}

.value-item h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-black);
}

.value-item p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* Access Section */
.access {
    background: #ffffff;
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.access-table {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.access-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid var(--border-light);
}

.access-row:last-child {
    border-bottom: none;
}

.access-label {
    background: var(--bg-light);
    padding: 20px;
    font-weight: 500;
    color: var(--text-black);
    border-right: 1px solid #000000;
    display: flex;
    align-items: center;
}

.access-value {
    padding: 20px;
    color: var(--text-black);
}

.access-icon {
    font-size: 18px;
    margin-left: 8px;
    color: var(--primary-orange);
}

/* Map */
.map-container {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    height: fit-content;
}

.map-placeholder {
    background: var(--bg-light);
    height: 400px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-gray);
    text-align: center;
    padding: 20px;
}

/* Buttons */
.submit-btn {
    background: #000000;
    color: #ffffff;
    padding: 0.9375rem 1.875rem; /* 15px 30px */
    border: none;
    border-radius: 0.5rem; /* 8px */
    font-size: 1rem; /* 16px */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 3.625rem; /* 58px */
}

.submit-btn:hover {
    background: #333333;
    transform: translateY(-0.125rem); /* -2px */
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Responsive (Contact specific) */
@media (max-width: 767px) {
    .info-row {
        grid-template-columns: 1fr;
    }
    .info-label {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
    .access-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .access-row {
        grid-template-columns: 1fr;
    }
    .access-label {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
    .mission-values {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Form Elements */
.form-note {
    text-align: left;
    margin-top: 20px;
    color: var(--text-gray);
    font-size: 14px;
}

/* Contact page specific override */
.policy-agree .form-note {
    text-align: center;
    margin: 0 0 8px 0;
}

.form-submit-wrapper {
    text-align: center;
}

.map-iframe {
    border: 0;
    border-radius: 12px;
    display: block;
}

/* Index Page - Greeting Section Styles */
.greeting-paragraph,
.greeting-closing {
    font-size: 1em;
}

.greeting-title .greeting-em {
    font-size: 2em;
    line-height: 1;
}

.greeting-paragraph-first {
    padding-top: 20px;
    margin-top: 30px;
    position: relative;
}

/* News Sidebar - PC版のみ */
.news-sidebar-wrapper {
    display: none; /* デフォルトは非表示（モバイル） */
}

.news-sidebar {
    display: block;
}

@media (min-width: 768px) {
    .news-sidebar-wrapper {
        display: block;
        position: absolute;
        left: 20px;
        top: 120px;
        width: 250px;
        z-index: 1000;
    }

    .news-sidebar {
        position: relative;
        width: 100%;
        background: var(--bg-white);
        border: 1px solid var(--text-black);
        border-radius: 0;
        padding: 20px;
        box-shadow: var(--shadow);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .news-sidebar-title {
        position: relative;
        padding-bottom: 8px !important;
    }

    .news-sidebar-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        border-bottom: 1px solid var(--text-black);
    }

    .news-sidebar-banner {
        display: block;
        width: 100%;
        margin: 0 0 12px 0;
    }

    .news-sidebar-banner img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 0;
        box-shadow: none; /* 影を除去 */
    }

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

    .news-sidebar-item {
        list-style: none;
        margin-bottom: 16px;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--border-light);
    }

    .news-sidebar-item:first-child {
        margin-top: 6px;
        padding-top: 6px;
    }

    .news-sidebar-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .news-sidebar-link {
        text-decoration: none;
        color: var(--text-black);
        display: flex;
        gap: 10px;
        align-items: flex-start;
        transition: all 0.3s ease;
    }

    .news-sidebar-link:hover {
        color: #555;
    }

    .news-sidebar-thumbnail {
        width: 60px;
        height: 60px;
        object-fit: cover;
        border-radius: 0;
        flex-shrink: 0;
    }

    .news-sidebar-content {
        flex: 1;
        min-width: 0;
    }

    .news-sidebar-date {
        font-size: 11px;
        color: var(--text-gray);
        margin-top: 0;
        margin-bottom: 4px;
        display: block;
    }

    .news-sidebar-item-title {
        font-size: 16px;
        font-weight: 400;
        line-height: 1.6;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .news-badge-new {
        color: #ff0000;
        font-size: 11px;
        font-weight: bold;
        margin-left: 8px;
    }

    /* メインコンテンツの左マージンを確保 */
    html.has-news-sidebar main .container {
        margin-left: 290px;
    }

    /* ヘッダーとフッターのcontainerは除外 */
    html.has-news-sidebar header .container,
    html.has-news-sidebar footer .container {
        margin-left: auto;
    }
}
