/* ========================================
   FAVORS Real Estate Theme - Main Styles
   ======================================== */

/* Noto Sans JP Font Loading */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Font Size Management (10px = 1rem) */
html {
    font-size: 62.5%;
}

/* Root Variables */
:root {
    /* Color Palette */
    --primary-color: #435B75;
    --secondary-color: #7DAADB;
    --accent-color: #FF6B35;
    --text-dark: #0F2E53;
    --text-muted: #7F8C8D;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --border-color: #E9ECEF;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);

    /* Typography */
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-secondary: 'Noto Serif JP', serif;

    /* Font Weights for Noto Sans JP */
    --font-weight-thin: 100;
    --font-weight-light: 200;
    --font-weight-demilight: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 600;
    --font-weight-black: 700;

    /* Spacing */
    --section-padding: 4rem 0;

    /* Border Radius */
    --border-radius: 8px;
    --border-radius-lg: 15px;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* Base Styles */
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    font-weight: var(--font-weight-medium);
    font-size: 1.4rem;
}

p,
a {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--text-dark);
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--font-weight-medium);
}

/* Container */
.container {
    width: 98%;
    max-width: 960px;
    margin: 0 auto;
}

.hero-container {
	width: 98%;
    max-width: 1070px;
    margin: 0 auto;
}

.header-container {
    width: 98%;
    margin: 0 auto;
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

/* 管理バーが表示されている場合の調整 */
.admin-bar .site-header {
    top: 32px;
}

.hero-title-bottom {
    transform: translateX(56px);
	margin-top: -3rem;
}

.hero-subtitle-bottom {
	transform: translateX(22px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 40px;
}

/* Logo */
.logo-area {
    display: flex;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: cover;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: #F2F2F2;
    border-radius: 60px;
    padding: 10px 38px;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
    transition: color 0.3s ease;
    position: relative;
    display: inline-flex;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.4s ease;
}

.nav-menu a:hover::after {
    width: 100%;
    right: auto;
    left: 0;
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 10px;
}

/* Service Modal Styles */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.service-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.service-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.service-modal-content {
    position: fixed;
    transform: scale(0.8) translateY(-10px);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-width: 400px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001;
    opacity: 0;
    /* 初期位置 - JavaScriptで動的に変更される */
    /* top: -9999px;
    left: -9999px; */
    /* アニメーションの基準点 */
    transform-origin: center top;
    pointer-events: auto;
}

.service-modal.active .service-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}


.service-modal-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    margin: 0;
}

.service-modal-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.service-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.service-modal-body {
    padding: 2rem 2.5rem;
}

.service-modal-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-modal-menu li {
    margin-bottom: 1rem;
}

.service-modal-menu li:last-child {
    margin-bottom: 0;
}

.service-modal-menu a {
    display: block;
    padding: 1.5rem 2rem;
    color: var(--text-dark);
    text-decoration: none;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    font-size: 1.6rem;
    font-weight: var(--font-weight-medium);
    position: relative;
    overflow: hidden;
}

.service-modal-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(67, 91, 117, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-modal-menu a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 91, 117, 0.15);
}

.service-modal-menu a:hover::before {
    left: 100%;
}



/* CTA Button */
.cta-button {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 7px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    width: 190px;
}

.section-cta-button {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    width: 200px;
    overflow: hidden;
}

.cta-primary {
    background-color: var(--primary-color);
    color: var(--white);
    overflow: hidden;
}

.cta-primary .fa-arrow-right {
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background: linear-gradient(145deg, #3f566f, #4b6784);
    box-shadow: 20px 20px 60px #3c5269,
        -20px -20px 60px #516e8d;
}

.cta-button:hover .fa-arrow-right,
.section-cta-button:hover .fa-arrow-right,
.news-cta-button:hover .fa-arrow-right {
    transform: translateX(10px);
}

.cta-white .fa-arrow-right {
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background: #F2F2F2;
    box-shadow:
        inset 1px 1px 2px rgba(255, 255, 255, 0.3),
        inset -1px -1px 2px rgba(218, 218, 218, 0.5),
        -5px 5px 10px rgba(218, 218, 218, 0.2),
        5px -5px 10px rgba(218, 218, 218, 0.2),
        -5px -5px 10px rgba(255, 255, 255, 0.9),
        5px 5px 13px rgba(218, 218, 218, 0.9);
}

.cta-secondary {
    background-color: var(--light-gray);
    color: var(--text-dark);
}

.cta-secondary:hover {
    background-color: #E5E5E5;
    transform: translateY(-2px);
}

/* Main Content */
.site-main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* 管理バーが表示されている場合のメインコンテンツ調整 */
.admin-bar .site-main {
    margin-top: 112px;
    /* 80px + 32px */
}



/* Section Common Styles */
.section {
    margin-top: 100px;
}

/* Company Info Section Styles */
.company-info-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.company-info-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Company Details (Left Side) */
.company-details {
    background: var(--white);
}

.company-details-title {
    font-size: 2.4rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.company-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.4rem;
    line-height: 1.6;
}

.company-info-table th {
    background-color: var(--light-gray);
    padding: 1.5rem 2rem;
    text-align: left;
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    width: 30%;
    vertical-align: top;
}

.company-info-table td {
    padding: 1.5rem 2rem;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    vertical-align: top;
}

.company-info-table tr:nth-child(even) {
    background-color: #fafafa;
}

.company-info-table tr:hover {
    background-color: #f5f5f5;
    transition: background-color 0.3s ease;
}

/* Access Info (Right Side) */
.access-info {
    background: var(--white);
}

.map-section {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-light);
    margin-bottom: 3rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.access-details {
    flex: 1;
}

.access-details h3 {
    font-size: 2rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.access-item {
    margin-bottom: 2.5rem;
}

.station-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
}

.station-icon {
    font-size: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    flex-shrink: 0;
}

.station-details strong {
    font-size: 1.8rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.5rem;
}

.station-details p {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin: 0;
}

.access-description {
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--text-dark);
    padding: 0 1.5rem;
    margin: 0;
}

.nearby-stations {
    margin-top: 3rem;
}

.nearby-stations h4 {
    font-size: 1.6rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.station-photo {
    width: 100%;
    height: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-light);
}

