@charset "UTF-8";

/* ====================================
   カラー設定
==================================== */
:root {
    --color-primary: #2A3F50;
    --color-secondary: #6b8fa6;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg-dark: #1e3c50;
    --color-bg-light: #F8F9FA;
    --color-accent-red: #E74C3C;
    --color-navy: #1C2B39;
}

/* ====================================
   基本設定
==================================== */
html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Zen Kaku Gothic Antique', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-text);
    line-height: 1.8;
    background-color: #ffffff;
    transition: background-color 0.8s ease;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* contents.html専用の初期背景色 */
body.page-contents-body {
    background-color: #1e3c50;
}

/* aboutus.html専用の初期背景色 */
body.page-aboutus-body {
    background-color: #1e3c50;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* ====================================
   ヘッダー
==================================== */
.site-header {
    background-color: transparent;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1010;
}

.header-logo {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1001;
    width: 160px;
}

.header-logo a {
    display: block;
}

.header-logo img {
    width: 100%;
    height: auto;
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1100;
}

.header-icon {
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

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

.instagram-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ハンバーガーメニュー */
.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
}

/* ナビゲーションメニュー */
.main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--color-bg-dark);
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    z-index: 100000;
    overflow-y: auto;
}

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

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav ul li {
    margin-bottom: 20px;
}

.main-nav ul li a {
    color: white;
    font-size: 16px;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav ul li a:hover {
    color: var(--color-secondary);
}

/* ====================================
   フッター
==================================== */
.site-footer {
    background-image: url('../img/common/footer_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: .5fr .4fr .5fr 1fr;
    gap: 0px;
    margin-bottom: 40px;
    margin-left: 5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 160px;
}

.footer-info p {
    margin: 5px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    pointer-events: none;
    cursor: default;
}

.footer-nav h3 {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-nav ul li a:hover {
    color: var(--color-secondary);
}

.footer-nav ul li.footer-sub-item {
    margin-bottom: 0px;
}

.footer-nav ul li.footer-sub-item a {
    font-size: 12px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.footer-social a:hover {
    background-color: var(--color-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 1);
    text-align: center;
}



p{
   text-align: justify;
}
.section-title p{
    text-align: center;
}
.text-center p{
    text-align: center;
}


/* ====================================
   ページトップボタン
==================================== */
.page-top {
    position: fixed;
    bottom: 140px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #1e3d50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 900;
}

.page-top.visible {
    opacity: 1;
    visibility: visible;
}

.page-top:hover {
    background-color: var(--color-primary);
    transform: translateY(-5px);
}

/* ====================================
   メインビジュアル
==================================== */
.main-visual {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    /* background-color: var(--color-bg-dark); */
}

.main-visual-slider {
    width: 100%;
    height: 100%;
}

.main-visual-slider .swiper-slide {
    width: 100%;
    height: 100%;
}

.main-visual-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-visual-text {
    position: absolute;
    top: 120px;
    left: 100px;
    text-align: left;
    color: white;
    z-index: 2;
}

.main-visual-text h1 {
    font-size: 28px;
    /* font-weight: 700; */
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    line-height: 1.5;
}

.main-visual-text p {
    font-size: 14px;
    margin-bottom: 0;
    background-color: var(--color-secondary);
    display: inline-block;
    padding: 8px 20px;
    font-weight: 700;
}

.main-visual-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 300px;
    width: 80%;
}

.main-visual-logo img {
    width: 100%;
    height: auto;
}

.main-visual-cta {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 900;
    background-color: #C8C8C8;
    padding: 20px 0 20px 30px;
    border-radius: 40px 0 0 0;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); */
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 250px;
    /* position: relative; */
}

.main-visual-cta::after {
    content: '';
    position: absolute;
    right: -10px;
    bottom: 0;
    width: 120px;
    height: 111px;
    background-image: url('../img/common/cv_img.png');
    background-size: contain;
    background-position: bottom right;
    background-repeat: no-repeat;
}

/* PC時のみhover */
@media (min-width: 769px) {
    .main-visual-cta:hover {
        background-color: var(--color-primary);
    }

    .main-visual-cta:hover .cta-title,
    .main-visual-cta:hover .cta-subtitle {
        color: #C8C8C8;
    }

    .main-visual-cta:hover .cta-icon img {
        filter: brightness(0) invert(1) brightness(0.78);
    }
}

.cta-icon {
    flex-shrink: 0;
    width: 1.5rem;
}

.cta-icon img {
    width: 100%;
    height: auto;
    transition: filter 0.3s ease;
}

.cta-text {
    flex-shrink: 0;
}

.cta-title {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-primary);
    margin: 0;
    line-height: 1;
    font-family: 'Zen Old Mincho', serif;
    transition: color 0.3s ease;
}

.cta-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 5px 0 0 0;
    line-height: 1;
    transition: color 0.3s ease;
}

/* ====================================
   ユーティリティクラス - Letter Spacing
==================================== */
.ls-0 {
    letter-spacing: 0 !important;
}

.ls-025 {
    letter-spacing: 0.25rem !important;
}

.ls-05 {
    letter-spacing: 0.5rem !important;
}

.ls-1 {
    letter-spacing: 1rem !important;
}

.ls-15 {
    letter-spacing: 1.5rem !important;
}

.ls-2 {
    letter-spacing: 2rem !important;
}

.ls-25 {
    letter-spacing: 2.5rem !important;
}

.ls-3 {
    letter-spacing: 3rem !important;
}

