  /*
  Theme Name: Maedaya
  Theme URI: https://maedaya-reform.com
  Author: ENTER THE POCKET
  Description: 前田屋 お家の修理屋さん - Custom WordPress Theme
  Version: 1.0.0
  Text Domain: maedaya
  */

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

  :root {
    --blue-900: #0a2a5e;
    --blue-800: #0d3b7a;
    --blue-700: #1252a0;
    --blue-600: #1a6bc4;
    --blue-500: #2889e5;
    --blue-400: #4da3f0;
    --blue-300: #7dbdf5;
    --blue-200: #b3d9fa;
    --blue-100: #dceefb;
    --blue-50: #f0f7fe;
    --orange: #f27c21;
    --orange-light: #fff3e8;
    --orange-dark: #d96a10;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --white: #ffffff;
    --red-light: #fde8e8;
    --red: #e74c3c;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 12px;
  }

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

  body {
    font-family: "Noto Sans JP", sans-serif;
    color: var(--gray-800);
    line-height: 1.8;
    background: var(--white);
    font-size: 15px;
    overflow-x: hidden
  }

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

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

  a[href^="tel:"] {
    color: inherit;
    text-decoration: none
  }

  @media(min-width:769px) {
    a[href^="tel:"] {
      pointer-events: none;
      cursor: default
    }
  }

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

  /* === Loading Screen === */
  .loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease;
    pointer-events: auto
  }

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

  .loading-screen img {
    width: 160px;
    animation: loading-pulse 1.2s ease-in-out infinite alternate
  }

  @keyframes loading-pulse {
    0% {
      opacity: 0.6;
      transform: scale(0.95)
    }

    100% {
      opacity: 1;
      transform: scale(1)
    }
  }

  /* === Fade-in on scroll === */
  .fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease
  }

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

  /* === Header === */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    height: 72px;
    display: flex;
    align-items: center
  }

  .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%
  }

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

  .header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto
  }

  .header-nav a {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    transition: color .2s
  }

  .header-nav a:hover {
    color: var(--blue-600)
  }

  .header-cta {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 2px 8px rgba(242, 124, 33, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap
  }

  .header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(242, 124, 33, 0.4)
  }

  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px
  }

  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: transform 0.3s, opacity 0.3s
  }

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

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

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

  /* === Mobile Nav === */
  .mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 98;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    gap: 24px;
    backdrop-filter: blur(8px)
  }

  .mobile-nav.open {
    display: flex
  }

  .mobile-nav a {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    padding: 12px 0
  }

  .mobile-nav a:hover {
    color: var(--blue-600)
  }

  /* === Fixed Contact (PC) === */
  .fixed-contact {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0 4px 24px rgba(242, 124, 33, 0.45);
    font-weight: 700;
    line-height: 1.4;
    animation: pulse-contact 2s ease-in-out infinite;
    cursor: pointer;
    transition: transform .2s;
    text-align: center
  }

  .fixed-contact:hover {
    transform: scale(1.06)
  }

  .fixed-contact .fc-label {
    font-size: 12px;
    letter-spacing: .5px
  }

  @keyframes pulse-contact {

    0%,
    100% {
      box-shadow: 0 4px 24px rgba(242, 124, 33, 0.45)
    }

    50% {
      box-shadow: 0 6px 32px rgba(242, 124, 33, 0.65)
    }
  }

  /* === Fixed Bottom Bar (SP) === */
  .fixed-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: 8px 12px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1)
  }

  .fixed-bottom-bar .fbb-inner {
    display: flex;
    gap: 8px
  }

  .fixed-bottom-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 0;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-align: center
  }

  .fbb-tel {
    background: var(--blue-600);
    color: #fff !important
  }

  .fbb-mail {
    background: var(--orange);
    color: #fff
  }

  /* === Hero / MV Slider === */
  .hero {
    margin-top: 72px;
    position: relative;
    height: 700px;
    overflow: hidden;
    background: var(--blue-900)
  }

  .hero-slider {
    position: absolute;
    inset: 0;
    display: flex;
    transition: transform 0.8s ease
  }

  .hero-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center
  }

  .hero-frame {
    position: absolute;
    inset: 16px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    z-index: 2;
    pointer-events: none
  }

  .hero-text-shape {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 65%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 42, 94, 0.9) 0%, rgba(10, 42, 94, 0.75) 40%, rgba(10, 42, 94, 0.45) 65%, rgba(10, 42, 94, 0.15) 80%, transparent 100%);
    z-index: 2
  }

  .hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
    max-width: 720px;
    margin: 0 auto 0 calc((100% - 1100px)/2 + 24px)
  }

  .hero-content .catch-sub {
    font-size: 14px;
    color: var(--blue-200);
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 12px
  }

  .hero-content h1 {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    line-height: 1.45;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2)
  }

  .hero-content h1 .hl-orange {
    color: #ffc078
  }

  .hero-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    line-height: 1.8
  }

  .hero-desc-sp {
    display: none
  }

  .hero-desc-pc {
    display: block
  }

  .hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(242, 124, 33, 0.35);
    transition: transform .2s, box-shadow .2s;
    width: fit-content
  }

  .hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(242, 124, 33, 0.45)
  }

  .hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4
  }

  .hero-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s
  }

  .hero-dots span.active {
    background: #fff;
    width: 28px;
    border-radius: 5px
  }

  /* === Section === */
  .section {
    padding: 80px 0
  }

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

  .section-header .en {
    font-size: 12px;
    color: var(--blue-500);
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px
  }

  .section-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900)
  }

  .section-header .bar {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--orange));
    margin: 12px auto 0
  }

  .section-header p {
    font-size: 14px;
    color: var(--gray-600);
    margin-top: 12px
  }

  .bg-gray {
    background: var(--gray-50)
  }

  .bg-blue-light {
    background: var(--blue-50)
  }

  .bg-blue-gradient {
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
    color: #fff
  }

  /* === Blog Cards === */
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
  }

  .blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform .3s, box-shadow .3s
  }

  .blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg)
  }

  .blog-card .thumb {
    height: 180px;
    background: linear-gradient(135deg, var(--blue-100), var(--gray-200));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 12px;
    position: relative;
    background-size: cover;
    background-position: center
  }

  .blog-card .thumb .cat {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--blue-600);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600
  }

  .blog-card .body {
    padding: 18px 20px;
    text-align: left
  }

  .blog-card .date {
    font-size: 11px;
    color: var(--gray-600);
    margin-bottom: 6px
  }

  .blog-card h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 8px;
    color: var(--gray-800);
    text-align: left
  }

  .blog-card p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.6
  }

  .more-link {
    text-align: center;
    margin-top: 36px
  }

  .more-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue-600);
    font-size: 14px;
    font-weight: 600;
    border: 2px solid var(--blue-600);
    padding: 10px 28px;
    border-radius: 50px;
    transition: all .2s
  }

  .more-link a:hover {
    background: var(--blue-600);
    color: #fff
  }

  /* === About === */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center
  }

  .about-img {
    height: 360px;
    border-radius: var(--radius);
    background-size: cover;
    background-position: center
  }

  .about-text h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--blue-900)
  }

  .about-text p {
    font-size: 14px;
    color: var(--gray-700);
    margin-bottom: 14px
  }

  /* === Service Zigzag === */
  .service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 56px
  }

  .service-item:nth-child(even) .service-img {
    order: 2
  }

  .service-item:nth-child(even) .service-text {
    order: 1
  }

  .service-item:last-child {
    margin-bottom: 0
  }

  .service-img {
    height: 300px;
    border-radius: var(--radius);
    background-size: cover;
    background-position: center
  }

  .service-text .snum {
    font-size: 48px;
    font-weight: 800;
    color: var(--blue-200);
    line-height: 1;
    margin-bottom: 8px
  }

  .service-text h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px
  }

  .service-text p {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.9
  }

  /* === Also Section === */
  .also-section {
    background: var(--white);
    border: 2px solid var(--blue-200);
    border-radius: 16px;
    padding: 40px 36px;
    margin-top: 56px
  }

  .also-title-wrap {
    text-align: center;
    margin-bottom: 28px
  }

  .also-section h3 {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    /*margin-bottom: 28px;*/
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
    padding: 14px 310px;
    border-radius: 8px;
    display: inline-block
  }

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

  .also-item {
    text-align: center;
    padding: 16px 8px
  }

  .also-item .also-icon {
    width: 96px;
    height: 96px;
    background: var(--blue-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 24px
  }

  .also-item .also-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.4
  }

  /* === Worry === */
  .worry-section {
    position: relative;
    overflow: hidden
  }

  .worry-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 42, 94, 0.88), rgba(26, 107, 196, 0.85));
    z-index: 1
  }

  .worry-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0
  }

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

  .worry-section .section-header .en {
    color: var(--blue-200)
  }

  .worry-section .section-header h2 {
    color: #fff
  }

  .worry-section .section-header .bar {
    background: linear-gradient(90deg, var(--blue-300), var(--orange))
  }

  .worry-list {
    max-width: 700px;
    margin: 0 auto
  }

  .worry-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15)
  }

  .worry-item:last-child {
    border-bottom: none
  }

  .worry-check {
    width: 28px;
    height: 28px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    flex-shrink: 0;
    margin-top: 2px;
    font-weight: 700
  }

  .worry-item p {
    font-size: 15px;
    color: #fff;
    font-weight: 700;
    line-height: 1.7
  }

  .worry-item p .whl {
    background: linear-gradient(transparent 60%, rgba(242, 124, 33, 0.4) 60%);
    padding: 0 2px
  }

  .worry-bottom-note {
    text-align: center;
    margin-top: 32px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85)
  }

  .worry-bottom-note strong {
    color: #fff;
    background: var(--orange);
    padding: 4px 16px;
    display: inline-block;
    margin-top: 8px;
    font-size: 22px
  }

  .worry-note-badge {
    display: inline-block;
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-top: 8px
  }

  /* === Company === */
  .company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start
  }

  .company-table {
    width: 100%
  }

  .company-table tr {
    border-bottom: 1px solid var(--gray-200)
  }

  .company-table th {
    padding: 14px 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-700);
    width: 120px;
    vertical-align: top;
    text-align: left
  }

  .company-table td {
    padding: 14px 0;
    font-size: 14px;
    color: var(--gray-700)
  }

  .map-container {
    border-radius: var(--radius);
    overflow: hidden
  }

  .map-container iframe {
    width: 100%;
    height: 500px;
    border: 0
  }

  /* === CTA === */
  .cta-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden
  }

  .cta-section .cta-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0
  }

  .cta-section .cta-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 42, 94, 0.92), rgba(18, 82, 160, 0.88));
    z-index: 1
  }

  .cta-section .container {
    position: relative;
    z-index: 2
  }

  .cta-section h2 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px
  }

  .cta-section .cta-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px
  }

  .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap
  }

  .cta-btn-primary {
    background: var(--orange);
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(242, 124, 33, 0.35);
    transition: transform .2s;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 260px;
    justify-content: center
  }

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

  .cta-btn-tel {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    transition: all .2s;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 260px;
    justify-content: center
  }

  .cta-btn-tel:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff
  }

  .cta-tel-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px
  }

  /* === Footer === */
  .footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 48px 0 24px
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px
  }

  .footer-logo p {
    font-size: 12px;
    line-height: 1.8
  }

  .footer h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-200);
    margin-bottom: 14px
  }

  .footer ul {
    list-style: none
  }

  .footer li {
    margin-bottom: 8px
  }

  .footer li a {
    font-size: 13px;
    color: var(--gray-400);
    transition: color .2s
  }

  .footer li a:hover {
    color: var(--blue-300)
  }

  .footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 20px;
    text-align: center;
    font-size: 11px;
    color: var(--gray-600)
  }

  /* === Page Header === */
  .page-header {
    margin-top: 72px;
    padding: 48px 0;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
    text-align: center
  }

  .page-header h1 {
    color: #fff;
    font-size: 28px;
    font-weight: 700
  }

  .page-header .breadcrumb {
    font-size: 12px;
    color: var(--blue-200);
    margin-top: 8px
  }

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