.building-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.building-image:hover {
    transform: scale(1.05);
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-title {
    font-size: 4.8rem;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: var(--font-weight-light);
    position: relative;
    z-index: 2;
}



.home-section-title {
    font-size: 4.4rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: 0.6rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.news-section-title {
    font-size: 4.4rem;
    font-weight: var(--font-weight-medium);
    margin-bottom: 0.6rem;
    color: var(--white);
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.6rem;
    color: var(--primary-color);
}

.news-section-subtitle {
    color: var(--white);
}

.section-header {
    margin-bottom: 2rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: var(--white);
    overflow: hidden;
    padding-top: 84px;
}

.hero-content {
    position: relative;
    width: 100%;
    /* height: calc(100vh - 98px); */
    display: flex;
    flex-direction: column;
}

.hero-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    z-index: 2;
    position: relative;
}

.hero-text-left {
    width: auto;
    text-align: left;
}

.hero-text-right {
    width: auto;
    text-align: left;
	margin-top: 20px;
	transform: translateX(-22px);
}

.hero-title {
    font-size: 8.5rem;
    font-weight: var(--font-weight-thin);
    color: var(--primary-color);
    line-height: 1.4;
}

.hero-title br {
    line-height: 0.1;
}

.hero-subtitle {
    font-size: 2.2rem;
    font-weight: var(--font-weight-demilight);
    color: var(--text-dark);
    margin: 0;
    font-family: var(--font-primary);
}

.hero-image {
    flex: 1;
    position: relative;
    width: 98%;
    margin: 0 auto;
    margin-top: 16px;
}

.hero-image img {
    width: 100%;
    /* height: calc(100vh - 350px); */
    height: 470px;
    object-fit: cover;
    /* border-radius: 30px; */
    object-position: 0 -70px;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 10rem 0;
    margin-top: 160px;
}

/* 
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
} */

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 6rem;
    flex-wrap: wrap;
}

/* 左側：ロゴセクション */
.footer-left {
    flex: 0 0 400px;
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 60px;
}


/* フッターロゴ画像 */
.footer-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    object-fit: cover;
}

.footer-company-info p {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: var(--font-weight-regular);
}

.footer-copyright p {
    font-size: 1.4rem;
    color: var(--white);
    font-weight: var(--font-weight-regular);
}

.footer-company-info {
    margin-bottom: 60px;
}

/* 右側：ナビゲーション */
.footer-right {
    flex: 1;
}

.footer-nav-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.nav-row {
    display: flex;
    gap: 4rem;
}

.nav-item {
    flex: 1;
    min-width: 200px;
}

.nav-item h3 {
    margin-bottom: 4px;
    color: var(--white);
}

.nav-item h3 a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
}

.nav-item h3 a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: white;
    transition: width 0.4s ease;
}

.nav-item h3 a:hover::after {
    width: 100%;
}

.nav-item p {
    font-size: 1.2rem;
    color: #F2F2F2;
    margin-bottom: 1rem;
    font-weight: var(--font-weight-regular);
}

/* Service専用スタイル */
/* .service-item {
    min-width: 300px;
} */

.service-submenu {
    list-style: none;
    margin-top: 12px;
}

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

.service-submenu li a {
    color: #F2F2F2;
    text-decoration: none;
    font-size: 1.4rem;
    transition: opacity 0.3s ease;
    display: inline-block;
    font-weight: var(--font-weight-regular);
    position: relative;
}

.service-submenu li a::before {
    content: "—";
    color: #60CAFF;
    margin-right: 0.5rem;
}

.service-submenu li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: white;
    transition: width 0.4s ease;
}

.service-submenu li a:hover::after {
    width: 100%;
}

/* フッター内の一般的なリンクスタイル */
footer a:not(.service-submenu a):not(.nav-item h3 a):not(.footer-logo-link) {
    position: relative;
    text-decoration: none;
}

footer a:not(.service-submenu a):not(.nav-item h3 a):not(.footer-logo-link)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: white;
    transition: width 0.4s ease;
}

footer a:not(.service-submenu a):not(.nav-item h3 a):not(.footer-logo-link):hover::after {
    width: 100%;
}



/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(67, 91, 117, 0.3);
}

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

.back-to-top:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Message Display */
.message {
    position: fixed;
    top: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    color: var(--white);
    font-weight: var(--font-weight-medium);
    z-index: 1001;
    transform: translateX(100%);
    transition: var(--transition);
}

.message.show {
    transform: translateX(0);
}

.message.success {
    background: var(--primary-color);
}

.message.error {
    background: #E74C3C;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger-menu span {
    display: inline-block;
    width: 18px;
    height: 1px;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease, background-color 0.6s ease;
    backdrop-filter: blur(0px);
    pointer-events: none;

    /* 常に中央配置を維持 */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 管理バーが表示されている場合のモバイルメニュー調整 */
.admin-bar .mobile-menu {
    top: 0;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    pointer-events: auto;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* モーダル内のコンテンツボックス */
.mobile-menu-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2),
        0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 90vw;
    max-height: 80vh;
    width: 400px;
    overflow: hidden;
    position: relative;

    /* 中央基準の位置設定 */
    margin: auto;

    /* 初期状態 - 中央を基準にしたスケール */
    transform: scale(0.8) translateY(-20px);
    transform-origin: center center;
    opacity: 0;

    /* アニメーション */
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.6s ease;
}