/* ====================================
   ユーティリティクラス - Font Size
==================================== */
.fs-14 {
    font-size: 14px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-20 {
    font-size: 20px !important;
}

.fs-22 {
    font-size: 22px !important;
}

.fs-24 {
    font-size: 24px !important;
}

.fs-28 {
    font-size: 28px !important;
}

.fs-30 {
    font-size: 30px !important;
}

.fs-32 {
    font-size: 32px !important;
}

.fs-40 {
    font-size: 40px !important;
}

.fs-48 {
    font-size: 48px !important;
}

/* ====================================
   ユーティリティクラス - Font Family
==================================== */
.ff-mincho {
    font-family: 'Zen Old Mincho', serif !important;
}

.ff-gothic {
    font-family: 'Zen Kaku Gothic Antique', sans-serif !important;
}

/* ====================================
   ユーティリティクラス - Margin Bottom
==================================== */
.mb-0 {
    margin-bottom: 0 !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.mb-40 {
    margin-bottom: 40px !important;
}

.mb-50 {
    margin-bottom: 50px !important;
}

.mb-60 {
    margin-bottom: 60px !important;
}

.mb-80 {
    margin-bottom: 80px !important;
}

.mb-100 {
    margin-bottom: 100px !important;
}

/* ====================================
   セクション
==================================== */
.section {
    padding: 80px 0 50px;
}

.pb-50 {
    padding-bottom: 50px !important;
}

.pb-100 {
    padding-bottom: 100px !important;
}

.meet-team {
    padding-bottom: 0;
}

.meet-team .col-lg-6 {
    padding-bottom: 50px;
}
.meet-team .btn_wrapper{
    width: 500px;
    margin: auto;
    margin-bottom: 100px;
}
.meet-team-image {
    background-image: url('../img/top/img_team.png');
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    min-height: 380px;
    /* border-radius: 5px; */
}

.text-gray {
    color: #bbc4ca !important;
}

.fs-80 {
    font-size: 80px !important;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-title h1,
.section h1 {
    font-family: 'Zen Old Mincho', serif;
    font-weight: normal;
}

.section-title h2 {
    font-size: 55px;
    /* font-weight: 700; */
    color: var(--color-primary);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title p {
    color: #fff;
    font-size: 20px;
    letter-spacing: .25rem;
    font-weight: normal;
}

.topics-heading {
    color: #bbc4ca !important;
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 20px;
    font-family: 'Zen Old Mincho', serif;
}

.meet-heading {
    color: #bbc4ca !important;
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 20px;
    font-family: 'Zen Old Mincho', serif;
}

.topics-lead {
    font-size: 14px;
    line-height: 1.8;
}

.meet-lead {
    font-size: 14px;
    line-height: 1.8;
}

.topics-heading-wrapper {
    width: max-content;
    margin: 0 auto;
    text-align: left;
}

.section-subtitle {
    font-size: 14px;
    color: white;
    /* background-color: var(--color-secondary); */
    display: inline-block;
    padding: 5px 15px;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
}

.section-subtitle::before {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: white;
    margin: 0 auto 15px;
}

/* ページごとのライン幅調整 */
.page-aboutus .section-subtitle::before {
    width: 260px;
}

.page-works .section-subtitle::before {
    width: 270px;
}

.page-contents .section-subtitle::before {
    width: 240px;
}

.page-contact .section-subtitle::before {
    width: 280px;
}

.page-works-detail .section-subtitle::before{
    /* width: 100%; */
    display: none;
}
.page-works-detail h1 {
    border-bottom: 1px solid #8f9da7;
    padding-bottom: 20px;
    margin-bottom: 60px !important;
}

.contact_lead {
    text-align: left;
    width: 800px;
    margin: auto;
}

/* 電話番号セクション */
.tel-number {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1;
}

.tel-number a {
    text-decoration: none;
    pointer-events: none;
    cursor: default;
}

.page-contact .tel-number a {
    color: #fff;
}

.page-entryform .tel-number a {
    color: var(--color-primary);
}

/* Contact form badges */
.contact-form .badge.bg-danger {
    background-color: #ffffff !important;
    color: #1e3d50 !important;
    border-radius: 50px;
}

.contact-form .badge.bg-secondary {
    background-color: #4a6372 !important;
    color: #fff !important;
    border-radius: 50px;
}
.entryform-row .contact-form .badge.bg-danger {
    background-color: #1e3d50 !important;
    color: #fff !important;
}
.entryform-row .contact-form .badge.bg-secondary {
    background-color: #b3bdc4 !important;
    color: #fff !important;
}


/* Contact submit button with arrow */
.contact-submit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-right: 50px !important;
    transition: all 0.3s ease;
    border: 1px solid #7a8d98 !important;
    width: 380px;
    border-radius: 5px;
    background-color: #5A7C8C;
    color: white;
}


.contact-submit-btn::after {
    content: '';
    position: absolute;
    right: 20px;
    width: 8px;
    height: 8px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.contact-submit-btn:hover {
    background-color: white !important;
    border: 1px solid #5A7C8C !important;
    color: #5A7C8C !important;
}

.contact-submit-btn:hover::after {
    right: 15px;
    border-top: 2px solid #5A7C8C;
    border-right: 2px solid #5A7C8C;
}

.entryform-row .contact-submit-btn {
    background-color: #1e3d50 !important;
}
.entryform-row .contact-submit-btn:hover {
    background-color: white !important;
    border: 1px solid #1e3d50 !important;
    color: #1e3d50 !important;
}
.entryform-row input[type="text"],
.entryform-row input[type="email"],
.entryform-row input[type="tel"],
.entryform-row input[type="number"],
.entryform-row input[type="password"],
.entryform-row input[type="date"],
.entryform-row textarea{
    background: #f4f5f8;
    border: none;
}
.entryform-row input[type=radio]{
    border-color: #1e3c50 !important;
}
/* Works フィルターボタン */
.page-works .btn-group {
    display: block;
    width: 100%;
}

.page-works .btn-group .btn {
    display: inline-block;
    width: auto;
    min-width: 109px;
    height: 30px;
    padding: 0 20px;
    border-radius: 15px !important;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    line-height: 30px;
    text-align: center;
    border: none;
    background-color: #4c5566;
    color: white;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin: 0 5px;
    vertical-align: middle;
}

/* Bootstrapのbtn-groupデフォルトスタイルを上書き */
.page-works .btn-group .btn:not(:first-child),
.page-works .btn-group .btn:not(:last-child) {
    border-radius: 15px !important;
}

.page-works .btn-group .btn::after {
    content: none;
}

.page-works .btn-group .btn:hover {
    background-color: #3a4050;
}

.page-works .btn-group .btn.active {
    background-color: white;
    color: #1c3b4f;
    border: 1.36px solid #777784;
    line-height: 2;
}

.page-works .btn-group .btn.active:hover {
    background-color: #f8f8f8;
}

/* Works ページネーション */
.page-works .pagination {
    gap: 15px;
    align-items: center;
}

.page-works .pagination .page-item {
    margin: 0;
}

.page-works .pagination .page-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: transparent;
    color: white;
    font-size: 16px;
    font-weight: 400;
    padding: 0 !important;
    line-height: 1;
    transition: all 0.3s ease;
}

.page-works .pagination .page-item.active .page-link {
    background-color: #6b7280;
    color: white;
}

.page-works .pagination .page-item:first-child .page-link,
.page-works .pagination .page-item:last-child .page-link {
    width: 60px;
    height: 60px;
    border: 2px solid white;
    background-color: transparent;
    font-size: 20px;
}

.page-works .pagination .page-item:first-child .page-link span,
.page-works .pagination .page-item:last-child .page-link span {
    display: none;
}

.page-works .pagination .page-item:first-child .page-link::before {
    content: '';
    width: 10px;
    height: 10px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

.page-works .pagination .page-item:last-child .page-link::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
}

.page-works .pagination .page-item.disabled .page-link {
    background-color: transparent;
    color: white;
    opacity: 0.5;
    border-color: white;
}

.page-works .pagination .page-link:hover:not(.disabled) {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.page-works .pagination .page-item.active .page-link:hover {
    background-color: #6b7280;
}

.section-bg-dark {
    background-color: var(--color-bg-dark);
    color: white;
    position: relative;
}

/* aboutus.html専用: 背景透過 */
.page-aboutus.section-bg-dark {
    background-color: transparent;
}

/* contents.html専用: 背景透過 */
.page-contents.section-bg-dark {
    background-color: transparent;
}

.section-bg-light {
    background-color: white;
}

/* Company & History テーブル */
.company-table,
.history-table {
    background-color: transparent !important;
}

.company-table th,
.company-table td,
.history-table th,
.history-table td {
    background-color: transparent !important;
    font-size: 14px;
    color: var( --color-primary) !important;
}

/* ====================================
   Related Cards
==================================== */
.related-card {
    display: block;
}

.related-card-title {
    color: var(--color-primary);
    font-size: 32px;
    font-weight: 400;
    font-family: 'Zen Old Mincho', serif;
    margin: 0 0 20px 0;
    text-align: left;
}

.related-card-image {
    border-radius: 5px;
    overflow: hidden;
}

.related-card-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-card:hover .related-card-image img {
    transform: scale(1.05);
}

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

/* ダークセクション内のカードホバー時はボタン直接ホバーと同じスタイルに統一 */
.section-bg-dark .related-card:hover .btn-outline-light {
    background-color: white;
    color: var(--color-primary);
    border-color: white;
}

.related-card-body {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 30px 0;
}

/* 紺背景の場合、.related-card-bodyの背景色を透明に */
.section-bg-dark .related-card-body {
    background: transparent;
}

/* 紺背景の場合、.related-card-titleの色を薄いグレーに */
.section-bg-dark .related-card-title {
    color: #d2d8dc;
}

/* ====================================
   Works Header
==================================== */
.works-header {
    position: relative;
    text-align: left;
    margin-bottom: 50px;
}

.works-header-content {
    position: relative;
    z-index: 2;
}

.works-header-content h2 {
    font-size: 40px;
}

.works-header-content p {
    max-width: 600px;
}

.works-header-bg {
    position: absolute;
    top: 20%;
    right: 0;
    transform: translateY(-50%);
    font-size: 120px;
    /* font-weight: 900; */
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    z-index: 1;
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -0.02em;
    font-family: 'Zen Old Mincho', serif;
}

@media (max-width: 992px) {
    .works-header-bg {
        font-size: 80px;
    }
}

@media (max-width: 768px) {
    .works-header-bg {
        font-size: 50px;
    }

    .works-header-content h2 {
        font-size: 28px;
    }
}

/* Section Header Background */
.section-header-wrapper {
    position: relative;
    height: 100px;
    margin-bottom: 30px;
    text-align: center;
}

.section-header-bg {
    /* position: absolute; */
    /* top: 0; */
    /* left: 50%; */
    /* transform: translateX(-50%); */
    font-size: 90px;
    /* font-weight: 900; */
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    z-index: 1;
    white-space: nowrap;
    pointer-events: none;
    font-family: 'Zen Old Mincho', serif;
}

/* About us section - dark background */
.section-bg-dark .section-header-bg {
    color: rgba(255, 255, 255, 0.03);
}

/* Light background sections */
.section-bg-light .section-header-bg {
    color: rgba(0, 0, 0, 0.02);
}

@media (max-width: 992px) {
    .section-header-bg {
        font-size: 70px;
    }

    .section-header-wrapper {
        height: 70px;
    }
}

@media (max-width: 768px) {
    .section-header-bg {
        font-size: 40px;
    }

    .section-header-wrapper {
        height: 50px;
        margin-bottom: 20px;
    }
}

/* ====================================
   カードデザイン
==================================== */
.card-item {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    /* border: 0px solid var(--color-primary); */
    /* box-shadow: 0 0 0 2px white, 0 0 0 2px var(--color-primary); */
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* カード全体をリンクにした場合のスタイル */
a.card-item {
    text-decoration: none;
    color: inherit;
}

a.card-item .card-link {
    cursor: pointer;
}

.card-item:hover {
    /* transform: translateY(-10px); */
    /* box-shadow: 0 0 0 4px white, 0 0 0 6px var(--color-primary), 0 8px 25px rgba(0, 0, 0, 0.15); */
}

.card-image {
    position: relative;
    overflow: hidden;
    padding-top: 66.67%;
    height: 340px;
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-item:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: 20px 35px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;

    /* background-color: #f00; */
}

.card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: nowrap;
}

.card-page-works-detail.card-tags {
    display: block;
    text-align: left;
}

.card-page-works-detail.card-tags .card-tag:not(:first-child){
    background-color: #4b6373;
}
.work_detail_detail_table table th,
.work_detail_detail_table table td{
    background-color: inherit !important;
    font-size: 14px;
    color: #fff;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1.5;
}
.position-relative.before:before {
    content: 'Before';
    display: block;
    position: absolute;
    bottom: -2rem;
    left: 0;
    font-family: 'Zen Old Mincho';
    font-size: 15px;
}
.position-relative.before:after {
    content: '';
    display: block;
    position: absolute;
    bottom: -1.75rem;
    left: 60px;
    width: 10px;
    height: 10px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(-45deg);
}
.position-relative.after:before {
    content: 'After';
    display: block;
    position: absolute;
    bottom: 0;
    left: -90px;
    font-family: 'Zen Old Mincho';
    font-size: 15px;
}
.position-relative.after:after {
    content: '';
    display: block;
    position: absolute;
    /* top: calc( 60% + .65rem ); */
    left: calc( -80px + 2.75rem );
    width: 10px;
    height: 10px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
    bottom: 0.4rem;
}
.position-relative.after img{
    position: relative;
}
.afterWrapper{
    position: relative;
}
.afterWrapper:before{
    content: '';
    display: block;
    position: absolute;
    /* top: calc( 60% + .65rem ); */
    left: calc( -80px + 2.75rem );
    width: 10px;
    height: 10px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
    bottom: 0.4rem;
}
.work_detail_detail_table table th{
    font-weight: normal;
    border-right: 1px solid #fff;
    width: 8em !important;
}
.work_detail_detail_table table td{
    padding-left: 2rem;
}
.work_detail_detail_table table{
    border-collapse: separate;
    border-spacing: 0 16px;
    margin-bottom: 80px;
}
.work_detail_outline{
    border-bottom: 1px solid #8e9da7;
    padding-bottom: 50px;
    margin-bottom: 70px;
}
.gallery_section{
    border-top: 1px solid #8e9da7;
    padding-top: 100px;
    margin-top: 100px;
    padding-bottom: 50px;
}
.card-tag {
    font-size: 12px;
    padding: 0px 8px 1px;
    border-radius: 20px;
    white-space: nowrap;
}

.card-tag:first-child {
    background-color: #fff;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.card-tag:not(:first-child) {
    background-color: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var( --color-primary );
    line-height: 1.5;
}

.card-date {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 15px;
    text-align: left;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 700;
    margin-top: auto;
    justify-content: flex-end;
    position: relative;
}

.card-link::after {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    margin-right: 5px;
}

.card-link:hover {
    color: var(--color-secondary);
}

/* ====================================
   サービスカード
==================================== */
.service-cards-row {
    align-items: stretch;
}

.service-cards-row > [class*="col-"] {
    padding-left: 40px;
    padding-right: 40px;
    display: flex;
}

.service-card {
    /* background: white; */
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* カードの高さのずれを再現 */
.service-card-1 {
    margin-top: 0;
}

.service-card-2 {
    /* margin-top: 60px; */
}

.service-card-3 {
    /* margin-top: 120px; */
}

.service-card img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 5px;
}

.service-card:hover {
    /* transform: translateY(-3px); */
}

.service-card-body {
    padding: 25px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card-title {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #4b6373;
    font-family: 'Zen Old Mincho', serif;
}

.service-card-body p {
    font-size: 14px;
    line-height: 1.6;
    /* color: var(--color-text-light); */
    color: #1e3c50;
    margin-bottom: 20px;
}

.service-card-body .btn-outline {
    margin-top: auto;
}

/* ====================================
   ボタン
==================================== */
.btn-primary {
    background-color: var(--color-accent-red);
    color: white;
    padding: 12px 35px;
    border-radius: 2px;
    display: inline-block;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    background-color: #C0392B;
    color: white;
    /* transform: translateY(-2px); */
    /* box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3); */
}

.btn-outline {
    background-color: transparent;
    color: white;
    padding: 20px 40px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-outline::after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: auto;
}

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

/* Dark background variant */
.section-bg-dark .btn-outline {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Light background variant - btn-outlineと全く同じ、色とwidth100%だけ変更、矢印を右端に */
.btn-outline-light {
    background-color: transparent;
    color: var(--color-primary);
    padding: 12px 30px;
    border-radius: 5px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid #8e9da7;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.btn-outline-light::after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

/* Dark variant - 横並び可能な濃紺色ボタン */
.btn-outline-dark {
    background-color: transparent;
    color: var(--color-primary);
    padding: 20px 50px 20px 40px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid #8e9da7;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.btn-outline-dark::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background-color: var(--color-primary);
    color: white;
    /* transform: translateY(-2px); */
    /* box-shadow: 0 4px 8px rgba(0,0,0,0.2); */
}

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

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

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    font-weight: 700;
    padding: 10px 30px;
    border: 2px solid var(--color-primary);
    border-radius: 30px;
    transition: all 0.3s ease;
}

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

/* Dark background variant */
.section-bg-dark .btn-more {
    color: white;
    border-color: white;
}

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

.page-top-topics-btn{
    width: 300px;
}

@media (max-width: 768px) {
    .page-top-topics-btn{
        width: 100%;
    }
}

/* ====================================
   パンくずリスト
==================================== */
.breadcrumb-area {
    background-color: var(--color-bg-light);
    padding: 15px 0;
    margin-top: 60px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb li a {
    color: var(--color-text-light);
}

.breadcrumb li a:hover {
    color: var(--color-secondary);
}

.breadcrumb li::after {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--color-text-light);
    border-right: 1px solid var(--color-text-light);
    transform: rotate(45deg);
    margin-left: 5px;
}

.breadcrumb li:last-child::after {
    display: none;
}

/* ====================================
   ページヘッダー
==================================== */
.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 79, 94, 0.7);
    z-index: 1;
}

.page-header img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.page-header-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header-content p {
    font-size: 16px;
}

/* ====================================
   レスポンシブ対応
==================================== */
@media (max-width: 768px) {
    .main-visual {
        height: 100vh;
    }

    .main-visual-text {
        left: 30px;
        top: 80px;
    }

    .main-visual-text h1 {
        font-size: 24px;
    }

    .main-visual-text p {
        font-size: 12px;
    }

    .main-visual-logo {
        max-width: 280px;
        width: 60%;
    }

    .main-visual-cta {
        bottom: 0px;
        right: 0px;
        padding: 20px;
    }

    .cta-text {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 13px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 28px;
        display: block;
    }

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

    .page-header {
        height: 300px;
    }

    .page-header-content h1 {
        font-size: 32px;
    }

.page-top {
    bottom: 20px;
    right: inherit;
    width: 45px;
    height: 45px;
    left: 20px;
}

.works-header-bg {
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(-50%);
    font-size: 120px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    z-index: 1;
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -0.02em;
    font-family: 'Zen Old Mincho', serif;
    /* background: #f00; */
    width: 100%;
    text-align: center;
    /* margin-bottom: 1em; */
}

}

/* ====================================
   Topics Slider
==================================== */
.topics-slider-wrapper {
    position: relative;
}

.topics-slider {
    overflow: hidden;
    padding: 0 50px;
}

@media (min-width: 1024px) {
    .topics-slider {
        padding: 0;
        margin: auto 3rem;
    }
}

.topics-slider .swiper-slide {
    height: auto;
}

.topics-slider .card-item {
    height: 100%;
    background: white;
    /* border-radius: 5px; */
    border-radius: 0;
    overflow: hidden;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    box-shadow: none;
}

.topics-slider .card-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.topics-slider .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.topics-slider .card-body {
    padding: 20px 0;
}

.topics-slider .card-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.topics-slider .card-title {
    font-size: 14px;
    font-weight: 700;
    color: var( --color-primary );
    margin-bottom: 15px;
    line-height: 1.6;
}

.topics-slider .card-link {
    font-size: 13px;
    color: var(--color-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.topics-slider .card-link::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231e3c50' stroke-width='2'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E"); */
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 5px;
}

.topics-slider .card-link:hover {
    /* transform: translateX(5px); */
}

/* Navigation Arrows */
.topics-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.topics-slider-prev,
.topics-slider-next {
    width: 40px;
    height: 40px;
    background: #1e3c50;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    color: white;
}

.topics-slider-prev:hover,
.topics-slider-next:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.topics-slider-prev:focus,
.topics-slider-next:focus {
    outline: none;
}

.topics-slider-prev {
    position: absolute;
    left: 0;
}

.topics-slider-next {
    position: absolute;
    right: 0;
}

/* ====================================
   ページ別ヒーローエリア
==================================== */
.page-hero {
    height: calc( 70vh - 80px );
    position: relative;
    overflow: hidden;
    background: var(--color-bg-dark);
    /* margin-bottom: -70px; */
}
.page-hero-works {
    background: var(--color-bg-dark);
}
/* Topics ページネーション（白背景用） */
.page-topics .pagination {
    gap: 15px;
    align-items: center;
}


.page-topics .pagination .page-item {
    margin: 0;
}

.page-topics .pagination .page-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: transparent;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 400;
    padding: 0 !important;
    line-height: 1;
    transition: all 0.3s ease;
}

.page-topics .pagination .page-item.active .page-link {
    background-color: #d2d8dc;
    color: #1e3c50;
}

.page-topics .pagination .page-item:first-child .page-link,
.page-topics .pagination .page-item:last-child .page-link {
    width: 60px;
    height: 60px;
    border: 1px solid var(--color-primary);
    background-color: transparent;
    font-size: 20px;
}

.page-topics .pagination .page-item:first-child .page-link span,
.page-topics .pagination .page-item:last-child .page-link span {
    display: none;
}

.page-topics .pagination .page-item:first-child .page-link::before {
    content: '';
    width: 10px;
    height: 10px;
    border-left: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    transform: rotate(45deg);
}

.page-topics .pagination .page-item:last-child .page-link::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
    transform: rotate(45deg);
}

.page-topics .pagination .page-item.disabled .page-link {
    background-color: transparent;
    color: var(--color-primary);
    opacity: 0.5;
    border-color: var(--color-primary);
}

.page-topics .pagination .page-link:hover:not(.disabled) {
    background-color: rgba(28, 59, 79, 0.1);
    color: var(--color-primary);
}

.page-topics .pagination .page-item.active .page-link:hover {
    background-color: #6b7280;
}

/* topics.html専用: 白背景 */
.page-hero-topics {
    background: white;
}

.page-hero-topics + .page-hero-breadcrumb {
    background: white;
    margin-bottom: 0 !important;
}

.page-hero-topics + .page-hero-breadcrumb .breadcrumb-item {
    color: var(--color-primary);
}

.page-hero-topics + .page-hero-breadcrumb .breadcrumb-item a {
    color: var(--color-primary);
}

.page-hero-topics + .page-hero-breadcrumb .breadcrumb-item.active {
    color: var(--color-primary);
}

.page-hero-topics + .page-hero-breadcrumb .breadcrumb-item::after {
    border-top-color: var(--color-primary);
    border-right-color: var(--color-primary);
}

/* topics_detail.html専用: 白背景 */
.page-hero-topics-detail {
    background: white;
}

.page-hero-topics-detail + .page-hero-breadcrumb {
    background: white;
}

.page-hero-topics-detail + .page-hero-breadcrumb .breadcrumb-item {
    color: var(--color-primary);
}

.page-hero-topics-detail + .page-hero-breadcrumb .breadcrumb-item a {
    color: var(--color-primary);
}

.page-hero-topics-detail + .page-hero-breadcrumb .breadcrumb-item.active {
    color: var(--color-primary);
}

.page-hero-topics-detail + .page-hero-breadcrumb .breadcrumb-item::after {
    border-top-color: var(--color-primary);
    border-right-color: var(--color-primary);
}

/* staff.html専用: 白背景 */
.page-hero-staff {
    background: white;
}

.page-hero-staff + .page-hero-breadcrumb {
    background: white;
}

.page-hero-staff + .page-hero-breadcrumb .breadcrumb-item {
    color: var(--color-primary);
}

.page-hero-staff + .page-hero-breadcrumb .breadcrumb-item a {
    color: var(--color-primary);
}

.page-hero-staff + .page-hero-breadcrumb .breadcrumb-item.active {
    color: var(--color-primary);
}

.page-hero-staff + .page-hero-breadcrumb .breadcrumb-item::after {
    border-top-color: var(--color-primary);
    border-right-color: var(--color-primary);
}

/* staff.html専用: ヘッダー要素を濃紺に */
.page-staff-body .header-logo img {
    filter: brightness(0) saturate(100%) invert(18%) sepia(15%) saturate(2500%) hue-rotate(157deg) brightness(94%) contrast(92%);
}

.page-staff-body .hamburger span {
    background-color: var(--color-primary);
}

.page-staff-body .header-icon {
    color: var(--color-primary);
}

/* ハンバーガーメニュー展開時は白色に */
.page-staff-body:has(.hamburger.active) .header-icon {
    color: white !important;
}

.page-staff-body .hamburger.active span {
    background-color: white !important;
}

.page-staff-body .section-subtitle {
    color: var(--color-primary);
}

.page-staff-body .section-subtitle::before {
    background-color: var(--color-primary);
    width: 350px !important;
}

/* aboutus.html専用: ハンバーガーメニュー展開時は白色に */
.page-aboutus-body:has(.hamburger.active) .header-icon {
    color: white !important;
}

.page-aboutus-body .hamburger.active span {
    background-color: white !important;
}

/* contents.html専用: ハンバーガーメニュー展開時は白色に */
.page-contents-body:has(.hamburger.active) .header-icon {
    color: white !important;
}

.page-contents-body .hamburger.active span {
    background-color: white !important;
}

/* recruit.html専用: 白背景 */
.page-hero-recruit {
    background: white;
}

.page-hero-recruit + .page-hero-breadcrumb {
    background: white;
}

.page-hero-recruit + .page-hero-breadcrumb .breadcrumb-item {
    color: var(--color-primary);
}

.page-hero-recruit + .page-hero-breadcrumb .breadcrumb-item a {
    color: var(--color-primary);
}

.page-hero-recruit + .page-hero-breadcrumb .breadcrumb-item.active {
    color: var(--color-primary);
}

.page-hero-recruit + .page-hero-breadcrumb .breadcrumb-item::after {
    border-top-color: var(--color-primary);
    border-right-color: var(--color-primary);
}

/* recruit.html専用: ヘッダー要素を濃紺に */
.page-recruit-body .header-logo img {
    filter: brightness(0) saturate(100%) invert(18%) sepia(15%) saturate(2500%) hue-rotate(157deg) brightness(94%) contrast(92%);
}

.page-recruit-body .hamburger span {
    background-color: var(--color-primary);
}

.page-recruit-body .header-icon {
    color: var(--color-primary);
}

/* ハンバーガーメニュー展開時は白色に */
.page-recruit-body:has(.hamburger.active) .header-icon {
    color: white !important;
}

.page-recruit-body .hamburger.active span {
    background-color: white !important;
}

.page-recruit-body .section-subtitle {
    color: var(--color-primary);
}

.page-recruit-body .section-subtitle::before {
    background-color: var(--color-primary);
}

/* entryform.html専用: 白背景 */
.page-hero-entryform {
    background: white;
}

.page-hero-entryform + .page-hero-breadcrumb {
    background: white;
}

.page-hero-entryform + .page-hero-breadcrumb .breadcrumb-item {
    color: var(--color-primary);
}

.page-hero-entryform + .page-hero-breadcrumb .breadcrumb-item a {
    color: var(--color-primary);
}

.page-hero-entryform + .page-hero-breadcrumb .breadcrumb-item.active {
    color: var(--color-primary);
}

.page-hero-entryform + .page-hero-breadcrumb .breadcrumb-item::after {
    border-top-color: var(--color-primary);
    border-right-color: var(--color-primary);
}

/* entryform.html専用: ヘッダー要素を濃紺に */
.page-entryform-body .header-logo img {
    filter: brightness(0) saturate(100%) invert(18%) sepia(15%) saturate(2500%) hue-rotate(157deg) brightness(94%) contrast(92%);
}

.page-entryform-body .hamburger span {
    background-color: var(--color-primary);
}

.page-entryform-body .header-icon {
    color: var(--color-primary);
}

/* ハンバーガーメニュー展開時は白色に */
.page-entryform-body:has(.hamburger.active) .header-icon {
    color: white !important;
}

.page-entryform-body .hamburger.active span {
    background-color: white !important;
}

.page-entryform-body .section-subtitle {
    color: var(--color-primary);
}

.page-entryform-body .section-subtitle::before {
    background-color: var(--color-primary);
}

/* flow_shop.html専用: 白背景 */
.page-hero-flow-shop {
    background: white;
}

.page-hero-flow-shop + .page-hero-breadcrumb {
    background: white;
}

.page-hero-flow-shop + .page-hero-breadcrumb .breadcrumb-item {
    color: var(--color-primary);
}

.page-hero-flow-shop + .page-hero-breadcrumb .breadcrumb-item a {
    color: var(--color-primary);
}

.page-hero-flow-shop + .page-hero-breadcrumb .breadcrumb-item.active {
    color: var(--color-primary);
}

.page-hero-flow-shop + .page-hero-breadcrumb .breadcrumb-item::after {
    border-top-color: var(--color-primary);
    border-right-color: var(--color-primary);
}

/* flow_shop.html専用: ヘッダー要素を濃紺に */
.page-flow-shop-body .header-logo img {
    filter: brightness(0) saturate(100%) invert(18%) sepia(15%) saturate(2500%) hue-rotate(157deg) brightness(94%) contrast(92%);
}

.page-flow-shop-body .hamburger span {
    background-color: var(--color-primary);
}

.page-flow-shop-body .header-icon {
    color: var(--color-primary);
}

/* ハンバーガーメニュー展開時は白色に */
.page-flow-shop-body:has(.hamburger.active) .header-icon {
    color: white !important;
}

.page-flow-shop-body .hamburger.active span {
    background-color: white !important;
}

.page-flow-shop-body .section-subtitle {
    color: var(--color-primary);
}

.page-flow-shop-body .section-subtitle::before {
    background-color: var(--color-primary);
}

/* flow_renovation.html専用: 濃紺背景 */
.page-hero-flow-renovation {
    background: transparent;
}

.page-hero-flow-renovation + .page-hero-breadcrumb {
    background: transparent;
}

.page-hero-flow-renovation + .page-hero-breadcrumb .breadcrumb-item {
    color: white;
}

.page-hero-flow-renovation + .page-hero-breadcrumb .breadcrumb-item a {
    color: white;
}

.page-hero-flow-renovation + .page-hero-breadcrumb .breadcrumb-item.active {
    color: white;
}

.page-hero-flow-renovation + .page-hero-breadcrumb .breadcrumb-item::after {
    border-top-color: white;
    border-right-color: white;
}

/* flow_renovation.html専用: ヘッダー要素を白に（初期状態） */
.page-flow-renovation-body .header-logo img {
    filter: none;
}

.page-flow-renovation-body .hamburger span {
    background-color: white;
}

.page-flow-renovation-body .header-icon {
    color: white;
}

/* ハンバーガーメニュー展開時も白色に */
.page-flow-renovation-body:has(.hamburger.active) .header-icon {
    color: white !important;
}

.page-flow-renovation-body .hamburger.active span {
    background-color: white !important;
}

.page-flow-renovation-body .section-subtitle {
    color: white;
}

.page-flow-renovation-body .section-subtitle::before {
    background-color: white;
}

/* flow_shop.html専用: 流れステップ */
.flow-step-content {
    position: relative;
}

.flow-step-number {
    font-size: 30px;
    font-weight: 300;
    color: #d2d8dc;
    line-height: 1;
    margin-bottom: 20px;
    font-family: 'Zen Old Mincho', serif;
}
.flow-shop-steps .flow-step-number {
    color: #8e9da7;
}

.flow-step-title {
    font-size: 17px;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.flow-step-text {
    font-size: 16px;
    color: var(--color-primary);
    line-height: 1.8;
}

.flow-contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 40px;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

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

.flow-contact-btn:hover svg {
    stroke: white;
}

/* Dark background variant for flow steps */
.section-bg-dark .flow-step-title {
    color: white;
}

.section-bg-dark .flow-step-text {
    color: white;
}

.section-bg-dark .flow-contact-btn {
    border-color: white;
    color: white;
}

.section-bg-dark .flow-contact-btn:hover {
    background-color: white;
    color: var(--color-primary);
}

.section-bg-dark .flow-contact-btn svg {
    stroke: white;
}

.section-bg-dark .flow-contact-btn:hover svg {
    stroke: var(--color-primary);
}

.mb-80 {
    margin-bottom: 80px;
}

/* 募集要項のdl/dt/dd横並びレイアウト */
.recruit-dl {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid #8e9da7;
    padding-bottom: 1rem;
    margin: 20px 0;
}

.recruit-dl dt {
    font-weight: normal;
    min-width: 4.5em;
    flex-shrink: 0;
    font-size: 14px;
    color: #4b6373;
    font-weight: 500;
}

.recruit-dl dd {
    margin: 0;
    flex: 1;
    font-size: 14px;
    color: #1e3c50;
}
.recruit-dl dd ul {
    margin-left: 0;
    padding-left: 1em;
}
.recruit-dl dd ul li::marker {
    color: #8e9da7;
}
.recruit-dl:last-of-type {
    border:none;

}

/* お問い合わせボタンの矢印 */
.recruit-contact-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-right: 50px !important;
    transition: all 0.3s ease;
    border: 1px solid transparent !important;
}

.recruit-contact-btn::after {
    content: '';
    position: absolute;
    right: 20px;
    width: 8px;
    height: 8px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.recruit-contact-btn:hover {
    background-color: white !important;
    border: 1px solid var(--color-primary) !important;
    color: var(--color-primary) !important;
}

.recruit-contact-btn:hover::after {
    right: 15px;
    border-top: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
}

/* topics.html専用: ヘッダー要素を濃紺に */
.page-topics-body .header-logo img {
    filter: brightness(0) saturate(100%) invert(18%) sepia(15%) saturate(2500%) hue-rotate(157deg) brightness(94%) contrast(92%);
}

.page-topics-body .hamburger span {
    background-color: var(--color-primary);
}

.page-topics-body .header-icon {
    color: var(--color-primary);
}

/* ハンバーガーメニュー展開時は白色に */
.page-topics-body:has(.hamburger.active) .header-icon {
    color: white !important;
}

.page-topics-body .hamburger.active span {
    background-color: white !important;
}

.page-topics-body .section-subtitle {
    color: var(--color-primary);
}

.page-topics-body .section-subtitle::before {
    background-color: var(--color-primary);
    width: 300px;
}

.page-topics-body .card-item {
    border-radius: 0;
    box-shadow: none;
}

.page-topics-body .card-image {
    border-radius: 5px;
    height: auto;
    padding-top: 0;
    aspect-ratio: 3 / 2;
}

.page-topics-body .card-image img {
    position: static;
}
.page-topics .card-body{
    padding: 25px 0;
}



/* topics_detail.html専用スタイル - 白背景パターン */
.page-topics-detail-body .section {
    background-color: white;
    color: #333333;
}

.page-topics-detail-body .section-bg-light {
    background-color: #f8f9fa;
}

.page-topics-detail-body .site-footer {
    background-color: white;
}

.page-topics-detail-body .header-logo img {
    filter: brightness(0) saturate(100%) invert(18%) sepia(15%) saturate(2500%) hue-rotate(157deg) brightness(94%) contrast(92%);
}

.page-topics-detail-body .hamburger span {
    background-color: var(--color-primary);
}

.page-topics-detail-body .header-icon {
    color: var(--color-primary);
}
.topics_detail_pagination {
    margin-top: 70px !important;
    border-bottom: 1px solid #8e9da7;
    padding-bottom: 80px;
    margin-bottom: 0;
}
.topics_detail_pagination .pagination-circle-btn{
    border-color: #8e9da7;
}
.topics_detail_pagination .pagination-center-btn{
    border-color: #8e9da7;
}
.topics_detail_other .card-body{
    padding: 30px 0;
}
/* ハンバーガーメニュー展開時は白色に */
.page-topics-detail-body:has(.hamburger.active) .header-icon {
    color: white !important;
}

.page-topics-detail-body .hamburger.active span {
    background-color: white !important;
}

.page-topics-detail-body .section-subtitle::before {
    /* background-color: var(--color-primary); */
    /* width: 100%; */
    display: none;
}
.page-topics-detail-body h1{
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 20px;
    margin-bottom: 60px !important;
}

.pagination_works_detail{
    border-bottom: 1px solid #8e9da7;
    padding-bottom: 80px;
}


/* ページネーションボタン */
.pagination-circle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--color-primary);
    background-color: white;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.pagination-center-btn {
    min-width: 200px;
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid var(--color-primary);
    background-color: white;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

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

.otherTopics .card-item {
    border-radius: 0px;
    box-shadow: none;
}
.otherTopics .card-image{
    border-radius: 5px;
    height: auto;
    padding-top: 0;
    aspect-ratio: 3 / 2;
}

.otherTopics .card-image img {
    position: static;
}

.otherTopics .card-title,
.otherTopics .card-date{
    color: var(--color-primary);
}

.date-tags-wrapper {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    gap: 15px;
}

.date-tags-wrapper .topics_detail,
.date-tags-wrapper .works_detail_data {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.date-tags-wrapper .card-tags {
    margin-bottom: 0 !important;
}
.section-bg-dark .section-subtitle {
    color: white !important;
}

.section-bg-dark .section-subtitle::before {
    background-color: white !important;
}

.page-hero-inner {
    position: absolute;
    top: 80px;
    right: 80px;
    /* bottom: 80px; */
    bottom: 0px;
    left: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    border-radius: 10px;
}

.page-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 50vh; /* 画像の高さを制限 */
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42, 63, 80, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.page-hero-title {
    font-size: 64px;
    font-weight: 300;
    margin-bottom: 10px;
    color: white;
    font-family: 'Zen Old Mincho', serif;
}

.page-hero-subtitle {
    font-size: 18px;
    color: white;
}

.page-hero-breadcrumb {
    padding: 10px 80px 20px;
    background: #1e3d50;
    z-index: 1;
    position: relative;
    width: 100%;
}

.page-hero-breadcrumb .breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

.page-hero-breadcrumb .breadcrumb-item {
    color: #fff;
}

.page-hero-breadcrumb .breadcrumb-item a {
    color: #fff;
    text-decoration: none;
}

.page-hero-breadcrumb .breadcrumb-item a:hover {
    opacity: 0.7;
}

.page-hero-breadcrumb .breadcrumb-item.active {
    color: #fff;
}

.page-hero-breadcrumb .breadcrumb-item::after {
    border-top-color: #fff;
    border-right-color: #fff;
}

/* 他のページ用の高さ調整 */
.page-hero-small {
    height: 70vh;
}

@media (max-width: 768px) {
    .header-logo {
        top: 13px;
        left: 20px;
        width: 160px;
    }

    .header-icons {
        top: 20px;
        right: 20px;
    }

    .page-hero-inner {
        top: 15px;
        right: 15px;
        bottom: 15px;
        left: 15px;
    }

    .page-hero-title {
        font-size: 40px;
    }

    .page-hero-subtitle {
        font-size: 16px;
    }

    .page-hero-breadcrumb {
        padding: 10px 20px 15px;
    }
}

.contents_works .card-item{
    border-radius: 0;
}
#flow-renovation-works.contents_works .card-item{
    border-radius: 5px;
    box-shadow: none;
}
.contents_works .card-image{
    height: 330px;
    border-radius: 5px 5px 0 0;
}
.contents_works .card-body{
    border-radius: 0 0 5px 5px;
    background-color: #f4f5f6;
}
/* ========================================
   Privacy Policy Page Styles
   ======================================== */

.page-privacypolicy-body {
    background-color: #2A3F50;
    color: white;
}

.page-privacypolicy-body .site-header .header-logo img {
    filter: none;
}

.page-privacypolicy-body .header-icon {
    color: white;
}

.page-privacypolicy-body .hamburger span {
    background-color: white;
}

.privacypolicy-hero {
    padding: 100px 0 60px;
    background-color: #2A3F50;
}

.privacypolicy-hero-content {
    text-align: center;
}

.privacypolicy-hero-title {
    font-size: 48px;
    font-weight: 400;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.privacypolicy-hero-subtitle {
    font-size: 16px;
    color: white;
    margin: 0;
}

.privacypolicy-breadcrumb {
    background-color: #2A3F50;
    padding: 20px 0 40px;
}

.privacypolicy-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
}

.privacypolicy-breadcrumb .breadcrumb-item,
.privacypolicy-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.privacypolicy-breadcrumb .breadcrumb-item.active {
    color: white;
}

.privacypolicy-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
    content: ">";
}

.privacypolicy-content {
    background-color: #2A3F50;
    padding: 40px 0 80px;
    color: white;
}

.privacypolicy-intro {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.privacypolicy-intro p {
    font-size: 15px;
    line-height: 1.8;
    color: white;
}

.privacypolicy-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.privacypolicy-section:last-of-type {
    border-bottom: none;
}

.privacypolicy-section-title {
    font-size: 18px;
    font-weight: 500;
    color: white;
    margin-bottom: 20px;
}

.privacypolicy-section-text {
    font-size: 15px;
    line-height: 1.8;
    color: white;
    margin-bottom: 15px;
    margin-left: 1.5rem;
}

.privacypolicy-list {
    list-style: none;
    padding-left: 0;
    margin: 20px;
}

.privacypolicy-list li {
    font-size: 15px;
    line-height: 1.8;
    color: white;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.privacypolicy-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: white;
    font-size: 9px;
    line-height: 3;
}

.privacypolicy-contact-info {
    margin: 25px 0;
}

.privacypolicy-contact-info p {
    font-size: 15px;
    color: white;
}

.privacypolicy-btn {
    display: inline-block;
    padding: 12px 40px;
    background-color: #f8f8f8;
    border: 1px solid #f8f8f8;
    color: #2A3F50;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.privacypolicy-btn:hover {
    background-color: white;
    color: #2A3F50;
    border-color: white;
}

.privacypolicy-back {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
}

.privacypolicy-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.privacypolicy-back-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.privacypolicy-back-btn::before {
    content: "←";
    font-size: 16px;
}

/* Privacy Policy page button style */
.page-privacypolicy-body .btn-outline-light {
    color: white;
    border: 1px solid #8e9da7;
}

.page-privacypolicy-body .btn-outline-light:hover {
    background-color: white;
    color: var(--color-primary);
    border-color: white;
}

@media (max-width: 768px) {
    .privacypolicy-hero {
        padding: 80px 0 40px;
    }

    .privacypolicy-hero-title {
        font-size: 36px;
    }

    .privacypolicy-content {
        padding: 30px 0 60px;
    }

    .privacypolicy-section-title {
        font-size: 16px;
    }
}

/* ===================================
   Staff Detail Page Styles
   =================================== */

.page-staff-detail h1::after {
    content: '';
    width: 80%;
    height: 1px;
    background: #1c3b4f;
    display: block;
    position: absolute;
    bottom: -30px;
    left: 10%;
}


/* Header styling for white background */
.page-staff-detail-body .header-logo img {
    filter: brightness(0) saturate(100%) invert(18%) sepia(15%) saturate(2500%) hue-rotate(157deg) brightness(94%) contrast(92%);
}

.page-staff-detail-body .hamburger span {
    background-color: var(--color-primary);
}

.page-staff-detail-body .header-icon {
    color: var(--color-primary);
}

/* ハンバーガーメニュー展開時は白色に */
.page-staff-detail-body:has(.hamburger.active) .header-icon {
    color: white !important;
}

.page-staff-detail-body .hamburger.active span {
    background-color: white !important;
}

/* Page Hero */
.page-hero-staff-detail {
    background-size: cover;
    background-position: center;
    height: 300px;
}

/* Staff Detail Card */
.staff-detail-card {
    /* background: white; */
    padding: 40px;
    border-radius: 5px;
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.05); */
}

/* Position Badge */
.staff-position-badge {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    padding: 3px 24px;
    border-radius: 20px;
    font-size: 14px;
    /* font-weight: 500; */
    margin-bottom: 20px;
}

/* Staff Name */
.staff-name-jp {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 30px !important;

}

.staff-name-en {
    font-size: 16px;
    color: #666666;
    margin-bottom: 0;
    margin-bottom: 50px !important;
}

/* Staff Photo */
.staff-detail-photo {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
}

/* Staff Label */
.staff-label {
    display: inline-block;
    background-color: #DC3545;
    color: white;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 500;
}

/* Info Box */
.staff-info-box {
    background-color: #F5F5F5;
    padding: 30px;
    border-radius: 5px;
    height: 100%;
}

.staff-info-table {
    width: 100%;
}

.staff-info-table th {
    font-weight: 500;
    color: #2A3F50;
    padding: 12px 0;
    /* border-bottom: 1px solid #E0E0E0; */
    vertical-align: top;
    width: 100px;
}
.staff-info-table tr.bdrnone th,
.staff-info-table tr.bdrnone td {
    border-bottom: none;
}
.wline{
    position: relative;
    font-size: 16px !important;
}
.wline span{
    background-color: #f5f5f5;
    padding-right: .5rem;
    z-index: 9999;
    position: relative;
}
.staff-schedule-table .wline span{
    background-color: #fff;
}
.staff_detail_pagination{
    margin-top: 50px !important;
    padding-bottom: 50px;
}
.staff_detail_pagination .pagination-center-btn{
    border-color: #8e9da7;
    background-color: var(--color-primary);
    color: white;
}
.staff_detail_pagination .pagination-center-btn:hover{
    background-color: white;
    color: var(--color-primary);
}
.staff_detail_pagination .pagination-circle-btn{
    border-color: #d2d8dc;
    background-color: #d2d8dc;
    color: var(--color-primary);
}
.staff_detail_pagination .pagination-circle-btn:hover{
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}
.staff_detail_line {
    border-bottom: 1px solid #8e9da7;
    margin-top: 30px;
}

.staff-gallery {
    gap: 40px;
    margin-top: 20px !important;
}

.staff-gallery-image {
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 5px;
}

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

.page-recruit .staff_detail_line {
    border-bottom: 1px solid #8e9da7;
    margin-top: 60px;
}

.wline::after {
    content: '';
    width: 100%;
    height: 1px;
    background-color: #8e9da7;
    display: inline;
    position: absolute;
    margin-top: 16px;
    right: 0;
}

.staff-info-table td {
    color: #2A3F50;
    padding: 12px 0;
    /* border-bottom: 1px solid #E0E0E0; */
    vertical-align: top;
}

.staff-info-table tr:last-child th,
.staff-info-table tr:last-child td {
    border-bottom: none;
}

/* Schedule Box */
.staff-schedule-box {
    border: 1px solid #8e9da7;
    /* padding: 30px; */
    /* border-radius: 5px; */
    height: 100%;
}

.staff-schedule-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.staff-schedule-table {
    width: 100%;
}

.staff-schedule-table th {
    font-weight: 500;
    color: #333333;
    padding: 12px 12px 12px 0;
    /* border-bottom: 1px solid #E0E0E0; */
    vertical-align: top;
    width: 60px;
    text-align: left;
}

.staff-schedule-table td {
    color: #666666;
    padding: 12px 0;
    /* border-bottom: 1px solid #E0E0E0; */
    /* vertical-align: top; */
    font-size: 14px;
    line-height: 1.6;
}

.staff-schedule-table tr:last-child th,
.staff-schedule-table tr:last-child td {
    border-bottom: none;
}

/* Message Box */
.staff-message-box {
    background-color: #F5F5F5;
    padding: 30px;
    border-radius: 5px;
    margin-top: 20px;
}

.staff-message-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.staff-message-text {
    color: #666666;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 0;
}

.staff-wrapper {
    position: relative;
    padding-bottom: 80px;
}

.staff-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 66.66%;
    height: 1px;
    border-bottom: 1px solid #8e9da7;
}

.staff-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.staff-card-link:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .staff-detail-card {
        padding: 20px;
    }

    .staff-name-jp {
        font-size: 24px;
    }

    .staff-detail-photo {
        width: 200px;
        height: 200px;
    }

    .staff-info-box,
    .staff-schedule-box {
        padding: 20px;
    }

    .staff-info-table th {
        width: 4.5rem;
        font-size: 14px;
    }

    .staff-info-table td {
        font-size: 14px;
    }

    .staff-schedule-table th {
        width: 50px;
        font-size: 13px;
    }

    .staff-schedule-table td {
        font-size: 13px;
    }

    .staff-message-box {
        padding: 20px;
    }
    .about-pageTitle{
        font-size: 36px !important;
    }


}

/* Works Slider Navigation */
.works-slider-wrapper {
    position: relative;
}

.works-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.works-slider-prev,
.works-slider-next {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    color: white;
}
.works-slider-prev{
    margin-left: -45px;
}
.works-slider-next {
    margin-right: -45px;
}
.works-slider-prev svg,
.works-slider-next svg{
    stroke: #1e3c50;
}
.works-slider-prev svg{
    padding-left: 0.5rem;
    width: 30px;
}
.works-slider-next svg{
    padding-right: 0.5rem;
    width: 30px;
}

.works-slider-prev:hover,
.works-slider-next:hover {
    /* background: var(--color-primary); */
    /* border-color: var(--color-primary); */
}


/* PC/SP display control */
.pc {
    display: block;
}

.sp {
    display: none;
}

@media (max-width: 767px) {
    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }
}

