/*
    Theme Name: Maiko Theme    
*/

      /* --- VARIABLES --- */
      :root {
        /* Colors */
        --color-primary: #006d77;
        --color-primary-light: #2a9d8f;
        --color-primary-dark: #004d53;
        --color-accent: #c0a062;
        --color-accent-light: #e8d5aa;
        --color-text: #333333;
        --color-text-light: #666666;
        --color-white: #ffffff;
        --color-bg-light: #f8fafc;
        --color-bg-stone: #fafaf9;
        
        /* Fonts */
        --font-sans: "Noto Sans JP", sans-serif;
        --font-serif: "Playfair Display", serif;

        /* Spacing & Sizes */
        --container-width: 1200px;
        --header-height: 80px;
        --radius-sm: 4px;
        --radius-md: 8px;
        --radius-lg: 16px;
        --radius-full: 9999px;
      }

      /* --- RESET & BASE --- */
      * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }

      html {
        scroll-behavior: smooth;
        scroll-padding-top: var(--header-height);
        font-family: var(--font-sans);
        font-size: 16px;
        color: var(--color-text);
        line-height: 1.6;
        overflow-x: hidden;
      }
      @media (min-width: 640px) {
        html {
          font-size: 18px;
        }
      }

      body {
        background-color: var(--color-white);
        -webkit-font-smoothing: antialiased;
        overflow-x: hidden;
        width: 100%;
      }

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

      ul {
        list-style: none;
      }

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

      h1, h2, h3, h4, h5, h6 {
        font-family: var(--font-serif);
        line-height: 1.3;
      }

      button {
        border: none;
        background: none;
        cursor: pointer;
        font-family: inherit;
      }

      input, textarea {
        font-family: var(--font-sans);
        font-size: 16px;
      }
      @media (min-width: 640px) {
        input, textarea {
          font-size: 1rem;
        }
      }

      main {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
      }

      /* --- UTILITIES --- */
      .container {
        max-width: var(--container-width);
        margin: 0 auto;
        padding: 0 1rem;
      }
      @media (min-width: 640px) {
        .container {
          padding: 0 1.5rem;
        }
      }

      .text-center { text-align: center; }
      .text-right { text-align: right; }
      .hidden { display: none !important; }
      
      /* Mobile Only / Desktop Only utilities */
      .md-hidden { display: block; }
      .md-visible { display: none; }

      @media (min-width: 768px) {
        .md-hidden { display: none; }
        .md-visible { display: flex; } /* default flex */
        .md-block { display: block; }
      }

      /* Animation classes */
      @keyframes fadeInUp {
        from { opacity: 0; transform: translate3d(0, 20px, 0); }
        to { opacity: 1; transform: translate3d(0, 0, 0); }
      }
      .animate-fade-in-up {
        animation: fadeInUp 0.8s ease-out forwards;
        opacity: 0;
      }
      .delay-100 { animation-delay: 0.1s; }
      .delay-200 { animation-delay: 0.2s; }
      .delay-300 { animation-delay: 0.3s; }
      .delay-400 { animation-delay: 0.4s; }

      /* --- COMPONENTS --- */

      /* Buttons */
      .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.875rem 1.5rem;
        min-height: 44px;
        border-radius: var(--radius-full);
        font-weight: bold;
        font-size: 0.875rem;
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        white-space: nowrap;
      }
      @media (min-width: 640px) {
        .btn {
          padding: 1rem 2rem;
          font-size: 1rem;
        }
      }
      .btn:hover {
        transform: scale(1.05);
      }
      .btn-primary {
        background-color: var(--color-primary);
        color: var(--color-white);
      }
      .btn-primary:hover {
        background-color: var(--color-primary-light);
      }
      .btn-accent {
        background-color: var(--color-accent);
        color: var(--color-primary-dark);
      }
      .btn-accent:hover {
        background-color: var(--color-accent-light);
      }

      /* Section Common */
      .section {
        padding: 2.5rem 0;
        overflow-x: hidden;
      }
      @media (min-width: 640px) {
        .section { padding: 4rem 0; }
      }
      @media (min-width: 768px) {
        .section { padding: 6rem 0; }
      }
      @media (min-width: 1024px) {
        .section { padding: 8rem 0; }
      }
      .section-header {
        text-align: center;
        margin-bottom: 1.5rem;
      }
      @media (min-width: 640px) {
        .section-header {
          margin-bottom: 2rem;
        }
      }
      @media (min-width: 768px) {
        .section-header {
          margin-bottom: 2.5rem;
        }
      }
      @media (min-width: 1024px) {
        .section-header {
          margin-bottom: 3rem;
        }
      }
      .section-subtitle {
        color: var(--color-accent);
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        display: block;
        margin-bottom: 0.5rem;
        font-family: var(--font-sans);
        font-size: 0.75rem;
      }
      @media (min-width: 640px) {
        .section-subtitle {
          font-size: 0.875rem;
        }
      }
      .section-title {
        font-size: 1.5rem;
        color: var(--color-primary-dark);
        margin-bottom: 1rem;
        line-height: 1.4;
      }
      @media (min-width: 640px) {
        .section-title {
          font-size: 1.75rem;
          margin-bottom: 1.5rem;
        }
      }
      @media (min-width: 768px) {
        .section-title { font-size: 2.25rem; }
      }
      @media (min-width: 1024px) {
        .section-title { font-size: 2.5rem; }
      }
      .section-title-white {
        color: white;
      }
      .section-desc {
        text-align: left;
        color: var(--color-text-light);
        max-width: 900px;
        margin: 0 auto;
      }

      /* Header */
      .site-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        z-index: 1000;
        padding: 0.75rem 0;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        color: #666666;
        box-sizing: border-box;
      }
      @media (min-width: 768px) {
        .site-header {
          padding: 1.25rem 0;
        }
      }
      .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      .logo {
        max-width: 180px;
      }
      @media (min-width: 768px) {
        .logo {
          max-width: 250px;
        }
      }
      .nav-desktop {
        display: none;
        gap: 2rem;
      }
      @media (min-width: 768px) {
        .nav-desktop { display: flex; }
      }
      .nav-link {
        font-size: 0.9rem;
        font-weight: 500;
        color: #666666;
      }
      .nav-link:hover {
        color: var(--color-accent);
      }
      .menu-toggle {
        color: #666666;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
        cursor: pointer;
        background: transparent;
        border: none;
        outline: none;
      }
      .menu-toggle:focus {
        outline: 2px solid var(--color-primary);
        outline-offset: 2px;
      }
      @media (min-width: 768px) {
        .menu-toggle {
          display: none !important;
        }
      }
      .menu-icon {
        width: 28px;
        height: 28px;
      }

      /* Mobile Menu */
      .mobile-menu {
        position: fixed;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        border-top: 1px solid #eee;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        z-index: 999;
        
        /* Animation properties */
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
      }
      .mobile-menu.open {
        max-height: 500px;
        opacity: 1;
        pointer-events: auto;
      }
      @media (min-width: 768px) {
        .mobile-menu {
          display: none;
        }
      }
      .mobile-link {
        padding: 1rem 1.5rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        color: var(--color-text);
        border-bottom: 1px solid #f0f0f0;
      }
      .mobile-link:hover {
        color: var(--color-accent);
        background-color: #fafafa;
      }

      /* Hero Section */
      .hero {
        position: relative;
        height: 80vh;
        margin-top: 70px;
        padding: 0;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        overflow: hidden;
        overflow-x: hidden;
        color: var(--color-primary);
        width: 100%;
        max-width: 100%;
      }
      @media (min-width: 640px) {
        .hero {
          min-height: 60vh;
          height: auto;
          padding: 3rem 0 5rem 0;
          align-items: center;
        }
      }
      @media (min-width: 768px) {
        .hero {
          min-height: 50vw;
          margin-top: 100px;
          padding: 4rem 0 6rem 0;
          align-items: center;
        }
      }
      .hero-bg {
        position: absolute;
        inset: 0;
        z-index: 0;
        background-image: url('images/mv1-sp.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
      }
      @media (min-width: 768px) {
        .hero-bg {
          background-image: url('images/mv1.png');
        }
      }
      .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(
          to bottom,
          transparent 0%,
          transparent 50%,
          rgba(255, 255, 255, 0.6) 70%,
          rgba(255, 255, 255, 0.9) 100%
        );
        pointer-events: none;
        z-index: 1;
      }
      @media (min-width: 768px) {
        .hero-overlay {
          background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.85) 20%,
            rgba(255, 255, 255, 0.5) 40%,
            rgba(255, 255, 255, 0) 60%,
            rgba(255, 255, 255, 0) 100%
          );
        }
      }
      .hero-content {
        position: relative;
        z-index: 10;
        width: 100%;
        height: 100%;
        padding: 0;
      }
      @media (min-width: 640px) {
        .hero-content {
          height: auto;
          padding-bottom: 3rem;
        }
      }
      @media (min-width: 768px) {
        .hero-content {
          padding-bottom: 0;
        }
      }
      .hero-content-inner {
        position: absolute;
		bottom: 12%;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 960px;
        padding: 0 1rem;
      }
      @media (min-width: 640px) {
        .hero-content-inner {
          position: relative;
          bottom: auto;
          left: auto;
          transform: none;
          padding: 0;
        }
      }
      .btn-icon {
        width: 20px;
        height: 20px;
      }
      .hero-subtitle {
        color: var(--color-accent);
        letter-spacing: 0.1em;
        font-weight: bold;
        text-transform: uppercase;
        margin-bottom: 0.75rem;
        display: block;
        font-size: 0.75rem;
      }
      @media (min-width: 640px) {
        .hero-subtitle {
          font-size: 1rem;
          margin-bottom: 1rem;
        }
      }
      .hero-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        font-weight: 700;
        line-height: 1.4;
      }
      @media (min-width: 640px) {
        .hero-title { 
          font-size: 2.25rem;
          margin-bottom: 1.5rem;
        }
      }
      @media (min-width: 768px) {
        .hero-title { 
          font-size: 3rem; 
        }
        .hero-content { text-align: left; }
      }
      @media (min-width: 1024px) {
        .hero-title { font-size: 3.25rem; }
      }
      .hero-desc {
        font-size: 1rem;
        color: var(--color-text-light);
        margin-bottom: 1.5rem;
        line-height: 1.7;
      }
      @media (min-width: 640px) {
        .hero-desc {
          font-size: 1rem;
          margin-bottom: 2rem;
          line-height: 1.8;
        }
      }
      @media (min-width: 768px) {
        .hero-desc {
          font-size: 1.125rem;
        }
      }
      .hero-profile-snippet {
        display: none;
        flex-direction: column;
        margin-bottom: 2.5rem;
        border-left: 4px solid var(--color-accent);
        padding-left: 1rem;
        text-align: center;
        gap: 0.25rem;
      }
      @media (min-width: 768px) {
        .hero-profile-snippet { 
            display: flex;
            text-align: left; 
            flex-direction: row; 
            align-items: center; 
        }
      }
      .hero-name {
        font-size: 1.5rem;
        font-family: var(--font-serif);
        font-weight: bold;
      }
      .hero-job {
        font-size: 0.875rem;
        color: var(--color-text-light);
      }

      /* Introduction */
      .intro-wrapper {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        align-items: center;
      }
      @media (min-width: 768px) {
        .intro-wrapper { flex-direction: row; gap: 5rem; }
      }
      .intro-image-area {
        width: 100%;
        position: relative;
        overflow: visible;
      }
      @media (min-width: 768px) {
        .intro-image-area { width: 50%; }
      }
      .intro-img-wrapper {
        position: relative;
      }
      .intro-img-frame {
        border-radius: var(--radius-md);
        overflow: hidden;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        aspect-ratio: 3/4;
        z-index: 1;
      }
      .intro-img-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        image-rendering: auto;
      }
      .intro-badge {
        position: absolute;
        bottom: 1rem;
        right: 1rem;
        background-color: var(--color-primary);
        color: var(--color-white);
        padding: 1.5rem;
        border-radius: var(--radius-md);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        display: none;
        z-index: 100;
      }
      @media (min-width: 768px) {
        .intro-badge { 
          display: block;
          bottom: -1.5rem;
          right: -1.5rem;
          z-index: 100;
        }
      }
      .intro-badge-text {
        font-family: var(--font-serif);
        font-style: italic;
        font-size: 1.125rem;
      }
      .intro-signature {
        margin-top: 2rem;
      }
      .signature-img {
        opacity: 0.5;
        height: 4rem;
      }
      .intro-text-area {
        width: 100%;
      }
      @media (min-width: 768px) {
        .intro-text-area { width: 50%; }
      }
      .intro-heading {
        font-size: 1.75rem;
        color: var(--color-primary-dark);
        margin-bottom: 2rem;
        line-height: 1.4;
      }
      @media (min-width: 768px) {
        .intro-heading { font-size: 2rem; }
      }
      .intro-body p {
        margin-bottom: 1.5rem;
        color: var(--color-text-light);
      }
      
      /* Profile */
      .profile-section {
        background-color: var(--color-bg-stone);
      }
      .profile-wrapper {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        max-width: 1024px;
        margin: 0 auto;
      }
      @media (min-width: 768px) {
        .profile-wrapper { flex-direction: row; }
      }
      .profile-img-col {
        width: 100%;
      }
      @media (min-width: 768px) {
        .profile-img-col { width: 33.33%; }
      }
      .profile-img-box {
        aspect-ratio: 3/4;
        background-color: #e5e7eb;
        border-radius: var(--radius-md);
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      }
      .profile-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        image-rendering: auto;
      }
      .profile-img-box:hover img {
        transform: none;
      }
      .profile-content-col {
        width: 100%;
      }
      @media (min-width: 768px) {
        .profile-content-col { width: 66.66%; }
      }
      .profile-name-wrapper {
        margin-bottom: 2rem;
      }
      .profile-name {
        font-size: 1.75rem;
        font-weight: bold;
        color: var(--color-primary-dark);
        margin-bottom: 0.5rem;
        line-height: 1.4;
      }
      @media (min-width: 768px) {
        .profile-name { font-size: 2rem; }
      }
      .profile-section-title {
        font-size: 1.125rem;
        font-weight: bold;
        color: var(--color-primary-dark);
        border-bottom: 1px solid #d1d5db;
        padding-bottom: 0.5rem;
        margin-bottom: 1rem;
      }
      .profile-history-list {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        font-size: 0.95rem;
        color: var(--color-text-light);
      }
      .profile-history-item {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
      }
      @media (min-width: 768px) {
        .profile-history-item { flex-direction: row; gap: 1.5rem; }
      }
      .profile-year {
        font-weight: bold;
        color: var(--color-primary);
        min-width: 5rem;
      }
      .profile-grid-2 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2.5rem;
      }
      @media (min-width: 768px) {
        .profile-grid-2 { grid-template-columns: 1fr 1fr; }
      }
      .list-disc {
        list-style: disc;
        padding-left: 1.25rem;
        color: var(--color-text-light);
        line-height: 1.8;
      }

      /* Services */
      .services-section {
        background-color: var(--color-bg-light);
      }
      .services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }
      @media (min-width: 768px) {
        .services-grid { grid-template-columns: repeat(2, 1fr); }
      }
      @media (min-width: 1024px) {
        .services-grid { 
          grid-template-columns: repeat(4, 1fr);
        }
      }
      /* 4カラムのグリッド */
      @media (min-width: 1024px) {
        .services-grid-4col {
          grid-template-columns: repeat(4, 1fr);
		  margin-bottom: 32px;
        }
      }
      /* 3カラムのグリッド（中央揃え） */
      .services-grid-3col {
        margin-top: 1.5rem;
      }
      @media (min-width: 1024px) {
        .services-grid-3col {
          grid-template-columns: repeat(3, 1fr);
          max-width: 75%;
          margin-left: auto;
          margin-right: auto;
          margin-top: 2rem;
        }
      }
      .service-card {
        background-color: var(--color-white);
        padding: 1.5rem;
        border-radius: var(--radius-md);
        border: 1px solid #f1f5f9;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        transition: all 0.3s ease;
      }
      @media (min-width: 640px) {
        .service-card {
          padding: 2rem;
        }
      }
      .service-card:hover {
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        transform: translateY(-2px);
      }
      .service-icon-box {
        width: 3rem;
        height: 3rem;
        background-color: #f1f5f9;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-primary);
        margin-bottom: 1.5rem;
        transition: all 0.3s ease;
      }
      .service-card:hover .service-icon-box {
        background-color: var(--color-primary);
        color: var(--color-white);
      }
      .service-title {
        font-weight: bold;
        color: var(--color-primary-dark);
        margin-bottom: 0.75rem;
        min-height: 3.5rem;
        display: flex;
        align-items: center;
        font-size: 1rem;
        line-height: 1.5;
      }
      .service-desc {
        font-size: 0.875rem;
        color: var(--color-text-light);
        line-height: 1.6;
      }
      .service-note-box {
        margin-top: 2.5rem;
        background-color: var(--color-white);
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        border-left: 4px solid var(--color-accent);
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
        width: 100%;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
      }
      .service-note-title {
        font-size: 1.25rem;
        font-weight: bold;
        color: var(--color-primary-dark);
        margin-bottom: 0.5rem;
      }
      .service-note-text {
        color: var(--color-text-light);
      }
      @media (min-width: 640px) {
        .service-note-box {
          margin-top: 3rem;
          padding: 2rem;
        }
      }
      @media (min-width: 768px) {
        .service-note-box {
          margin-top: 4rem;
        }
      }

      /* Service2 : Card Compare */
      .services2-section {
        background-color: var(--color-bg-light);
      }
      .plan-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }
      @media (min-width: 768px) {
        .plan-grid { 
          grid-template-columns: repeat(2, 1fr);
          gap: 2rem;
        }
      }
      @media (min-width: 1024px) {
        .plan-grid { 
          grid-template-columns: repeat(3, 1fr);
          gap: 2rem;
        }
      }
      .plan-card {
        position: relative;
        background-color: var(--color-white);
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        border: 1px solid #eef2f7;
        box-shadow: 0 6px 18px rgba(0,0,0,0.06);
        transition: all 0.25s ease;
      }
      @media (min-width: 768px) {
        .plan-card {
          padding: 2rem;
        }
      }
      .plan-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 26px rgba(0,0,0,0.10);
      }
      .plan-card.is-recommend {
        border-color: rgba(0,68,132,0.35);
        box-shadow: 0 10px 24px rgba(0,68,132,0.10);
      }
      .plan-badge {
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
        font-size: 0.75rem;
        font-weight: 700;
        padding: 0.35rem 0.65rem;
        border-radius: 999px;
        background-color: var(--color-accent);
        color: var(--color-white);
      }
      .plan-title {
        font-weight: 800;
        color: var(--color-primary-dark);
        margin-bottom: 0.75rem;
        line-height: 1.35;
        font-size: 1.05rem;
      }
      .plan-lead {
        color: var(--color-text-light);
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 1.25rem;
      }
      .plan-divider {
        height: 1px;
        background: #eef2f7;
        margin: 1.25rem 0;
      }
      .plan-checklist {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        gap: 0.6rem;
      }
      .plan-checklist li {
        display: grid;
        grid-template-columns: 2.2rem 1fr;
        gap: 0.6rem;
        align-items: start;
        line-height: 1.6;
        font-size: 0.9rem;
        color: var(--color-primary-dark);
      }
      .mark {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.2rem;
        height: 1.6rem;
        border-radius: 0.5rem;
        font-weight: 800;
        font-size: 0.95rem;
        background: #f1f5f9;
      }
      .mark.ok { color: #0f766e; }
      .mark.mid { color: #ca8a04; }
      .mark.strong { color: var(--color-primary); }
      .plan-note {
        margin-top: 1rem;
        font-size: 0.8rem;
        color: var(--color-text-light);
        line-height: 1.6;
      }
      .plan-legend {
        margin-top: 1.5rem;
        text-align: center;
        font-size: 0.8rem;
        color: var(--color-text-light);
      }
      /* Why Us */
      .why-us-section {
        position: relative;
        padding: 5rem 0;
        color: var(--color-white);
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
      }
      .why-us-bg {
        position: absolute;
        inset: 0;
        z-index: 0;
      }
      .why-us-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      .why-us-overlay {
        position: absolute;
        inset: 0;
        background-color: rgba(0, 77, 83, 0.9);
        z-index: 1;
      }
      .why-us-content {
        position: relative;
        z-index: 10;
      }
      .reason-list {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        max-width: 1024px;
        margin: 0 auto;
      }
      .reason-item {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        background-color: rgba(255, 255, 255, 0.05);
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(4px);
        transition: background-color 0.3s;
      }
      .reason-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
      }
      @media (min-width: 768px) {
        .reason-item {
          flex-direction: row;
          padding: 2rem;
        }
      }
      .reason-num {
        width: 3rem;
        height: 3rem;
        background-color: var(--color-accent);
        color: var(--color-primary-dark);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font-serif);
        font-weight: bold;
        font-size: 1.25rem;
        flex-shrink: 0;
      }
      .reason-text h4 {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
        color: var(--color-white);
        line-height: 1.5;
      }
      @media (min-width: 768px) {
        .reason-text h4 { font-size: 1.25rem; }
      }
      .reason-text p {
        color: #d1d5db;
        line-height: 1.7;
      }

      /* Gallery */
      .gallery-section {
        background-color: var(--color-bg-stone);
      }
      .gallery-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
      }
      @media (min-width: 768px) {
        .gallery-grid { grid-template-columns: 1fr 1fr; }
      }
      @media (min-width: 1024px) {
        .gallery-grid { grid-template-columns: repeat(4, 1fr); }
      }
      .gallery-item {
        position: relative;
        height: 250px;
        overflow: hidden;
        border-radius: var(--radius-md);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        cursor: pointer;
      }
      .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s ease;
      }
      .gallery-item:hover img {
        transform: scale(1.1);
      }
      .gallery-overlay {
        position: absolute;
        inset: 0;
        background-color: rgba(0, 77, 83, 0.4);
        opacity: 1;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .gallery-caption {
        color: var(--color-white);
        font-family: var(--font-serif);
        letter-spacing: 0.1em;
        border: 1px solid var(--color-white);
        padding: 0.5rem 1rem;
      }

      /* Target */
      .target-section {
        background-color: var(--color-white);
      }
      .target-wrapper {
        display: flex;
        flex-direction: column;
        gap: 4rem;
      }
      /* Good Target */
      .target-good-box {
        position: relative;
        border-radius: 1.5rem;
        overflow: hidden;
        background-color: var(--color-primary-dark);
        color: var(--color-white);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
      }
      .target-bg {
        position: absolute;
        inset: 0;
        z-index: 0;
      }
      .target-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.2;
        mix-blend-mode: overlay;
      }
      .target-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(0, 77, 83, 0.95), rgba(0, 109, 119, 0.8));
      }
      .target-content {
        position: relative;
        z-index: 10;
        padding: 2rem;
      }
      @media (min-width: 768px) {
        .target-content { padding: 4rem; }
      }
      .target-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding-bottom: 1.5rem;
      }
      @media (min-width: 768px) {
        .target-header { flex-direction: row; align-items: center; }
      }
      .target-icon-main {
        background-color: var(--color-accent);
        color: var(--color-primary-dark);
        padding: 0.75rem;
        border-radius: 50%;
        display: flex;
      }
      .target-icon-size {
        width: 32px;
        height: 32px;
      }
      .target-header-title {
        font-size: 1.5rem;
        font-family: var(--font-serif);
        font-weight: bold;
        margin-bottom: 0.5rem;
      }
      .target-header-desc {
        color: #cbd5e1;
      }
      .target-item-title {
        font-weight: bold;
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
      }
      .target-item-desc {
        font-size: 0.875rem;
        color: #e2e8f0;
        line-height: 1.6;
      }
      .target-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }
      @media (min-width: 768px) {
        .target-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
      }
      .target-item {
        background-color: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(4px);
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        gap: 1rem;
        transition: background-color 0.3s;
      }
      .target-item:hover {
        background-color: rgba(255, 255, 255, 0.2);
      }
      .target-item-icon {
        color: var(--color-accent);
        flex-shrink: 0;
        margin-top: 0.25rem;
      }

      /* Bad Target */
      .target-bad-container {
        max-width: 900px;
        margin: 0 auto;
        width: 100%;
      }
      .target-bad-box {
        background-color: var(--color-bg-stone);
        border: 1px solid #e5e7eb;
        padding: 2rem;
        border-radius: var(--radius-lg);
        position: relative;
        overflow: hidden;
      }
      @media (min-width: 768px) {
        .target-bad-box { padding: 2.5rem; }
      }
      .target-bad-bg-icon {
        position: absolute;
        bottom: -1.5rem;
        right: -1.5rem;
        color: #e5e7eb;
        z-index: 0;
      }
      .target-bad-bg-icon-size {
        width: 150px;
        height: 150px;
      }
      .target-bad-title-icon {
        color: #9ca3af;
      }
      .target-bad-content {
        position: relative;
        z-index: 10;
      }
      .target-bad-title {
        font-size: 1.25rem;
        font-weight: bold;
        color: #374151;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
      }
      .target-bad-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
      }
      .target-bad-item {
        background-color: var(--color-white);
        padding: 1rem;
        border-radius: var(--radius-md);
        box-shadow: 0 1px 2px rgba(0,0,0,0.05);
        border: 1px solid #f3f4f6;
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        color: var(--color-text-light);
      }
      .target-bad-mark {
        color: #f87171;
        font-weight: bold;
        font-size: 1.125rem;
      }
      .target-note {
        margin-top: 1.5rem;
        font-size: 0.75rem;
        color: #9ca3af;
      }

      /* Story */
      .story-section {
        background-color: #f5f5f4;
      }
      .story-card {
        background-color: var(--color-white);
        border-radius: var(--radius-lg);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        max-width: 1150px;
        margin: 0 auto;
      }
      @media (min-width: 768px) {
        .story-card { flex-direction: row; }
      }
      .story-img-col {
        width: 100%;
        position: relative;
        min-height: 300px;
      }
      @media (min-width: 768px) {
        .story-img-col { width: 40%; min-height: auto; }
      }
      .story-img-col img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      .story-img-overlay {
        position: absolute;
        inset: 0;
      }
      .story-text-col {
        width: 100%;
        padding: 2rem;
        position: relative;
      }
      @media (min-width: 768px) {
        .story-text-col { width: 60%; padding: 4rem; }
      }
      .story-deco {
        position: absolute;
        top: 0;
        right: 0;
        width: 8rem;
        height: 8rem;
        background-color: rgba(192, 160, 98, 0.1);
        border-bottom-left-radius: 100%;
        pointer-events: none;
      }
      .story-heading {
        font-size: 1.25rem;
        font-weight: bold;
        color: var(--color-primary);
        margin-bottom: 1rem;
      }

      /* Locations */
      .locations-wrapper {
        display: flex;
        flex-direction: column;
        gap: 5rem;
      }
      .locations-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 1024px;
        margin: 0 auto 2.5rem auto;
      }
      @media (min-width: 768px) {
        .locations-grid { grid-template-columns: 1fr 1fr; }
      }
      .location-card:hover .location-img img {
        transform: scale(1.05);
      }
      .location-img {
        height: 16rem;
        background-color: #e5e7eb;
        border-radius: var(--radius-md);
        overflow: hidden;
        margin-bottom: 1.5rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      }
      .location-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s ease;
      }
      .location-info {
        display: flex;
        gap: 1rem;
      }
      .location-icon {
        width: 2.5rem;
        height: 2.5rem;
        background-color: #f1f5f9;
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-primary);
        flex-shrink: 0;
        margin-top: 0.25rem;
      }
      .location-details h4 {
        font-size: 1.125rem;
        font-weight: bold;
        color: var(--color-primary-dark);
        margin-bottom: 0.25rem;
        line-height: 1.5;
      }
      @media (min-width: 768px) {
        .location-details h4 { font-size: 1.25rem; }
      }
      .location-address {
        font-weight: 500;
        color: var(--color-text-light);
      }
      .location-desc {
        font-size: 0.875rem;
        color: #6b7280;
        margin-top: 0.5rem;
      }
      
      .area-info-box {
        background-color: var(--color-bg-light);
        padding: 2rem;
        border-radius: var(--radius-lg);
        border: 1px solid #f1f5f9;
        max-width: 800px;
        margin: 0 auto;
      }
      .area-info-title {
        font-weight: bold;
        color: var(--color-primary-dark);
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1.125rem;
      }
      .area-list li {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
        color: var(--color-text-light);
      }
      .area-label {
        font-weight: bold;
        color: #374151;
      }
      .locations-section {
        background-color: var(--color-white);
      }
      .target-cta {
        margin-top: 2rem;
      }
      .area-dot {
        width: 0.5rem;
        height: 0.5rem;
        background-color: var(--color-accent);
        border-radius: 50%;
        margin-top: 0.6rem;
        flex-shrink: 0;
      }

      /* Pricing Box */
      .pricing-box {
        max-width: 900px;
        margin: 0 auto;
        background-color: var(--color-primary-dark);
        color: var(--color-white);
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
        position: relative;
        overflow: hidden;
      }
      @media (min-width: 640px) {
        .pricing-box { padding: 2.5rem; }
      }
      @media (min-width: 768px) {
        .pricing-box { padding: 3rem; }
      }
      @media (min-width: 1024px) {
        .pricing-box { padding: 4rem; }
      }
      .pricing-bg-blur {
        position: absolute;
        top: 0;
        right: 0;
        width: 16rem;
        height: 16rem;
        background-color: rgba(255,255,255,0.05);
        border-radius: 50%;
        filter: blur(64px);
        transform: translate(25%, -25%);
        pointer-events: none;
      }
      .pricing-content {
        position: relative;
        z-index: 10;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
      }
      @media (min-width: 768px) {
        .pricing-content { flex-direction: row; }
      }
      .pricing-icon {
        color: var(--color-accent);
        flex-shrink: 0;
      }
      .pricing-icon-size {
        width: 56px;
        height: 56px;
      }
      .pricing-text h4 {
        font-size: 1.375rem;
        font-weight: bold;
        font-family: var(--font-serif);
        margin-bottom: 1.5rem;
        line-height: 1.5;
      }
      @media (min-width: 768px) {
        .pricing-text h4 { font-size: 1.5rem; }
      }
      .pricing-divider {
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.2);
        margin-top: 1.5rem;
      }
      .pricing-note {
        font-size: 0.875rem;
        color: #9ca3af;
        line-height: 1.6;
      }

      /* Contact */
      .contact-section {
        background-color: var(--color-bg-light);
      }
      .contact-form-container {
        background-color: var(--color-white);
        padding: 1.5rem;
        border-radius: var(--radius-lg);
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        max-width: 900px;
        margin: 0 auto;
      }
      @media (min-width: 640px) {
        .contact-form-container { padding: 2rem; }
      }
      @media (min-width: 768px) {
        .contact-form-container { padding: 3rem; }
      }
      .form-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
      }
      /* 問い合わせフォームは常に1カラム */
      .contact-form-container .form-grid {
        grid-template-columns: 1fr;
      }
      .form-group {
        margin-bottom: 1.5rem;
      }
      .form-label {
        display: block;
        font-size: 0.875rem;
        font-weight: bold;
        color: var(--color-text);
        margin-bottom: 0.5rem;
      }
      .required { color: #ef4444; }
      .form-input, .form-textarea {
        width: 100%;
        padding: 0.875rem 1rem;
        min-height: 44px;
        border: 1px solid #d1d5db;
        border-radius: var(--radius-md);
        outline: none;
        transition: border-color 0.3s, box-shadow 0.3s;
        -webkit-appearance: none;
        appearance: none;
      }
      .form-textarea {
        min-height: 120px;
        resize: vertical;
      }
      .form-input:focus, .form-textarea:focus {
        border-color: var(--color-accent);
        box-shadow: 0 0 0 3px rgba(192, 160, 98, 0.2);
      }
      .contact-form-submit {
        padding-top: 1rem;
      }
      .contact-form-note {
        margin-top: 1rem;
        font-size: 0.75rem;
        color: #6b7280;
      }

      /* Footer */
      .site-footer {
        background-color: var(--color-primary-dark);
        color: var(--color-white);
        padding: 3rem 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        text-align: center;
      }
      .footer-logo-wrapper {
        margin-bottom: 1.5rem;
      }
      .footer-logo {
        max-width: 400px; 
        display: inline-block;
        margin: auto;
      }
      .footer-logo img {
        filter: brightness(0) invert(1);
      }
      .footer-nav {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
        font-size: 0.875rem;
        color: var(--color-white);
      }
      .footer-nav a:hover {
        color: var(--color-accent);
      }
      .footer-copy {
        font-size: 0.75rem;
        color: var(--color-white);
      }

      /* Privacy Policy */
      .privacy-container {
        max-width: 800px;
        margin: 0 auto;
      }
      .privacy-title {
        font-size: 1.5rem;
        font-weight: bold;
        color: var(--color-primary-dark);
        margin-bottom: 2rem;
        text-align: center;
      }
      @media (min-width: 640px) {
        .privacy-title {
          font-size: 1.75rem;
        }
      }
      .privacy-body {
        color: var(--color-text);
        line-height: 1.8;
      }
      .privacy-heading {
        font-size: 1.125rem;
        font-weight: bold;
        color: var(--color-primary-dark);
        margin-top: 2rem;
        margin-bottom: 0.75rem;
      }
      @media (min-width: 640px) {
        .privacy-heading {
          font-size: 1.25rem;
        }
      }
      .privacy-paragraph {
        margin-bottom: 1rem;
        color: var(--color-text);
      }
      .privacy-list {
        list-style-type: disc;
        margin-left: 1.5rem;
        margin-bottom: 1.5rem;
        color: var(--color-text);
      }
      .privacy-list li {
        margin-bottom: 0.5rem;
      }
      .privacy-footer {
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid #e5e7eb;
        text-align: center;
        font-size: 0.875rem;
        color: var(--color-text-light);
      }

.wpcf7-list-item-label a {
	text-decoration: underline;
}