.mobile-menu.active .mobile-menu-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* 閉じるボタン */
.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;

    /* 初期状態 */
    opacity: 0;
    transform: scale(0.8);

    /* アニメーション */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.active .mobile-menu-close {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.3s;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.mobile-nav-menu {
    list-style: none;
    padding: 3rem 2rem 2rem;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* メニューがアクティブになった時の段階的アニメーション */
.mobile-menu.active .mobile-nav-menu li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-nav-menu li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu.active .mobile-nav-menu li:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu.active .mobile-nav-menu li:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu.active .mobile-nav-menu li:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu.active .mobile-nav-menu li:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-menu.active .mobile-nav-menu li:nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-menu.active .mobile-nav-menu li:nth-child(7) {
    transition-delay: 0.4s;
}

.mobile-menu.active .mobile-nav-menu li:nth-child(8) {
    transition-delay: 0.45s;
}

.mobile-menu.active .mobile-nav-menu li:nth-child(9) {
    transition-delay: 0.5s;
}

.mobile-nav-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 1.6rem;
    font-weight: var(--font-weight-medium);
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-menu li:last-child a {
    border-bottom: none;
}

.mobile-nav-menu a:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

.mobile-cta {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    text-align: center;
}

.mobile-cta:hover {
    background: var(--secondary-color) !important;
}

/* Mobile Dropdown */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
}

.mobile-dropdown-menu {
    display: none;
    list-style: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
}

.mobile-dropdown-menu li {
    margin-bottom: 0.25rem;
}

.mobile-dropdown-menu a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Posts Grid Styles */


/* Pagination */
.wp-pagenavi {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.wp-pagenavi a,
.wp-pagenavi span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 1rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: var(--transition);
}

.wp-pagenavi a:hover,
.wp-pagenavi .current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.wp-pagenavi .current {
    font-weight: var(--font-weight-bold);
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
}

.no-posts h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.no-posts p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Font Weight Utility Classes */
.font-thin {
    font-weight: var(--font-weight-thin);
}

.font-extralight {
    font-weight: var(--font-weight-light);
}

.font-light {
    font-weight: var(--font-weight-light);
}

.font-regular {
    font-weight: var(--font-weight-regular);
}

.font-medium {
    font-weight: var(--font-weight-medium);
}

.font-semibold {
    font-weight: var(--font-weight-bold);
}

.font-bold {
    font-weight: var(--font-weight-bold);
}

.font-extrabold {
    font-weight: var(--font-weight-black);
}

.font-black {
    font-weight: var(--font-weight-black);
}

/* グラデーションテキストスタイル */
.gradient-text {
    background: linear-gradient(135deg, #435B75 0%, #7DAADB 50%, #FF6B35 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ========================================
   Template Parts Styles
   ======================================== */

/* About Section Styles */
.about-section {
    margin-top: 100px;
}

.about-content {
    display: flex;
    justify-content: space-between;
    gap: 11%;
}

.about-main-title {
    font-size: 2rem;
    font-weight: var(--font-weight-medium);
    color: var(--primary-color);
    margin-bottom: 12px;
}

.about-title-wrapper {
    flex: 1;
}

.about-description {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-cta {
    margin-top: 4rem;
}

.about-image {
    width: 40%;
    position: relative;
    max-width: 355px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.about-text p {
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
}



/* Contact Section Styles */
.contact-section {
    background-color: var(--main-color);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.contact-container {
    background-color: rgba(242, 242, 242, 0.3);
    border-radius: 10px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.contact-section .section-header {
    text-align: center;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 26px;
    max-width: 880px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.contact-section .home-section-title {
    font-weight: var(--font-weight-medium);
}

.contact-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 880px;
    margin: 0 auto;
}

.contact-intro {
    margin-bottom: 32px;
}

.contact-description {
    color: var(--text-dark);
}

.contact-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

.contact-form-area {
    flex-shrink: 0;
}

.contact-button {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 250px;
    gap: 0.5rem;
    padding: 11px 30px;
    text-decoration: none;
    transition: 0.3s;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    border-radius: 50px;
    overflow: hidden;
}

.phone-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phone-number a {
    font-size: 3.2rem;
    font-weight: var(--font-weight-medium);
    color: var(--primary-color);
}

.reception-hours {
    color: var(--primary-color);
}

/* Background Slider Animation */
.contact-background-slider {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    height: 200px;
}

.contact-slider-content {
    display: flex;
    animation: slideLeft 45s linear infinite;
    height: 100%;
    align-items: center;
}

.contact-slider-text {
    font-size: 20rem;
    font-weight: var(--font-weight-thin);
    color: #f2f2f2;
    white-space: nowrap;
    margin-right: 100px;
    user-select: none;
}

@keyframes slideLeft {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}



/* News Section Styles */
.news-section {
    background-color: var(--primary-color);
    padding-top: 60px;
    padding-bottom: 60px;
}

/* .news-item {
    display: flex;
    align-items: center;
    padding: 5rem 0;
    transition: all 0.3s ease;
    border-top: 1px solid #F2F2F2;
    border-bottom: 1px solid #F2F2F2;
    justify-content: space-between;
} */

.news-date {
    flex-shrink: 0;
    font-size: 1.4rem;
    font-weight: var(--font-weight-regular);
    color: var(--white);
    transition: all 0.3s ease;
}

.news-content {
    flex: 1;
    color: var(--white);
}

.news-title {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    color: var(--white);
}

.news-title a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--white);
}

.news-item:hover {
    background-color: var(--white);
}

.news-item:hover .news-title a,
.news-item:hover .news-date,
.news-item:hover .news-link .fa-arrow-right {
    color: var(--primary-color);
}

.news-main {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}


.news-link {
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.news-link a {
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.news-link .fa-arrow-right {
    color: var(--white);
    font-size: 1.9rem;
}

.news-cta {
    text-align: right;
}

.news-cta-button {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    width: 200px;
    overflow: hidden;
    color: var(--primary-color);
    background-color: #f2f2f2;
}



/* Service Section Styles */

.service-intro {
    margin-bottom: 2rem;
}

.service-description {
    color: var(--text-dark);
    font-size: 1.4rem;
}

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

.service-item {
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    transition: none;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: none;
}

.service-header {
    margin-bottom: 24px;
}

.service-number {
    background-color: transparent;
    color: var(--primary-color);
    font-size: 1.5rem;
    padding-bottom: 6px;
    font-weight: var(--font-weight-medium);
}

.service-separator {
    width: 100%;
    height: 1px;
    background-color: #435B75;
}

.service-body {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

.service-content {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    color: var(--primary-color);
}

.service-text {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 26px;
}

.service-content .cta-button {
    align-self: flex-start;
    background-color: #F2F2F2;
    color: var(--primary-color);
    border-radius: 50px;
    padding: 7px 13px;
    font-size: 1.2rem;
    font-weight: 500;
    width: auto;
    min-width: 140px;
    overflow: hidden;
}

.service-content .cta-button:hover {
    background-color: #E9ECEF;
    transform: none;
}

.service-content .fa-arrow-right {
    align-items: center;
    justify-content: center;
    display: flex !important;
    font-size: 0.8rem;
    width: 21px;
    height: 21px;
    overflow: hidden;
    border-radius: 50%;
    background: linear-gradient(145deg, #dadada, #ffffff);
    box-shadow: 41px 41px 82px #cecece,
        -41px -41px 82px #ffffff;
    transition: all 0.3s ease;
}

.service-image {
    flex-shrink: 0;
    position: relative;
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 4px;
}

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

.service-item:hover .service-image img {
    transform: none;
}

/* Works Section Styles (Homepage) */

.works-container {
    width: 100%;
    max-width: 960px;
    padding-left: 14px;
    padding-right: 14px;
    margin: 0 auto;
}

.works-section {
    background-color: #ffffff;
}

.works-section-header {
    border-bottom: 1px solid #435B75;
    padding-bottom: 20px;
}

.works-container {
    position: relative;
    overflow: hidden;
    padding: 30px 40px;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-top: 30px;
    touch-action: pan-y;
}

.works-slider-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
}

.works-slider-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 32px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.works-slider-track:active {
    cursor: grabbing;
}

.works-slider-track.dragging {
    transition: none;
    cursor: grabbing;
}

/* スマホでのタッチ操作最適化 */
@media (max-width: 768px) {
    .works-slider-wrapper {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        margin-bottom: 24px;
    }

    .works-slider-track {
        will-change: transform;
    }

    .works-item {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .works-item img {
        pointer-events: none;
        -webkit-user-drag: none;
        -khtml-user-drag: none;
        -moz-user-drag: none;
        -o-user-drag: none;
        user-select: none;
    }


}

.works-item {
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: calc((100% - 90px) / 3);
    /* デスクトップ: 3枚表示時の幅 */
}

/* タブレット: 787px以下で2枚表示 */
@media (max-width: 787px) {
    .works-item {
        width: calc((100% - 32px) / 2);
        /* 2枚表示時: 32px = gap 1個分 */
    }
}

/* モバイル: 599px以下で1枚表示 */
@media (max-width: 599px) {
    .works-item {
        width: 100%;
        /* 1枚表示時はgap不要 */
    }

    .works-slider-track {
        gap: 0;
        /* モバイルではgapを0にしてスライド間隔をなくす */
    }

    .works-container {
        padding: 20px;
    }

    .works-controls {
        margin-top: 20px;
    }

    .works-nav-btn {
        width: 50px;
        height: 50px;
    }

    .works-nav-btn i {
        font-size: 14px;
    }
}

/* Works grid item styles moved above */

.works-image {
    position: relative;
    height: 228px;
    overflow: hidden;
}

.works-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 4px;
}


.works-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 16px;
}

.works-category-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 16px;
    font-size: 14px;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    margin-bottom: 6px;
    align-self: flex-start;
    background-color: #FFFFFF;
}

.works-title {
    font-size: 14px;
    color: var(--text-dark);
    flex: 1;
}

.works-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 0;
}

.works-navigation {
    display: flex;
    align-items: center;
    gap: 20px;
}

.works-nav-btn {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    cursor: pointer;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.works-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.works-nav-btn i {
    font-size: 16px;
}


.works-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.works-navigation {
    position: relative;
}

/* Works Archive Section Styles */
.works-archive-section {
    background-color: #ffffff;
}

.works-archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.works-archive-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    padding-bottom: 20px;
    border-bottom: 2px solid #000;
    display: inline-block;
}

/* Works Grid Styles */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 40px;
    margin-bottom: 60px;
}

@media (max-width: 1024px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Works Card Styles */
.works-card {
    background-color: #ffffff;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.works-card-image {
    position: relative;
    height: 256px;
    overflow: hidden;
}

.works-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 4px;
}

.works-card-category {
    margin-top: 16px;
}

.category-tag {
    display: inline-block;
    padding: 5px 13px;
    background-color: #fff;
    color: #435B75;
    border: 1px solid #435B75;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 500;
}

.works-card-title {
    font-weight: 500;
    color: var(--text-dark);
    margin-top: 20px;
    line-height: 1.3;
    font-size: 1.5rem;
}

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

.pagination {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.pagination li {
    margin: 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    color: #666;
    text-decoration: none;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #435B75;
    color: #fff;
}

.pagination .current {
    background-color: #435B75;
    color: #fff;
}

/* No Works Message */
.no-works {
    text-align: center;
    padding: 60px 20px;
}

.no-works h2 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.no-works p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    /* .works-archive-section {
        padding: 40px 0;
    } */

    .works-archive-title {
        font-size: 24px;
    }

    .category-tab-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .category-tab-item:not(:last-child)::after {
        display: none;
    }

    .category-tab-link {
        padding: 8px 16px;
        font-size: 14px;
        border: 1px solid #E5E7EB;
        border-radius: 20px;
        background-color: #F9FAFB;
    }

    .category-tab-link.active {
        background-color: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

    .works-card-image {
        height: 250px;
    }
}



/* ==========================================================================
   Image Slider Section
   ========================================================================== */

.image-slider-section {
    overflow: hidden;
}

.slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    width: calc(420px * 9);
    /* 9枚の画像（420px + 40px余白）× 9枚 */
    animation: slideLeft 50s linear infinite;
}

.slide-item {
    flex: 0 0 420px;
    /* 420px（画像幅）+ 40px（左右20pxずつの余白） */
    padding: 0 10px;
    box-sizing: border-box;
}

.slide-item img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* 右から左へのスライドアニメーション */
@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-2640px);
        /* 6枚分移動（440px × 6 = 2640px） */
    }
}



/* ====================================
   Hero Header (下層ページ用ヘッダー)
   ==================================== */
.hero-header {
    position: relative;
    height: 478px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 98px;
}

.hero-header__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* フォールバック用のデフォルト背景色 */
    background-color: var(--text-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-header__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(15, 46, 83, 0.48) 100%);
}