/* Topics Detail Other - PC/SP display control */
.topics-detail-other-slider-sp {
    display: none;
}

@media (max-width: 767px) {
    .topics-detail-other-grid-pc {
        display: none !important;
    }

    .topics-detail-other-slider-sp {
        display: block !important;
    }
}

.btn_flow{
    width: 260px;
}


@media (max-width: 767px) {

.btn_flow{
    width: 100%;
    margin: 0 auto;
}
.works-header-content h2 {
    font-size: 28px !important;
    line-height: 1.5;
    padding-top: 50px;
    letter-spacing: .25em;
}
.works-header-bg{
    font-size: 50px;
}
.works-slider-wrapper{
    margin: 1rem;
}

.meet-team-wrapper{
    position: relative;
}
.meet-team-image {
    background-image: url('../img/top/img_team.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    min-height: inherit;
    /* border-radius: 5px; */
    position: absolute;
    left: 1.5rem;
    top: 20px;
    width: 80px;
    height: 80px;
    background-position: center top;
}
.service-card-2{
    margin-top: 0;
}
.service-card-3{
    margin-top: 0;
}
.sp-dsp-block{
    display: block !important;
}
.footer-logo{
    display: block;
    text-align: center;
}
.footer-info p {
    margin: 5px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}
.footer-content {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px 0;
    margin: auto 1rem;
}
.footer-info{
    grid-column: 1 / 4;
    margin-bottom: 30px;
}
.footer-content .footer-nav:nth-child(2){
    /* width: 100%; */
    grid-column: 1 / 3;
}
.footer-content .footer-nav:nth-child(3){
    /* width: 100%; */
    grid-column: 3 / 4;
}
.footer-sub-item a{
    font-size: 12.5px !important;
}
.site-footer{
    padding-bottom: 100px;
}
.page-hero {
    margin-top: 50px;
    height: 50vh;
}
.page-aboutus .page-hero-inner{
    background-position: 80%;
}
.about-img-wrap .col-6{
    padding: 0 !important;
    margin-top: 0;
}
.about-img-wrap .col-6 img{
    border-radius: 0 !important;
}
.page-hero-breadcrumb{
    position: relative;
    margin-top: 0;
    padding-top: 0;
}
.page-topics .pagination .page-item:first-child .page-link, .page-topics .pagination .page-item:last-child .page-link {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-primary);
    background-color: transparent;
    font-size: 20px;
}
.page-topics .pagination .page-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background-color: transparent;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 400;
    padding: 0 !important;
    line-height: 1;
    transition: all 0.3s ease;
}
.page-topics .pagination {
    gap: 5px;
    align-items: center;
}
.pagination-center-btn {
    min-width: 150px;
}
.pagination-circle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-primary);
    background-color: white;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 9px;
    font-weight: 500;
    transition: all 0.3s ease;
}
    .fs-16.sp-fs-13{
        font-size: 13px !important;
        line-height: 1.5;
    }
    .fs-15.sp-fs-14{
        font-size: 14px !important;
    }
    .page-works .pagination {
        gap: 10px;
        align-items: center;
    }
    .page-works .pagination .page-item:first-child .page-link, .page-works .pagination .page-item:last-child .page-link {
        width: 40px;
        height: 40px;
        border: 1px solid white;
        background-color: transparent;
        font-size: 18px;
    }
    .page-works .pagination .page-link {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: none;
        background-color: transparent;
        color: white;
        font-size: 13px;
        font-weight: 400;
        padding: 0 !important;
        line-height: 1;
        transition: all 0.3s ease;
    }
    .page-works .pagination .page-item:first-child .page-link{
        margin-right: .5rem;
    }
    .page-works .pagination .page-item:last-child .page-link{
        margin-left: .5rem;
    }
    .page-works .pagination .page-item:first-child .page-link::before {
        content: '';
        width: 6px;
        height: 6px;
        border-left: 1px solid white;
        border-bottom: 1px solid white;
        transform: rotate(45deg);
    }
    .page-works .pagination .page-item:last-child .page-link::before {
        content: '';
        width: 6px;
        height: 6px;
        border-top: 1px solid white;
        border-right: 1px solid white;
        transform: rotate(45deg);
    }
    .page-topics .pagination {
    gap: 10px;
    align-items: center;
}
    .page-topics .pagination .page-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background-color: transparent;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 400;
    padding: 0 !important;
    line-height: 1;
    transition: all 0.3s ease;
}
.page-topics .pagination .page-item:first-child .page-link, .page-topics .pagination .page-item:last-child .page-link {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-primary);
    background-color: transparent;
    font-size: 20px;
}
.page-topics .pagination .page-item:first-child .page-link{
        margin-right: .5rem;
}
.page-topics .pagination .page-item:last-child .page-link{
        margin-left: .5rem;

}
.page-topics .pagination .page-item:first-child .page-link::before {
    content: '';
    width: 6px;
    height: 6px;
    border-left: 1px solid var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
    transform: rotate(45deg);
}
.page-topics .pagination .page-item:last-child .page-link::before {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--color-primary);
    border-right: 1px solid var(--color-primary);
    transform: rotate(45deg);
}
}

