/* ══ 大浜畳商店 共通スタイル ══ */
/* Generated: 2026-04-12 */

:root {
      --main: #556B2F;
      --main-light: #6B8A3E;
      --sub: #8B7E66;
      --accent: #C9A84C;
      --bg-base: #FAF8F5;
      --bg-alt: #F0EDE6;
      --text: #333333;
      --text-light: #666666;
      --white: #FFFFFF;
      --line-green: #06C755;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Noto Sans JP', sans-serif;
      color: var(--text);
      background: var(--bg-base);
      line-height: 1.8;
      -webkit-font-smoothing: antialiased;
    }

    /* ── Header ── */
    header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.97);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid rgba(0, 0, 0, 0.06);
      padding: 0 40px;
      height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .header-logo {
      font-family: 'Noto Serif JP', serif;
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--main);
      letter-spacing: 0.08em;
      text-shadow: 0 1px 0 rgba(85, 107, 47, 0.08);
    }

    .header-logo small {
      display: block;
      font-size: 0.7rem;
      font-weight: 500;
      color: var(--text-light);
      letter-spacing: 0.06em;
      font-family: 'Noto Sans JP', sans-serif;
    }

    nav {
      display: flex;
      align-items: center;
      gap: 28px;
    }

    nav a {
      text-decoration: none;
      color: var(--text);
      font-size: 0.85rem;
      font-weight: 500;
      letter-spacing: 0.02em;
      position: relative;
      transition: color 0.3s;
    }

    nav a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--main);
      transition: width 0.3s;
    }

    nav a:hover {
      color: var(--main);
    }

    nav a:hover::after {
      width: 100%;
    }

    /* Dropdown */
    .nav-dropdown {
      position: relative;
    }

    .nav-dropdown>a::after {
      display: none;
    }

    .nav-dropdown>a {
      display: flex;
      align-items: center;
      gap: 4px;
      cursor: pointer;
    }

    .nav-dropdown>a .dd-arrow {
      width: 10px;
      height: 10px;
      transition: transform 0.2s;
    }

    .nav-dropdown:hover>a .dd-arrow {
      transform: rotate(180deg);
    }

    .nav-dropdown-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      background: var(--white);
      border-radius: 10px;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
      min-width: 200px;
      padding: 20px 0 8px;
      z-index: 100;
    }

    .nav-dropdown-menu::before {
      content: '';
      position: absolute;
      top: 4px;
      left: 50%;
      transform: translateX(-50%);
      border: 8px solid transparent;
      border-top: none;
      border-bottom: 8px solid var(--white);
    }

    .nav-dropdown:hover .nav-dropdown-menu {
      display: block;
      animation: fadeIn 0.15s ease;
    }

    .nav-dropdown-menu a {
      display: block;
      padding: 10px 20px;
      font-size: 0.84rem;
      color: var(--text);
      white-space: nowrap;
    }

    .nav-dropdown-menu a::after {
      display: none;
    }

    .nav-dropdown-menu a:hover {
      background: var(--bg-alt);
      color: var(--main);
    }

    /* Mobile nav sections */
    .mobile-nav-section {
      padding: 8px 0 4px;
      font-size: 0.72rem;
      font-weight: 700;
      color: var(--sub);
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    .mobile-nav-section:first-child {
      padding-top: 0;
    }

    .header-cta {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-left: 20px;
    }

    .header-phone {
      font-size: 0.85rem;
      color: var(--main);
      font-weight: 700;
      text-decoration: none;
      letter-spacing: 0.02em;
    }

    .header-phone span {
      font-size: 0.7rem;
      font-weight: 500;
      color: var(--text-light);
      display: block;
    }

    .btn-line-sm {
      background: var(--line-green);
      color: var(--white);
      padding: 8px 16px;
      border-radius: 6px;
      font-size: 0.8rem;
      font-weight: 700;
      text-decoration: none;
      transition: opacity 0.3s;
    }

    .btn-line-sm:hover {
      opacity: 0.85;
    }

    /* ── Section base ── */
    section {
      padding: 80px 0;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    h2 {
      font-family: 'Noto Serif JP', serif;
      font-size: 1.75rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 12px;
      color: var(--text);
      letter-spacing: 0.06em;
    }

    .section-sub {
      text-align: center;
      color: var(--text-light);
      font-size: 0.9rem;
      margin-bottom: 48px;
    }

    .section-line {
      width: 40px;
      height: 3px;
      background: var(--main);
      margin: 16px auto 40px;
      border-radius: 2px;
    }

/* ── Footer ── */
    footer {
      background: #2A2A2A;
      color: rgba(255, 255, 255, 0.7);
      padding: 60px 24px 32px;
      font-size: 0.85rem;
      line-height: 2;
    }

    .footer-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }

    .footer-info h3 {
      font-family: 'Noto Serif JP', serif;
      color: var(--white);
      font-size: 1.1rem;
      margin-bottom: 16px;
    }

    .footer-nav {
      display: flex;
      flex-wrap: wrap;
      gap: 12px 24px;
    }

    .footer-nav a {
      color: rgba(255, 255, 255, 0.7);
      text-decoration: none;
      transition: color 0.3s;
    }

    .footer-nav a:hover {
      color: var(--white);
    }

    .footer-area {
      margin-top: 16px;
      padding-top: 16px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-area span {
      color: rgba(255, 255, 255, 0.5);
      font-size: 0.8rem;
    }

    .footer-info p a,
    .footer-info p a:visited,
    .footer-info a[href^="tel"] {
      color: inherit;
      text-decoration: none;
    }

    .footer-bottom {
      max-width: 1100px;
      margin: 32px auto 0;
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      text-align: center;
      font-size: 0.78rem;
      color: rgba(255, 255, 255, 0.4);
    }

    /* ── Mobile fixed bar ── */
    .mobile-bar {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 100;
      background: var(--white);
      box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
      padding: 10px 16px;
    }

    .mobile-bar-inner {
      display: flex;
      gap: 8px;
    }

    .mobile-bar a {
      text-align: center;
      border-radius: 8px;
      font-weight: 700;
      text-decoration: none;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
    }

    .mobile-bar .bar-phone {
      flex: 0 0 auto;
      padding: 14px 16px;
      background: var(--white);
      color: var(--main);
      border: 2px solid var(--main);
      font-size: 0.8rem;
    }

    .mobile-bar .bar-line {
      flex: 1;
      padding: 14px;
      background: var(--line-green);
      color: var(--white);
      font-size: 0.95rem;
      box-shadow: 0 2px 8px rgba(6, 199, 85, 0.3);
    }

    /* ── Hamburger Menu ── */
    .hamburger {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      width: 44px;
      height: 44px;
      padding: 8px;
      position: relative;
      z-index: 110;
    }

    .hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--text);
      margin: 6px auto;
      transition: all 0.3s;
      border-radius: 1px;
    }

    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -6px);
    }

    .mobile-nav {
      display: none;
      position: fixed;
      top: 72px;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(12px);
      z-index: 99;
      padding: 32px 24px;
      overflow-y: auto;
    }

    .mobile-nav.open {
      display: block;
      animation: fadeIn 0.2s ease;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    .mobile-nav a {
      display: block;
      padding: 16px 0;
      font-size: 1rem;
      font-weight: 500;
      color: var(--text);
      text-decoration: none;
      border-bottom: 1px solid rgba(0, 0, 0, 0.06);
      transition: color 0.3s;
    }

    .mobile-nav a:hover {
      color: var(--main);
    }

    .mobile-nav .mobile-nav-cta {
      margin-top: 24px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .mobile-nav .mobile-nav-cta a {
      text-align: center;
      padding: 14px;
      border-radius: 8px;
      font-weight: 700;
      border-bottom: none;
    }

    .mobile-nav .nav-phone {
      background: var(--main);
      color: var(--white);
    }

    .mobile-nav .nav-line {
      background: var(--line-green);
      color: var(--white);
    }

    /* ── Utility ── */
    .sp-br {
      display: none;
    }

    .pc-br {
      display: inline;
    }

    .back-to-top {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 90;
      width: 48px;
      height: 48px;
      background: var(--main);
      color: var(--white);
      border: none;
      border-radius: 50%;
      font-size: 1.2rem;
      cursor: pointer;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .back-to-top.visible {
      opacity: 1;
      visibility: visible;
    }

    .back-to-top:hover {
      background: var(--main-light);
      transform: translateY(-2px);
    }


    /* ── Responsive (Common) ── */
    @media (max-width: 768px) {
      nav {
        display: none;
      }

      .header-cta {
        display: none;
      }

      .hamburger {
        display: block;
      }

      .footer-inner {
        grid-template-columns: 1fr;
      }

      .mobile-bar {
        display: block;
      }

      footer {
        padding-bottom: 100px;
      }

      section {
        padding: 56px 0;
      }

      h2 {
        font-size: 1.4rem;
      }

      .back-to-top {
        bottom: 80px;
        right: 16px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
      }

      .sp-br {
        display: inline;
      }

      .pc-br {
        display: none;
      }

      .footer-info p {
        font-size: 0.8rem;
        line-height: 2;
      }

      .footer-nav {
        gap: 8px 16px;
        font-size: 0.82rem;
      }
    }