.hero-header__content {
    position: absolute;
    bottom: 48px;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
}


.hero-header__label {
    font-weight: var(--font-weight-bold);
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 4, 8, 0.5);
    margin-bottom: 16px;
    position: relative;
    padding-left: 56px;
    /* 40px（線の幅） + 16px（間隔） */
}

.hero-header__label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 1px;
    background-color: #ffffff;
}

.hero-header__title {
    font-size: 48px;
    font-weight: var(--font-weight-bold);
    text-shadow: 0 0 10px rgba(0, 4, 8, 0.5);
    color: #ffffff;
    margin: 0;
}

/* ====================================
   Breadcrumb (パンくずリスト)
   ==================================== */
.breadcrumb {
    background: var(--primary-color);
    padding: 11px 0;
}

/* .breadcrumb__container - 背景とパディングは親要素(.breadcrumb)に移動 */

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

.breadcrumb__item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.breadcrumb__item:not(:last-child)::after {
    content: '|';
    color: #ffffff;
    margin-left: 16px;
    font-weight: 300;
}

.breadcrumb__link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: opacity 0.3s ease;
    font-size: 1.4rem;
}

.breadcrumb__link:hover {
    opacity: 0.8;
}

.breadcrumb__text {
    color: #ffffff;
    font-weight: 400;
}