/* contents.html Our Works セクション PC/SP表示制御 */
.contents-works-grid-pc {
    display: none !important;
}

.works-slider-wrapper.contents-works-slider-sp {
    display: block !important;
}

@media (min-width: 992px) {
    .contents-works-grid-pc {
        display: flex !important;
    }
    .works-slider-wrapper.contents-works-slider-sp {
        display: none !important;
    }
}

/* index.html Our Works セクション PC/SP表示制御 */
.index-works-grid-pc {
    display: none !important;
}

.works-slider-wrapper.index-works-slider-sp {
    display: block !important;
}

@media (min-width: 768px) {
    .index-works-grid-pc {
        display: flex !important;
    }
    .works-slider-wrapper.index-works-slider-sp {
        display: none !important;
    }
}

/* Works Detail Other - PC/SP display control */
.works-detail-other-grid-pc {
    display: none !important;
}

.works-slider-wrapper.works-detail-other-slider-sp {
    display: block !important;
}

@media (min-width: 768px) {
    .works-detail-other-grid-pc {
        display: flex !important;
    }
    .works-slider-wrapper.works-detail-other-slider-sp {
        display: none !important;
    }
}

/* flow_renovation.html Our Works セクション PC/SP表示制御 */
.flow-renovation-works-grid-pc {
    display: none !important;
}