.wpcf7 .wpcf7-checkbox {
  margin-top: -16px;
  margin-bottom: 30px;
  display: block;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item-label {
  text-decoration: none;
}

/* === CF7 Multi-Step Previous Button === */
.wpcf7 input.cf7msm-btn-previous {
  border: 2px solid var(--gray-400);
  color: var(--gray-600);
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, color .2s;
}

.wpcf7 input.cf7msm-btn-previous:hover {
  background: var(--gray-100);
  color: var(--gray-800);
}	

.wpcf7 input[type="button"] {
  border: 2px solid var(--gray-400);
  color: var(--gray-600);
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
}

/* === Post Content === */
.post-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-500);
  color: var(--gray-900);
}

.post-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 32px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--orange);
  color: var(--gray-900);
}

.post-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--gray-800);
}

.post-content p {
  margin-bottom: 20px;
}

.post-content p:empty {
  display: min-height:1em;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 16px 0;
}

.post-content ul,
.post-content ol {
  margin: 16px 0;
  padding-left: 24px;
}

.post-content li {
  margin-bottom: 8px;
}

.post-content blockquote {
  border-left: 4px solid var(--blue-300);
  padding: 12px 20px;
  margin: 20px 0;
  background: var(--blue-50);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.post-content a {
  color: var(--blue-600);
  text-decoration: underline;
}

.post-content strong {
  font-weight: 700;
}
	
  /* === Forms === */
  .form-container {
    max-width: 680px;
    margin: 0 auto
  }

  .form-group {
    margin-bottom: 24px
  }

  .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--gray-800)
  }

  .form-group label .req {
    background: var(--red-light);
    color: var(--red);
    font-size: 11px;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-300);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color .2s;
    background: var(--white)
  }

  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--blue-500)
  }

  .form-group textarea {
    height: 160px;
    resize: vertical
  }

  .form-submit {
    text-align: center;
    margin-top: 32px
  }

  .form-submit button {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff;
    border: none;
    padding: 14px 48px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 12px rgba(242, 124, 33, 0.3);
    font-family: inherit
  }

  .form-submit button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 124, 33, 0.4)
  }

  .check-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 6px
  }

  .check-row label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    white-space: nowrap
  }

  .tel-banner {
    background: var(--blue-50);
    border: 2px solid var(--blue-200);
    border-radius: var(--radius);
    padding: 24px 32px;
    text-align: center;
    margin-bottom: 36px
  }

  .tel-banner p {
    font-size: 14px;
    color: var(--gray-700);
    margin-bottom: 8px
  }

  .tel-banner .tel-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--blue-700);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px
  }

  .tel-banner .tel-hours {
    font-size: 12px;
    color: var(--gray-600);
    margin-top: 4px
  }

  .privacy-scroll {
    height: 180px;
    overflow-y: scroll;
    border: 1.5px solid var(--gray-300);
    border-radius: 8px;
    padding: 16px;
    font-size: 12px;
    line-height: 1.9;
    color: var(--gray-700);
    background: var(--gray-50)
  }

  .privacy-agree {
    margin-top: 12px;
    text-align: center
  }

  .privacy-agree label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap
  }

  /* === Misc === */
  .error-page {
    text-align: center;
    padding: 120px 24px
  }

  .error-page .error-num {
    font-size: 120px;
    font-weight: 900;
    color: var(--blue-100);
    line-height: 1;
    margin-bottom: 16px
  }

  .error-page h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px
  }

  .error-page p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 32px
  }

  .recommend {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--gray-200)
  }

  .recommend h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    margin-top: 32px;
    text-align: left
  }

  .confirm-table {
    width: 100%;
    border-collapse: collapse
  }

  .confirm-table tr {
    border-bottom: 1px solid var(--gray-200)
  }

  .confirm-table th {
    padding: 14px 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-700);
    text-align: left;
    width: 140px;
    vertical-align: top
  }

  .confirm-table td {
    padding: 14px 0;
    font-size: 14px;
    color: var(--gray-700)
  }

  .btn-back {
    border: 2px solid var(--gray-300);
    color: var(--gray-600);
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    cursor: pointer;
    font-family: inherit
  }

  .btn-submit {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(242, 124, 33, 0.3);
    font-family: inherit
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-600);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700
  }

  /* Carousel dots */
  .carousel-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 16px
  }

  .carousel-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    transition: background 0.3s
  }

  .carousel-dots span.active {
    background: var(--blue-600);
    width: 20px;
    border-radius: 4px
  }

  /* ===================================================
    RESPONSIVE
    =================================================== */
  @media(max-width:768px) {
    .header {
      height: 60px
    }

    .header-logo img {
      height: 30px !important
    }

    .header-nav {
      display: none
    }

    .hamburger {
      display: flex
    }

    .header-cta-sp {
      display: inline-flex !important;
      background: linear-gradient(135deg, var(--orange), var(--orange-dark));
      color: #fff;
      padding: 8px 16px;
      border-radius: 50px;
      font-size: 11px;
      font-weight: 700;
      margin-right: 4px;
      align-items: center
    }

    .header-cta-sp img {
      vertical-align: middle;
      margin-top: -1px
    }

    .fixed-contact {
      display: none
    }

    .fixed-bottom-bar {
      display: block
    }

    .hero {
      height: 600px;
      margin-top: 60px
    }

    .hero-content {
      padding: 0 24px;
      margin: 0 auto;
      align-items: center;
      text-align: center
    }

    .hero-text-shape {
      display: none
    }

    .hero-frame {
      display: none
    }

    .hero-slider .hero-slide::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(10, 42, 94, 0.45)
    }

    .hero-content .catch-sub {
      font-size: 12px;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5)
    }

    .hero-content h1 {
      font-size: 24px;
      text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6)
    }

    .hero-content p {
      font-size: 13px;
      text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5)
    }

    .hero-desc-pc {
      display: none !important
    }

    .hero-desc-sp {
      display: block !important
    }

    .hero-btn {
      padding: 12px 24px;
      font-size: 14px;
      margin: 0 auto
    }

    .section {
      padding: 56px 0
    }

    .section-header {
      margin-bottom: 32px
    }

    .section-header h2 {
      font-size: 22px
    }

    .container {
      padding: 0 16px
    }

    .sp-br {
      display: inline
    }

    /* Blog: 2 columns, hide 3rd, no body text */
    .blog-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px
    }

    /*.blog-grid .blog-card:nth-child(3) {*/
	.home .bg-gray .blog-card:nth-child(3) {
      display: none
    }

    .blog-card .thumb {
      height: 130px
    }

    .blog-card .body {
      padding: 12px 14px
    }

    .blog-card h3 {
      font-size: 13px
    }

    .blog-card p {
      display: none
    }

    .blog-card .date {
      font-size: 10px
    }

    /* About: stack */
    .about-grid {
      grid-template-columns: 1fr;
      gap: 24px
    }

    .about-img {
      height: 240px
    }

    .about-text h3 {
      font-size: 20px
    }

    /* Service: stack */
    .service-item {
      grid-template-columns: 1fr;
      gap: 20px
    }

    .service-item:nth-child(even) .service-img {
      order: 0
    }

    .service-item:nth-child(even) .service-text {
      order: 0
    }

    .service-img {
      height: 200px
    }

    .service-text .snum {
      font-size: 36px
    }

    .service-text h3 {
      font-size: 18px
    }

    /* Also: 3-3-2 */
    .also-section {
      padding: 28px 20px
    }

    .also-section h3 {
      font-size: 16px;
      padding: 8px 50px;
      margin-bottom: 0
    }

    .also-section .also-title-wrap {
      margin-bottom: 16px
    }

    .also-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 12px
    }

    .also-item {
      padding: 10px 4px
    }

    .also-item .also-icon {
      width: 72px;
      height: 72px;
      font-size: 20px
    }

    .also-item .also-icon img {
      width: 44px !important;
      height: 44px !important
    }

    .also-item .also-name {
      font-size: 12px
    }

    /* Works & Recommend: carousel */
    .works-scroll-wrap,
    .recommend {
      overflow: hidden;
      margin: 0 -16px;
      padding: 0 16px;
      position: relative
    }

    .works-scroll-wrap .blog-grid,
    .recommend .blog-grid {
      display: flex !important;
      gap: 16px;
      grid-template-columns: unset !important;
      transition: transform 0.5s ease
    }

    .works-scroll-wrap .blog-card,
    .recommend .blog-grid .blog-card {
      min-width: calc(85vw - 32px);
      flex-shrink: 0
    }

    .works-scroll-wrap .blog-card .thumb,
    .recommend .blog-grid .blog-card .thumb {
      height: 0;
      padding-bottom: 56.25%;
      background-size: cover;
      background-position: center
    }

    .works-scroll-wrap .blog-card:nth-child(3),
    .recommend .blog-grid .blog-card:nth-child(3) {
      display: block
    }

    .carousel-dots {
      display: flex
    }

    .single-post .recommend {
    overflow: hidden;
    }

    .single-post .recommend .blog-card {
    flex: 0 0 calc(100% - 16px) !important;
    min-width: unset !important;
    }	  
	  
    .single-works .recommend .blog-card {
    flex: 0 0 calc(85vw - 32px) !important;
    width: calc(85vw - 32px) !important;
	max-width: calc(85vw - 32px) !important;
    }
	  
    .single-works .recommend .thumb {
    height: 200px;
    background-size: cover;
    background-position: center;
    }
  
    /* Worry */
    .worry-section .section-header h2 {
      font-size: 20px
    }

    .worry-note-badge {
      padding: 6px 16px;
      font-size: 14px
    }

    .worry-bottom-note {
      font-size: 16px
    }

    .worry-bottom-note strong {
      font-size: 17px;
      padding: 2px 10px !important
    }

    /* Company: stack */
    .company-grid {
      grid-template-columns: 1fr;
      gap: 24px
    }

    .map-container iframe {
      height: 280px
    }

    /* CTA */
    .cta-section h2 {
      font-size: 22px
    }

    .cta-buttons {
      flex-direction: column;
      align-items: center
    }

    .cta-btn-primary,
    .cta-btn-tel {
      min-width: 280px;
      width: 100%;
      max-width: 320px
    }

    /* Footer: stack, center, flex lists */
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 24px
    }

    .footer-logo {
      text-align: center
    }

    .footer-logo img {
      margin: 0 auto 30px !important
    }

    .footer-logo p {
      text-align: center
    }

    .footer-grid>div:not(.footer-logo) {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: flex-start
    }

    .footer-grid>div:not(.footer-logo) h4 {
      width: 100%;
      margin-bottom: 4px
    }

    .footer-grid>div:not(.footer-logo) ul {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 16px;
      list-style: none
    }

    .footer-grid>div:not(.footer-logo) li {
      margin-bottom: 0
    }

    /* Recommend */
    .recommend .blog-grid .blog-card:nth-child(3) {
      display: block
    }

    /* Forms */
    .check-row {
      gap: 0px 16px !important
    }

    body {
      padding-bottom: 72px
    }
  }

    .post-content p {
    margin-bottom: 16px;
    }

    .post-content {
    font-size: 14px;
    line-height: 1.9;
    word-break: break-word;
    }

    .post-content figure {
    margin: 16px 0;
    }
    .wpcf7 .wpcf7-acceptance {
    display: flex;
    justify-content: center;
    }

    .recommend {
    margin-top: 32px;
    }

    .recommend .blog-grid {
    grid-template-columns: 1fr;
    }

    .recommend .blog-card .thumb {
    height: 200px;
    }
}


  @media(min-width:769px) {
    .sp-br {
      display: none
    }

    .header-cta-sp {
      display: none !important
    }
  }