.breadcrumb__item--current .breadcrumb__text {
    opacity: 0.9;
}



/* ====================================
   Page Main (下層ページメインコンテンツ)
   ==================================== */
.page-main {
    margin-top: 100px;
    position: relative;
    background-color: #ffffff;
}

/* ====================================
   Company Overview (会社概要)
   ==================================== */
.company-overview {
    background-color: #ffffff;
}

.company-overview__content {
    max-width: 1000px;
    margin: 0 auto;
}

/* セクションヘッダー（下層ページ専用） */
.page-section-header {
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.page-section-header__title {
    font-size: 2.4rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin: 0;
    position: relative;
    padding-bottom: 20px;
}

.page-section-header__title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30%;
    height: 1px;
    background-color: var(--primary-color);
    max-width: 194px;
    z-index: 1;
}

.page-section-header__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #e5e5e5;
    z-index: 0;
}

.page-section-header__sub-title {
    color: #F7F7F7;
    font-size: 12.8rem;
    font-weight: var(--font-weight-demilight);
    height: auto;
    position: absolute;
    top: -22px;
    z-index: 0;
    right: 0;
    line-height: 1;
    display: inline-block;
}

/* 会社情報テーブル（下層ページ専用） */
.page-company-info {
    margin-bottom: 60px;
}

.page-company-info__table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border: none;
}


.page-company-info__label {
    background-color: transparent;
    padding: 30px 0;
    padding-right: 40px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    font-size: 1.4rem;
    text-align: left;
    vertical-align: top;
    width: 170px;
    border-right: none;
    position: relative;
}

.page-company-info__label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
}

.page-company-info__value {
    padding: 30px 0;
    color: var(--text-dark);
    font-size: 1.4rem;
    line-height: 1.6;
    vertical-align: top;
    position: relative;
    padding-left: 70px;
}

.page-company-info__value::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #DADADA;
}

/* 地図セクション */

.company-map__embed {
    overflow: hidden;
}

.company-map__embed iframe {
    display: block;
    width: 100%;
    height: 400px;
}



/* =====================================
   サービス概要セクション
   ===================================== */

.service-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 37px;
}

.service-overview__category {
    overflow: hidden;
}


.service-overview__category-header {
    text-align: center;
}

.service-overview__category-icon {
    width: 176px;
    height: 168px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-overview__category-icon img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.service-overview__category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 24px;
}

.service-overview__items {
    padding-top: 24px;
}

.service-overview__item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
}

.service-overview__item:last-child {
    margin-bottom: 0;
}

.service-overview__item-icon-wrapper {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    margin-right: 12px;
    flex-shrink: 0;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.service-overview__item-icon {
    font-size: 0.9rem;
}

.service-overview__item-text {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 500;
}



/* =====================================
   サービスの強みセクション
   ===================================== */

.service-strengths {
    background-color: #fafafa;
    padding: 100px 0;
    margin-top: 100px;
}

.service-strengths .page-section-header__sub-title {
    color: var(--white);
}

.service-strengths__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 33px;
}