.works-slider-wrapper.flow-renovation-works-slider-sp {
    display: block !important;
}

@media (min-width: 992px) {
    .flow-renovation-works-grid-pc {
        display: flex !important;
        justify-content: center;
    }
    .works-slider-wrapper.flow-renovation-works-slider-sp {
        display: none !important;
    }
}

/* flow_shop.html Our Works セクション PC/SP表示制御 */
.flow-shop-works-grid-pc {
    display: none !important;
}

.works-slider-wrapper.flow-shop-works-slider-sp {
    display: block !important;
}

@media (min-width: 992px) {
    .flow-shop-works-grid-pc {
        display: flex !important;
        justify-content: center;
    }
    .works-slider-wrapper.flow-shop-works-slider-sp {
        display: none !important;
    }
}

.page-hero.page-aboutus,
.page-hero-breadcrumb.page-aboutus-breadcrumb{
    background: #1e3d50 !important;
    margin-bottom: 0;
}


.page-works .card-title,
.page-index-works .card-title,
.contents_works .card-title {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: .05rem;
}

/* ====================================
   Masonry Gallery
==================================== */
.masonry-grid {
    display: block;
}

.masonry-grid-item {
    width: calc(50% - 7.5px);
    margin-bottom: 15px;
}

.masonry-grid-item a {
    display: block;
    position: relative;
    overflow: hidden;
    /* border-radius: 5px; */
    cursor: pointer;
}