.service-strengths__card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-strengths__card-image img {
    width: 100%;
    height: 100%;
    max-width: 230px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.service-strengths__card-content {
    padding-top: 24px;
}

.service-strengths__card-title {
    font-size: 1.6rem;
    font-weight: var(--font-weight-black);
    color: var(--primary-color);
    margin-bottom: 12px;
    text-align: center;
}

.service-strengths__card-text {
    color: var(--text-dark);
    font-size: 1.3rem;
}



/* =====================================
   お問い合わせページ
   ===================================== */

/* お問い合わせページメイン */

.contact-section__header {
    margin-bottom: 52px;
}

.contact-section__subtitle {
    color: var(--text-dark);
    font-size: 1.6rem;
    text-align: center;
}

/* 電話お問い合わせセクション */
.contact-phone-section {
    margin-bottom: 60px;
}

.contact-phone-box {
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 40px 30px;
    max-width: 700px;
    margin: 0 auto;
}

.contact-phone-top {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    gap: 32px;
}

.contact-phone-label {
    color: var(--text-dark);
}

.contact-phone-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-phone-icon i {
    color: var(--primary-color);
    font-size: 2.0rem;
}

.contact-phone-number {
    margin: 0;
}

.contact-phone-number a {
    font-size: 2.4rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    text-decoration: none;
}

.contact-phone-bottom {
    text-align: center;
}

.contact-phone-hours {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}



/* Contact Form 7 スタイル */

.contact-form-wrapper .wpcf7 .form-group {
    margin-top: 30px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.contact-form-wrapper .wpcf7 label {
    display: block;
    font-size: 1.6rem;
    font-weight: var(--font-weight-regular);
    color: var(--text-dark);
}

.form-group>label {
    padding-top: 10px;
    width: 200px;
}

.wpcf7-form-control-wrap {
    flex: 1;
}

.contact-form-wrapper .wpcf7 input[type="text"],
.contact-form-wrapper .wpcf7 input[type="email"],
.contact-form-wrapper .wpcf7 input[type="tel"],
.contact-form-wrapper .wpcf7 textarea {
    width: 100%;
    padding: 17px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1.6rem;
    background-color: #F9F9F9;
    box-sizing: border-box;
}

.contact-form-wrapper .wpcf7 input[type="text"]:focus,
.contact-form-wrapper .wpcf7 input[type="email"]:focus,
.contact-form-wrapper .wpcf7 input[type="tel"]:focus,
.contact-form-wrapper .wpcf7 textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.contact-form-wrapper .wpcf7 textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-wrapper .wpcf7 input[type="submit"] {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 18px 60px;
    font-size: 1.6rem;
    font-weight: var(--font-weight-medium);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 350px;
    display: block;
    margin: 0 auto;
}

.contact-form-wrapper .wpcf7 input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

/* 必須項目のアスタリスク */
.contact-form-wrapper .wpcf7 .form-group label.required::after {
    content: " *";
    color: #E44545;
    font-weight: bold;
    margin-left: 4px;
}

/* 必須項目のスタイリング（Contact Form 7の標準必須マーカー） */
.contact-form-wrapper .wpcf7 .wpcf7-not-valid-tip {
    color: #E44545;
    font-size: 1.2rem;
    margin-top: 5px;
}

.contact-form-wrapper .wpcf7 .wpcf7-validation-errors {
    color: #E44545;
    background-color: #fff5f5;
    border: 1px solid #E44545;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.contact-form-wrapper .wpcf7 .wpcf7-mail-sent-ok {
    color: #27ae60;
    background-color: #f0fff4;
    border: 1px solid #27ae60;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* チェックボックススタイル */
.contact-form-wrapper .wpcf7 .wpcf7-checkbox {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.contact-form-wrapper .wpcf7 .wpcf7-list-item {
    margin: 0;
}

.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
    display: none;
}

.wpcf7-list-item-label {
    font-size: 1.6rem;
}


.contact-form-wrapper .wpcf7 .wpcf7-list-item input[type="checkbox"] {
    margin-right: 8px;
    accent-color: var(--primary-color);
}

.contact-form-wrapper .wpcf7 .wpcf7-list-item label {
    font-size: 1.4rem;
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
    margin-bottom: 0;
    cursor: pointer;
}

.form-privacy-group {
    text-align: center;
    margin-top: 48px;
}


.wpcf7-spinner {
    display: none;
}



/* =====================================
   サービスの流れセクション
   ===================================== */

.service-flow {
    margin-top: 100px;
}

.service-flow__steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
}

.service-flow__step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.service-flow__step-image {
    width: 100%;
    max-width: 258px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 18px;
}

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

.service-flow__step-content {
    width: 100%;
}

.service-flow__step-number {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 1.4rem;
    position: relative;
}

.service-flow__step-number::before {
    content: '';
    width: 7px;
    height: 7px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

.service-flow__step-title {
    font-size: 1.6rem;
    font-weight: var(--font-weight-black);
    color: var(--primary-color);
    margin-bottom: 6px;
}

.service-flow__step-text {
    color: var(--text-dark);
    font-size: 1.4rem;
}

.service-flow__arrow {
    position: absolute;
    top: 100px;
    right: -23px;
    z-index: 2;
}

.service-flow__arrow-icon {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: bold;
}

.service-flow__step:last-child .service-flow__arrow {
    display: none;
}



/* ========================================
   News List Section Styles
   ======================================== */

.news-list-section {
    padding: 80px 0;
    background-color: var(--white);
}

.news-list-header {
    position: relative;
    margin-bottom: 60px;
    overflow: hidden;
}

.news-list-title {
    font-size: 3.2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--primary-color);
    position: relative;
    z-index: 2;
}

.news-list-background {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 12rem;
    font-weight: var(--font-weight-thin);
    color: rgba(242, 242, 242, 0.8);
    line-height: 1;
    z-index: 1;
    user-select: none;
}

.news-list {
    margin-bottom: 60px;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 50px 0;
    border-bottom: 1px solid #D8D8D8;
    transition: all 0.3s ease;
    width: 100%;
    color: var(--white);
    justify-content: space-between;
}

.news-item:first-child {
    border-top: 1px solid #D8D8D8;
}


.news-list-section .news-date {
    flex-shrink: 0;
    width: 120px;
    font-size: 1.4rem;
    font-weight: var(--font-weight-regular);
    color: var(--text-dark);
    margin-right: 40px;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 1.6rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.news-title a {
    text-decoration: none;
    color: inherit;
}

.news-link {
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.news-link a {
    text-decoration: none;
    color: inherit;
}

/* Pagination Styles */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.pagination {
    display: flex;
    gap: 10px;
}

.pagination-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
    background-color: var(--white);
}

.pagination-item:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-item.current {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* No Posts Styles */
.no-posts {
    text-align: center;
    padding: 80px 20px;
}

.no-posts h2 {
    font-size: 2.4rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: var(--font-weight-medium);
}

.no-posts p {
    font-size: 1.6rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}



/* Home News List Section Styles */


.home-news-list {
    position: relative;
    z-index: 2;
}

.home-news-item {
    display: flex;
    align-items: center;
    padding: 50px 0;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    justify-content: space-between;
}

.home-news-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.home-news-item:first-child {
    border-top: 1px solid var(--border-color);
}

.home-news-item:hover {
    background-color: rgba(67, 91, 117, 0.05);
}

.home-news-date {
    font-size: 1.4rem;
    color: var(--text-muted);
    font-weight: var(--font-weight-medium);
    min-width: 80px;
}

.home-news-content {
    flex: 1;
    margin-right: 40px;
}

.home-news-title {
    font-size: 1.8rem;
    font-weight: var(--font-weight-bold);
    margin: 0;
}

.home-news-title a {
    text-decoration: none;
    color: inherit;
}

.home-news-item:hover .home-news-title a {
    color: var(--primary-color);
}


.home-news-link a {
    text-decoration: none;
    color: inherit;
}

.home-news-link .fa-arrow-right {
    color: var(--primary-color);
    font-size: 1.6rem;
}

.home-pagination-wrapper {
    margin-top: 60px;
    text-align: center;
}

.home-pagination {
    display: inline-flex;
    gap: 10px;
}

.home-pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    transition: all 0.3s ease;
}

.home-pagination-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.home-pagination-item.current {
    background-color: var(--primary-color);
    color: var(--white);
}

.home-no-posts {
    text-align: center;
    padding: 60px 0;
}

.home-no-posts h2 {
    font-size: 2.4rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.home-no-posts p {
    font-size: 1.6rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}



/* =====================================
   プライバシーポリシー
   ===================================== */

.privacy-section {
    margin-bottom: 30px;
}

.privacy-section__title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 8px;
}

.privacy-section__text {
    margin-bottom: 16px;
}

.privacy-section__list {
    margin: 16px 0;
    padding-left: 0;
    list-style: none;
}

.privacy-section__list li {
    margin-bottom: 8px;
}

.mobile-actions {
    display: none;
}

/* ========================================
   ヒーローセクション アニメーション機能
   ======================================== */

/* アニメーション初期状態 */
.hero-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* アニメーション実行状態 */
.hero-animate.show {
    opacity: 1;
    transform: translateY(0);
}

/* 段階的なアニメーション遅延 */
.hero-text.hero-animate {
    transition-delay: 0.2s;
}

.hero-image.hero-animate {
    transition-delay: 0.6s;
}

/* ========================================
   スクロールアニメーション機能（共通）
   ======================================== */

/* スクロールアニメーション初期状態 */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.0s ease-out;
}

/* スクロールアニメーション実行状態 */
.fade-in-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

/* data-delay属性による遅延制御 */
.fade-in-scroll[data-delay="100"] {
    transition-delay: 0.1s;
}

.fade-in-scroll[data-delay="200"] {
    transition-delay: 0.2s;
}

.fade-in-scroll[data-delay="250"] {
    transition-delay: 0.25s;
}

.fade-in-scroll[data-delay="300"] {
    transition-delay: 0.3s;
}

.fade-in-scroll[data-delay="350"] {
    transition-delay: 0.35s;
}

.fade-in-scroll[data-delay="400"] {
    transition-delay: 0.4s;
}

.fade-in-scroll[data-delay="500"] {
    transition-delay: 0.5s;
}

.fade-in-scroll[data-delay="600"] {
    transition-delay: 0.6s;
}


.error-404-content {
    text-align: center;
}

.error-404-message {
    margin-bottom: 60px;
}

.error-404-number h2 {
    font-size: 120px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 20px 0;
}

.error-404-text h3 {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 20px 0;
}

.error-404-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.error-404-actions {
    text-align: center;
}

.home-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

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

.about-cta-sp {
    display: none;
}

@media screen and (max-width: 1440px) {
    .hero-header {
        height: 403px;
    }

    .hero-header__title {
        font-size: 30px;
    }
}



/* レスポンシブ対応 */
@media (max-width: 768px) {
    .error-404-section {
        padding: 60px 0;
    }

    .error-404-number h2 {
        font-size: 80px;
    }

    .error-404-text h3 {
        font-size: 24px;
    }

    .home-button {
        padding: 12px 25px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .error-404-inner {
        padding: 0 15px;
    }

    .error-404-number h2 {
        font-size: 60px;
    }

    .error-404-text h3 {
        font-size: 20px;
    }

    .home-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}



@media screen and (max-width: 1100px) {
    .hamburger-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border-radius: 4px;
        background-color: var(--text-dark);
        gap: 7px;
        z-index: 1001;
        cursor: pointer;
        position: relative;
    }

    .main-navigation {
        display: none;
    }

    .mobile-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
    }

    .header-content {
        background-color: #F2F2F2;
        border-radius: 60px;
        padding: 10px 38px;
        margin-top: 14px;
        margin-bottom: 14px;
    }

    .logo-image {
        height: 34px;
    }

    .about-content {
        gap: 3rem;
    }

}

@media screen and (max-width: 787px) {

    .about-cta-sp {
        display: block;
    }

    .about-cta-pc {
        display: none;
    }

    .container,
    .hero-image {
        width: 94%;
    }

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

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

    .service-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .hero-content {
        flex-direction: reverse;
    }

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

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-image {
        margin-top: 32px;
    }


    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-section,
    .section {
        margin-top: 100px;
    }

    .about-main-title {
        text-align: center;
    }

    .about-cta {
        text-align: center;
    }

    .works-cta {
        width: 100%;
        text-align: center;
    }

    .works-controls {
        gap: 32px;
    }

    .news-cta {
        text-align: center;
    }

    .service-content .cta-button {
        gap: 0.5rem;
        padding: 11px 30px;
        width: 230px;
        font-size: 1.6rem;
    }

    .service-content .fa-arrow-right {
        width: 36px;
        height: 36px;
        font-size: 1.6rem;
    }

    .contact-actions {
        flex-direction: column;
        gap: 24px;
    }

    .site-footer {
        margin-top: 100px;
    }

}

/* 787px以下でのスライダーレスポンシブ対応 */
@media screen and (max-width: 787px) {
    .slider-track {
        width: calc(320px * 9);
        /* 9枚の画像を300px幅に縮小（300px + 20px余白）× 9枚 */
        animation: slideLeftTablet 50s linear infinite;
    }

    .slide-item {
        flex: 0 0 320px;
        /* 300px（画像幅）+ 20px（左右10pxずつの余白） */
        padding: 0 10px;
    }

    .slide-item img {
        width: 300px;
        height: 200px;
        /* 高さも比例して縮小 */
    }

    /* タブレット用アニメーション */
    @keyframes slideLeftTablet {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-1920px);
            /* 6枚分移動（320px × 6 = 1920px） */
        }
    }
}

@media screen and (max-width: 480px) {
    .slider-track {
        width: calc(280px * 9);
        /* さらに小さいスクリーンでは260px幅に */
        animation: slideLeftMobile 50s linear infinite;
    }

    .slide-item {
        flex: 0 0 280px;
        /* 260px（画像幅）+ 20px（左右10pxずつの余白） */
        padding: 0 10px;
    }

    .slide-item img {
        width: 260px;
        height: 180px;
        /* より小さく調整 */
    }

    /* モバイル用アニメーション */
    @keyframes slideLeftMobile {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-1680px);
            /* 6枚分移動（280px × 6 = 1680px） */
        }
    }
}

@media screen and (max-width: 599px) {

    .mobile-cta {
        display: none;
    }

    .logo-image {
        height: 26px;
    }

    .hero-text {
        gap: 16px;
    }

    .hamburger-menu {
        width: 40px;
        height: 40px;
    }

    .header-content {
        padding: 6px 26px;
    }

    .hero-image img {
        height: 230px;        object-position: center;
    }

    .nav-item {
        min-width: initial;
    }



    .about-main-title {
        font-size: 2rem;
    }


    .about-image {
        width: 70%;
    }

    .service-body {
        flex-direction: row-reverse;
        gap: 16px;
    }

    .service-title {
        margin-bottom: 8px;
    }

    /* .service-image {
        width: initial;
        height: 130px;
    } */

    .service-content .cta-button,
    .service-content {
        align-items: center;
        align-self: center;
    }

    .service-content .cta-button {
        margin-top: 16px;
        width: 100%;
        font-size: 1.2rem;
        padding: 6px 13px;
    }

    .service-content .fa-arrow-right {
        width: 24px;
        height: 24px;
        font-size: 1.6rem;
    }

    .service-text {
        margin-bottom: 8px;
    }

    .news-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .contact-description {
        text-align: left;
    }

    .footer-left {
        flex: 1;
    }

    .hero-header {
        height: 180px;
    }

    .hero-header__title {
        font-size: 20px;
    }

    .hero-header__label {
        margin-bottom: 6px;
        font-size: 1.3rem;
        padding-left: 34px;
    }

    .hero-header__content {
        bottom: 27px;
    }

    .hero-header__label::before {
        width: 20px;
    }

    .page-main {
        margin-top: 35px;
    }

    .breadcrumb {
        padding: 6px 0;
    }

    .breadcrumb__item,
    .breadcrumb__link {
        font-size: 1.2rem;
    }

    .page-company-info__label,
    .page-company-info__value {
        font-size: 1.4rem;
        padding: 30px 0;
    }

    .page-company-info__label {
        width: 110px;
    }

    .page-section-header__title {
        font-size: 1.9rem;
        padding-bottom: 8px;
    }

    .page-section-header__sub-title {
        font-size: 4.8rem;
        top: 7px;
    }

    .page-section-header {
        margin-bottom: 20px;
    }

    .service-overview,
    .service-strengths__grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .service-flow__steps {
        flex-direction: column;
    }

    .service-flow__step-image {
        max-width: 100%;
    }

    .service-flow__arrow {
        top: initial;
        right: initial;
        z-index: 2;
        bottom: -26px;
        transform: rotate(90deg);
    }

    .home-news-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .nav-row,
    .footer-nav-grid {
        flex-direction: column;
        gap: 24px;
    }

    .footer-logo {
        margin-bottom: 30px;
    }

    .footer-company-info {
        margin-bottom: 32px;
    }

    .contact-phone-top {
        flex-direction: column;
        gap: 12px;
    }

    .contact-section__subtitle {
        text-align: left;
    }

    .contact-form-wrapper .wpcf7 .form-group {
        flex-direction: column;
    }

    .form-group>label,
    .wpcf7-form-control-wrap {
        width: 100%;
    }

    .service-strengths {
        padding: 50px 0;
    }

    .container,
    .hero-image {
        width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }

    .service-overview__category-icon {
        width: 171px;
        height: 163px;
    }

    .service-overview__item-text {
        font-size: 1.5rem;
    }

    .service-overview__category-icon {
        margin: 0 auto;
    }

    .service-overview__item {
        align-items: center;
    }

    .service-strengths {
        margin-top: 50px;
    }

    .service-flow {
        margin-top: 50px;
    }

    .site-footer {
        margin-top: 50px;
        padding: 5rem 0;
    }

    .works-card-image {
        text-align: center;
        height: 240px;
    }

    .works-card-image img {
        width: 310px;
    }

    .phone-number a {
        font-size: 3rem;
    }

    .contact-section__subtitle {
        font-size: 1.4rem;
    }



}