.masonry-grid-item a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.masonry-grid-item a:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

.masonry-grid-item img {
    display: block;
    width: 100%;
    height: auto;
    /* border-radius: 5px; */
    transition: transform 0.3s ease;
}

.masonry-grid-item a:hover img {
    transform: scale(1.05);
}

/* PC: 3カラム */
@media (min-width: 992px) {
    .masonry-grid-item {
        width: calc(33.333% - 10px);
    }
}

/* ====================================
   GLightbox カスタマイズ
==================================== */
/* 画像を100%にフィットさせる */
.glightbox-clean .gslide-image img,
.glightbox-modern .gslide-image img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.glightbox-clean .gslide-media,
.glightbox-modern .gslide-media {
    width: 100%;
    max-width: 100%;
}

.glightbox-clean .gslide-inline,
.glightbox-modern .gslide-inline {
    max-width: 100%;
}

/* オーバーレイクリックで閉じる */
.goverlay,
.gslide {
    pointer-events: auto !important;
    cursor: pointer;
}

/* キャプションスタイル */
.glightbox-clean .gslide-description,
.glightbox-clean .gdesc-inner {
    background: transparent !important;
}
.glightbox-clean .gslide-title {
    color: #fff !important;
}

/* ====================================
   works_detail.html ページネーション
==================================== */
.page-works-detail .pagination-center-btn {
    border: 1px solid #8e9da7;
    background-color: #1e3c50;
    color: white;
}

.page-works-detail .pagination-center-btn:hover {
    background-color: #fff;
    color: #1e3c50;
}

.page-works-detail .pagination-circle-btn {
    border: 1px solid #8e9da7;
    background-color: #1e3c50;
    color: white;
}

.page-works-detail .pagination-circle-btn:hover {
    background-color: #8e9da7;
    color: #1e3c50;
}

.page-recruit-body .section-subtitle::before{
    width: 300px !important;
}

.line-down-center{
    border-bottom: 1px solid #8e9da7 !important;
    margin-bottom: 100px !important;
}


.list-kome{
    list-style: none;
    padding-left: 0;
}
.list-kome li{
    text-align: left;
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 5px;
}

.list-kome li::before {
    content: "※";
    position: absolute;
    left: 0;
    color: white;
    font-size: 14px;
    line-height: 1.75rem;
}

.page-entryform .list-kome li::before {
    color: var(--color-text);
}

.contact_notice{
    width: 800px;
    margin: auto;
}

.pp_link{
    color: #fff;
    text-decoration: underline;
}
.pages-entryform-privacy-policy .pp_link{
    color: var(--color-text);
}
.topics-slider-nav .topics-slider-prev{
    left: 0px;
}
.history-table th,
.history-table td{
    border-bottom: 1px solid #d2d8dc;
    font-weight: normal;
    padding: 1.4rem 0;
}
.history-table th{
    font-weight: 500;
}
.company-table th{
    font-weight: 500;
}
.company-table td{
    font-weight: normal;
}
#company-section{
    
}

.flow_renovation-contact-btn,
.flow_shop-contact-btn{
    width: 300px;
}

@media (max-width: 767px) {
    .page-staff-body .section-subtitle::before{
        width: 100% !important;
    }
    .staff-wrapper::after{
        width: 90% !important;
    }

    .view-all-works-btn-wrapper{
        margin: 0 .5rem 0 !important;
        /* margin-top: 2rem !important; */
        /* test */
    }
    .index-works-slider-sp{
        margin-bottom: 0 !important;
        margin: 0 1.5rem;
    }
    .sp_img_right{
        transform: translateX(1rem);
        border-radius: 5px 0 0 5px !important; 
    }
    .works-header-content{
        margin: auto 1rem;
    }
    .about-wrapper {
        margin-top: 1rem;
    }

    .about-wrapper h3,
    .about-wrapper p{
        margin: auto 1rem;
    }
    .section-header-wrapper{

    }
    .section-header-bg {
        font-size: 50px;
    }
    .btn_outline{
        width: calc(100% - 2rem) !important;
        margin: auto 1rem;
    }
    .section-about-us h3 {
        font-size: 22px !important;
        line-height: 1.5;
        letter-spacing: .25em;
    }
    #our-services-section h2{
        font-size: 22px !important;
        line-height: 1.5;
        letter-spacing: .25em;
    }
    .about-pageTitle{
        font-size: 42px !important;
    }
    #our-services-section h2{
        margin: auto 1rem 2rem;
    }
    #our-services-section .our-services-title p{
        margin: auto 1rem;
    }
    .our-services-title{
        margin-bottom: 30px;
    }
    #our-services-section .service-card-body{
        padding: 25px 0 0;
    }
    #our-services-section .service-card-body p{

    }
    #our-services-section{
        padding-bottom: 10px;
    }
    .topics-heading{
        font-size: 55px !important;
        text-align: center;
    }
    .topics-lead{
        font-size: 14px !important;
    }
    #index-topics-section .section-title{
        margin-bottom: 2rem;
    }
    .topics-slider {
        overflow: hidden;
        padding: 0 1rem;
    }
    .topics-slider-prev {
       position: absolute;
       left: -30px;
    }
    .topics-slider-next {
        position: absolute;
        right: -30px;
    }
    .topics-slider-nav{
        top: 20%;
    }

    .works-slider-prev svg,
    .topics-slider-prev svg {
        padding-left: 10px;
        width: 30px;
        height: 30px;
        margin-left: 0.75rem;
    }
    .works-slider-next svg,
    .topics-slider-next svg {
        padding-right: 10px;
        width: 30px;
        height: 30px;
        margin-right: 0.75rem;
    }
    .breadcrumb li{
        gap: 2px;
    }
    .breadcrumb-item+.breadcrumb-item::before{
        display: none;
    }
    #aboutus-section .aboutus_title_wrapper > P{
        margin: auto 1rem;
    }
    #message-section{
        padding-top: 20px;
    }
    .company-table th{
        width: 7em;
    }
    .related-card-body{
        padding-bottom: 0;
    }
    .page-topics-body .section-subtitle::before{
        width: 100% !important;
    }
    .page-topics-body .section-subtitle{
        display: block;
    }
    .page-topics .section-title{
        margin-bottom: 2rem !important;
    }
    .page-topics-body .card-item{
        margin: auto 1rem;
    }
    .page-topics-body .card-image{

        height: auto !important;
    }
    .page-topics-card-row{
        --bs-gutter-y: 1rem;
    }
    .topics_detail{
        display: inline-block !important;
    }
    .card-page-works-detail,
    .card-page-works-detail .car-tag{
        display: inline-block !important;
    }
    .page-topics-detail .date-tags-wrapper{
        text-align: left !important;
        margin: auto 1rem;
        gap: 10px;
    }
    .page-topics-detail .section-title{
        margin-bottom: 2rem !important;
    }
    .topicsDetailOtherSwiper{
        width: 90%;
        margin: auto;
    }
    .topicsDetailOtherSwiper .card-image{
        height: auto !important;
    }
    .page-works .btn-group {
        /* display: flex;
        flex-wrap: wrap;
        justify-content: flex-start; */
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: flex-start;
    }
    .page-works .btn-group .btn{
        margin: 5px !important;
        padding: 0px 10px 7px !important;
        flex: 0 0 auto;
        width: auto;
    }
    .works_grid_wrapper{
        margin: auto 0rem;
        --bs-gutter-y: 2rem;
    }
    .card-page-works-detail.card-tags {
        display: block;
        text-align: left;
        display: block !important;
        margin-left: 0 !important;
        margin-bottom: 2px !important;
    }
    .page-works-detail .section-title{
        margin-bottom: 2rem !important;
    }
    .work_detail_detail_table table th {
        font-weight: normal;
        border-right: 1px solid #fff;
        width: 7em !important;
    }
    .work_detail_detail_table table td {
        padding-left: 1rem;
    }
    .works_detail_data,
    .card-page-works-detail,
    .work_detail_outline{
        margin: auto 1rem;
    }
    .work_detail_detail_table{
        margin: auto 0rem;
    }
    .work_detail_detail_table h2{
        margin-top: 4rem;
    }
    .position-relative.before:after {
        content: '';
        display: block;
        position: absolute;
        bottom: -1.5rem;
        left: 50px;
        width: 8px;
        height: 8px;
        border-top: 1px solid #fff;
        border-right: 1px solid #fff;
        transform: rotate(45deg);
    }
    .position-relative.after:before {
        content: 'After';
        display: block;
        position: absolute;
        bottom: -2rem;
        left: 0;
        font-family: 'Zen Old Mincho';
        font-size: 16px;
        top: inherit;
    }
    .position-relative.after:after {
        content: '';
        display: block;
        position: absolute;
        top: auto !important;
        left: 45px;
        width: 8px;
        height: 8px;
        border-top: 1px solid #fff;
        border-right: 1px solid #fff;
        transform: rotate(45deg);
        bottom: -1.5rem;
    }
    .afterWrapper:before {
        content: '';
        display: block;
        position: absolute;
        top: auto;
        left: 67px;
        width: 8px;
        height: 8px;
        border-top: 1px solid #fff;
        border-right: 1px solid #fff;
        transform: rotate(45deg);
        bottom: -1.5rem;
    }
    .contents_lead,
    .contents_text{
        margin: auto 1rem;
    }
    #contents-section{
        padding-bottom: 0 !important;
    }
    #renovation-section,
    #store-construction-section{
        margin: auto 1rem;
    }