/* ========================================
   Category News List Styles
   ======================================== */

/* カテゴリー お知らせ一覧セクション */
.category-news-list-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

/* カテゴリー お知らせ一覧 */
.category-news-list {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    margin-bottom: 4rem;
}

/* カテゴリー お知らせアイテム */
.category-news-item {
    display: flex;
    align-items: center;
    gap: 2.4rem;
    padding: 2.4rem;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.category-news-item:hover {
    box-shadow: 0 4px 12px var(--shadow-light);
    transform: translateY(-2px);
    border-color: var(--secondary-color);
}

/* カテゴリー お知らせ情報 */
.category-news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

/* カテゴリー お知らせメタ情報 */
.category-news-meta {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    flex-wrap: wrap;
}

/* カテゴリー お知らせ日付 */
.category-news-date {
    font-size: 1.4rem;
    color: var(--text-muted);
    font-weight: var(--font-weight-medium);
    font-family: var(--font-primary);
}

/* カテゴリーラベル */
.category-news-category {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: var(--font-weight-medium);
    border-radius: 20px;
    text-decoration: none;
}

/* カテゴリー お知らせコンテンツ */
.category-news-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* カテゴリー お知らせタイトル */
.category-news-title {
    font-size: 1.8rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.6;
    color: var(--text-dark);
}

.category-news-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-news-title a:hover {
    color: var(--primary-color);
}

/* カテゴリー お知らせ抜粋 */
.category-news-excerpt {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* カテゴリー お知らせリンク */
.category-news-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.8rem;
    height: 4.8rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.category-news-link:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.category-news-link a {
    color: var(--white);
    font-size: 1.6rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* カテゴリー ページネーション */
.category-pagination-wrapper {
    margin: 4rem 0;
    display: flex;
    justify-content: center;
}

.category-pagination {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.category-pagination-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.4rem;
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
}

.category-pagination-nav:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.category-pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.category-pagination-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: var(--white);
    color: var(--text-dark);
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1.4rem;
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
}

.category-pagination-item:hover {
    background-color: var(--light-gray);
    border-color: var(--primary-color);
}

.category-pagination-item.current {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.category-pagination-dots {
    font-size: 1.4rem;
    color: var(--text-muted);
    padding: 0 0.8rem;
}

/* カテゴリー 戻るリンク */
.category-back-link {
    margin-top: 4rem;
    text-align: center;
}

/* カテゴリー 投稿なし */
.category-no-posts {
    text-align: center;
    padding: 6rem 2rem;
}

.category-no-posts h2 {
    font-size: 2.4rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: 1.6rem;
}

.category-no-posts p {
    font-size: 1.6rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* ページセクションヘッダーの記事数 */
.page-section-header__count {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
    font-weight: var(--font-weight-medium);
}

.single-post__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

     .single-post__title {
     font-size: 2.4rem;
     margin-bottom: 20px;
 }


 .single-post__content p {
     margin-bottom: 16px;
 }

/* ========================================
   Category News List Responsive Styles
   ======================================== */

/* タブレット以下 */
@media (max-width: 768px) {
    .category-news-item {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }

    .category-news-meta {
        gap: 1.2rem;
    }

    .category-news-title {
        font-size: 1.6rem;
    }

    .category-news-excerpt {
        font-size: 1.3rem;
    }

    .category-pagination {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .category-pagination-nav {
        padding: 1rem 1.6rem;
        font-size: 1.3rem;
    }

    .category-pagination-item {
        width: 3.6rem;
        height: 3.6rem;
        font-size: 1.3rem;
    }
}

/* スマートフォン */
@media (max-width: 599px) {
    .category-news-list {
        gap: 2rem;
    }

    .category-news-item {
        padding: 1.6rem;
        gap: 1.6rem;
    }

    .category-news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .category-news-title {
        font-size: 1.5rem;
    }

    .category-news-excerpt {
        font-size: 1.2rem;
    }

    .category-pagination-numbers {
        justify-content: center;
        flex-wrap: wrap;
    }

    .category-no-posts {
        padding: 4rem 1rem;
    }

    .category-no-posts h2 {
        font-size: 2rem;
    }

    .single-post__title {
        font-size: 2.1rem;
    }
}