.contents_en_title {
    font-size: 30px !important;
    margin-bottom: 30px !important;
}
.contents_title {
    font-size: 20px !important;
    /* background-color: #f00; */
    margin-bottom: 30px !important;
}
.contents_body{
    margin-bottom: 0 !important;
}
.contents_wrap{
    margin-top: 1.5rem;
}
.content_btn_wrap {
    margin-top: 20px !important;
}
    .works-slider-prev,
    .works-slider-next{
        background-color: var(--color-primary) !important;
    }
    .works-slider-prev svg,
    .works-slider-next svg{
        stroke: white !important;
    }
    #contents-section .flow_renovation_lead,
    #contents-section .flow_shop_lead{
        margin: auto 1rem;
        text-align: left;
    }
    #flow-renovation-steps,
    #flow-shop-steps{
        margin: auto 1rem;
    }
    .flow_renovation-contact-btn,
    .flow_shop-contact-btn{
        width: 100%;
    }
    .line-down-center {
        border-bottom: 1px solid #8e9da7 !important;
        margin-bottom: 70px !important;
        width: 90%;
    }
    .step-unit{
        margin-bottom: 40px !important;
    }
    .flow-step-number,
    .flow-step-title{
        text-align: center !important;
    }
    .page-staff h1{
        font-size: 35px !important;
    }
    .page-staff-body .section-subtitle{
        width: 100% !important;
    }
    .staff-wrapper {
        margin: auto 0rem !important;
        padding-bottom: 60px !important;
    }
    .staff-wrapper::after {
        width: 90% !important;
    }
    .related-section{
        /* margin: auto 1rem; */
        /* background-color: #f0f; */
    }
    .staff-detail-photo {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }
    .staff-detail-photo-wrapper{
        margin-bottom: 1rem !important;
    }
    .staff-schedule-table .wline span {
        background-color: #fff;
        font-size: 15px;
    }
    .staff_detail_pagination{
        margin-top: 20px !important;
        padding-bottom: 20px !important;
    }
    .staff-gallery {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .staff-gallery-image {
        width: 100%;
        max-width: 300px;
        height: auto;
        aspect-ratio: 3 / 2;
    }
    .staff-detail-related-section{
        /* margin: auto 1rem !important; */
        margin: auto !important;
        padding-top: 10px;
    }
    .staff_detail_pagination .pagination-center-btn{
        min-width: 130px;
    }
    .page-recruit-body .section-subtitle{
        width: 100% !important;
    }
    .page-recruit-body .section-subtitle::before{
        width: 100% !important;
    }
    .page-recruit .section-title{
        margin-bottom: 50px;
    }
    .recruit_lead{
        margin: auto 1rem;
    }
    .recruit-table-wrapper{
        /* margin: auto 0rem; */
    }
    .recruit-table-col{
        margin: auto 1rem;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    .contact-submit-btn {
        width: 90% !important;
        margin: 0 auto;
    }
    .contact-submit-btn-wrapper{
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }
    .recruit-related-section{
        /* margin: auto 1rem !important; */
        margin: auto !important;
    }
    .page-contact .section-subtitle::before{
        width: 100% !important;
    }
    .page-contact .section-subtitle{
        display: block;
    }
    .contact_lead{
        width: 100%;
    }
    .contact_lead_wrapper{
        margin: auto 1rem;
    }
    .contact-form{
        margin: auto 1rem;
    }
    .form-syubetsu-wrapper{
        flex-wrap: wrap;
        row-gap: 0rem !important;
        margin-top: .5rem;
    }
    .form-syubetsu-wrapper .form-check{
        display: inline;
        margin: 0;
    }
    .contact_notice{
        width: 100%;
        /* margin: auto 1rem; */
    }
    .history-table-wrap{
        border-top: 1px solid #8e9da7;
        margin-top: 50px;
        padding-top: 70px;
    }
    .company-table, .history-table{
        width: calc(100% - 2rem);
        margin: auto;
    }
    .history-table th{
        width: 3.8em;
    }
    .sp-btn{
        width: calc(100% - 2rem) !important;
        margin: auto auto 3rem;
    }
    .topics-slider-nav .topics-slider-prev {
        left: calc( -0.75rem - 25px ) !important;
    }
    .topics-slider-nav .topics-slider-next{
        right: calc( -0.75rem - 25px ) !important;
    }
    .page-index-works-slider-nav .works-slider-prev,
    .page-index-works-slider-nav .works-slider-next{
        background-color: #fff !important;
    }
    .page-index-works-slider-nav .works-slider-prev svg,
    .page-index-works-slider-nav .works-slider-next svg{
        stroke: #1e3c50 !important;
    }
    #message-section .aboutus-message-wrapper{
        margin: auto 1rem;
    }
    .related-card-body .btn-outline-light{
        font-size: 16px !important;
    }
    .contents_units > div > img{
        margin-bottom: 0px !important;
    }
    .contents_units > div > h3{
        margin: 1rem auto .75rem !important;
    }
    .btn-outline{
        font-size: 14px !important;
        padding: 20px !important;
    }
    .works-slider-prev, .works-slider-next,
    .topics-slider-prev, .topics-slider-next {
        width: 50px;
        height: 50px;
    }
    .works-slider-prev {
        margin-left: calc( -55px - .75rem );
    }
    .works-slider-next {
        margin-right: calc( -55px - .75rem );
    }
    .related-card{
        margin: auto 1rem;
    }
    .related-card{
        /* background: #f00; */
    }
    .page-contents .section-subtitle::before {
        width: 80vw;
    }
    .footer-bottom p{
        text-align: center;
    }
    .step-unit .col-lg-5{
        margin-top: 1.75rem;
    }
    .card-image {
    height: 300px;
}

.meet-team .btn_wrapper {
    width: 100%;
    margin: auto;
    margin-bottom: 10px;
}
.about-firstRead{
    margin-bottom: 30px !important;
}
.page-aboutus-body .section-title {
    margin-bottom: 40px;
}
.page-staff-detail-body .recruit-table-col {
    margin: auto 0;
}
.related-section-common{
    /* margin: 0 1rem !important; */
    margin: 0 .5rem !important;
}
.gallery_section{
    margin-left: .5rem;
    margin-right: .5rem;
}
.company-table{
    margin-bottom: 20px;
}
.contact_lead {
    text-align: justify !important;
}
.contact-submit-btn{
    width: 100% !important;
}
.privacypolicy-intro,
.privacypolicy-section{
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.privacypolicy-section-title{
    line-height: 1.8;
}
.privacypolicy-section-text {
    font-size: 15px;
    line-height: 1.8;
    color: white;
    margin-bottom: 15px;
    margin-left: 1rem;
}
.privacypolicy-btn{
   width: 100%;
    text-align: center; 
}
.page-works .section-title{
    margin-bottom: 20px !important;
}
.page-works .filter_wrap{
    margin-bottom: 0px !important;
}
.recruit_lead{
    margin-bottom: 0 !important;
}
}

/* pc/sp */
.service-card-body p{
    text-align:justify;
}
.contact-form input[type=radio] {
    border-color: #fff !important;
    background: #1e3d50;
}

.rounded{
    border-radius: 5px !important;
}
.form-check .form-check-input {
    float: left;
    margin-left: -1.5em;
    margin-top: .45em;
}
.form-control {
    border-radius: 5px !important;
}
.recruit_lead{
    color: #1e3c50;
}
.related-section-common{
    max-width: 1000px;
    margin: auto;
}
.related-section-common.related-works-detail{
    max-width: unset;
    margin: unset;
}
.flow-shop-works-btn a,
.contents-works-btn-wrap a,
.flow-renovation-works-slide-btn a{
    width: 260px;
}

.topics-slider-nav .topics-slider-next{
    right: -1rem;
}
.topics-slider-nav .topics-slider-prev{
    left: -1rem;
}
/* ====================================
   Contact Form 7 リセット・カスタマイズ
==================================== */

/* CF7が自動で追加するスタイルをリセット */
.wpcf7 {
    margin: 0;
    padding: 0;
}

.wpcf7 form {
    margin: 0;
    padding: 0;
}

.wpcf7 form p {
    margin: 0;
    padding: 0;
}

.wpcf7 form br {
    display: none;
}

/* CF7のラッパー要素のスタイルリセット */
.wpcf7-form-control-wrap {
    display: block;
    position: static;
}

/* ラジオボタン・チェックボックスのラッパー */
.wpcf7-radio,
.wpcf7-checkbox,
.wpcf7-acceptance {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ラジオボタン・チェックボックスの各項目 */
.wpcf7-radio .wpcf7-list-item,
.wpcf7-checkbox .wpcf7-list-item {
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin: 0;
}

/* ラジオボタン・チェックボックスのinput */
.wpcf7 input[type="radio"],
.wpcf7 input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--color-primary);
}

/* contact（暗い背景用）ラジオボタン */
.page-contact .wpcf7 input[type="radio"],
.page-contact .wpcf7 input[type="checkbox"] {
    border: 2px solid #fff;
    background-color: transparent;
}

/* contactページのラベルテキスト色 */
.page-contact .wpcf7-list-item-label {
    color: #fff;
}

/* entryformページのラベルテキスト色 */
.page-entryform .wpcf7-list-item-label {
    color: var(--color-primary);
}

/* 送信ボタン */
.wpcf7 input[type="submit"] {
    cursor: pointer;
}

/* バリデーションエラー */
.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* 送信完了/エラーメッセージ */
.wpcf7-response-output {
    margin: 1rem 0 0 0 !important;
    padding: 1rem !important;
    border-radius: 5px;
}

.wpcf7-mail-sent-ok {
    border-color: #28a745 !important;
    background-color: rgba(40, 167, 69, 0.1);
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    border-color: #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1);
}

/* 承認チェックボックス */
.wpcf7-acceptance .wpcf7-list-item {
    margin: 0 !important;
}

.wpcf7-acceptance input[type="checkbox"] {
    margin-right: 0.5rem;
}

/* CF7用幅指定クラス */
.wpcf7 .w-zip {
    max-width: 200px;
}

.wpcf7 .w-date {
    max-width: 300px;
}

/* CF7のsubmit inputスタイル */
.wpcf7 input[type="submit"].contact-submit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 50px 15px 20px !important;
    transition: all 0.3s ease;
    border: 1px solid #7a8d98 !important;
    width: 380px;
    border-radius: 5px;
    background-color: #5A7C8C;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.wpcf7 input[type="submit"].contact-submit-btn:hover {
    background-color: white !important;
    border: 1px solid #5A7C8C !important;
    color: #5A7C8C !important;
}

.entryform .wpcf7 input[type="submit"].contact-submit-btn {
    background-color: #1e3d50 !important;
}

.entryform .wpcf7 input[type="submit"].contact-submit-btn:hover {
    background-color: white !important;
    border: 1px solid #1e3d50 !important;
    color: #1e3d50 !important;
}

/* CF7 プライバシーポリシー チェックボックス調整 */
.wpcf7-acceptance {
    display: inline-flex !important;
    align-items: center;
    gap: 0;
}

.wpcf7-acceptance .wpcf7-list-item {
    display: inline-flex !important;
    align-items: center;
    margin: 0 !important;
}

.wpcf7-acceptance .wpcf7-list-item label {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.wpcf7-acceptance input[type="checkbox"] {
    margin: 0 !important;
    flex-shrink: 0;
}

.form-check .wpcf7-form-control-wrap {
    display: inline-flex;
    align-items: center;
}

.form-check .wpcf7-acceptance + .form-check-label,
.form-check .wpcf7-form-control-wrap + .form-check-label {
    display: inline;
    margin-left: 0.5rem;
}

/* CF7 submitボタン アイコン位置修正 - CF7フォーム内のみ */
.wpcf7 .contact-submit-btn-wrapper {
    position: relative;
    display: inline-flex;
}

.wpcf7 .contact-submit-btn-wrapper .wpcf7-spinner {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.wpcf7 .contact-submit-btn-wrapper::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    pointer-events: none;
    z-index: 1;
}

.wpcf7 .contact-submit-btn-wrapper:hover::after {
    border-top-color: #5A7C8C;
    border-right-color: #5A7C8C;
}

.entryform .wpcf7 .contact-submit-btn-wrapper:hover::after {
    border-top-color: #1e3d50;
    border-right-color: #1e3d50;
}
