@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap');

:root {
  --primary-color: #061D47;
  --secondary-color: #0a2d6c;
  --text-color: #333333;
  --bg-color: #ffffff;
  --bg-light: #f5f7fa;
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  --content-width: 1100px;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
}

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

ul {
  list-style: none;
}

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

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-logo {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
}

.header-nav ul {
  display: flex;
  gap: 30px;
}

.header-nav a {
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s;
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  transition: 0.3s;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 60px 40px 20px;
}

.footer-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-info h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 15px;
}

.footer-info p {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.9;
}

.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 40px;
}

.footer-nav a {
  font-size: 14px;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 12px;
  opacity: 0.8;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Lower Page FV */
.lower-fv {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 100px 20px;
  text-align: center;
  background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  position: relative;
  overflow: hidden;
}

/* ほのかな化学・環境のあしらい */
.lower-fv::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.lower-fv::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.lower-fv-en {
  font-size: 14px;
  letter-spacing: 0.15em;
  opacity: 0.8;
  margin-bottom: 15px;
  display: block;
  font-family: var(--font-sans);
}

.lower-fv-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.lower-fv-catch {
  font-size: 18px;
  font-weight: 500;
  opacity: 0.9;
}

/* Common Section */
.section {
  padding: 80px 20px;
}

.section-bg {
  background-color: var(--bg-light);
}

.section-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 20px auto 0;
}

.lead-text {
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 60px;
  font-weight: 500;
}

/* Business Layouts */
.business-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.business-card {
  background-color: #fff;
  padding: 40px 20px;
  text-align: center;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
  border: 1px solid #eaeaea;
  text-decoration: none;
}

.business-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  border-color: var(--primary-color);
}

.business-card h3 {
  font-family: var(--font-serif);
  color: var(--primary-color);
  font-size: 20px;
  margin-bottom: 15px;
}

/* Grids */
.features-grid, .reasons-grid, .services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-box, .reason-box, .service-box {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-left: 4px solid var(--primary-color);
}

.feature-box h4, .reason-box h4, .service-box h4 {
  font-family: var(--font-serif);
  color: var(--primary-color);
  font-size: 20px;
  margin-bottom: 15px;
}

/* Flow */
.flow-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.flow-step {
  text-align: center;
  flex: 1;
  min-width: 150px;
  position: relative;
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid #eaeaea;
}

.flow-step:not(:last-child)::after {
  content: '▶';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 20px;
  z-index: 2;
}

.flow-step-num {
  font-family: var(--font-sans);
  color: var(--primary-color);
  font-size: 14px;
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
  opacity: 0.7;
}

.flow-step-text {
  font-weight: 500;
  line-height: 1.5;
}

/* Standard Content Blocks */
.content-block {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 40px;
}

.content-block p {
  margin-bottom: 20px;
}
.content-block p:last-child {
  margin-bottom: 0;
}

.makers-list h4 {
  font-family: var(--font-serif);
  color: var(--primary-color);
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg-light);
}

.makers-item {
  margin-bottom: 20px;
  padding-left: 15px;
  position: relative;
}
.makers-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

.makers-item strong {
  display: block;
  color: var(--primary-color);
  margin-bottom: 5px;
  font-size: 16px;
}

.makers-item span {
  font-size: 14px;
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 15px 20px;
  }
  .header-nav {
    display: none; /* Hide on mobile for static mock */
  }
  .menu-toggle {
    display: flex;
  }
  .business-list, .features-grid, .reasons-grid, .services-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
  }
  .footer-nav ul {
    grid-template-columns: 1fr;
  }
  .lower-fv {
    padding: 60px 20px;
  }
  .lower-fv-title {
    font-size: 28px;
  }
  .section {
    padding: 50px 20px;
  }
  .flow-step:not(:last-child)::after {
    content: '▼';
    right: auto;
    bottom: -20px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  .flow-container {
    flex-direction: column;
    gap: 30px;
  }
}
    
        .reveal-container {
            position: relative;
            display: inline-block;
            overflow: hidden;
        }
        .reveal-cover {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #FFFFFF;
            transform-origin: left;
            transform: scaleX(0);
            z-index: 10;
            animation: revealBlock 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
            animation-delay: 0.5s;
        }
        .reveal-text {
            opacity: 0;
            animation: revealText 0.1s forwards;
            animation-delay: 1.0s;
        }
        .reveal-container.delay-1 .reveal-cover { animation-delay: 0.7s; }
        .reveal-container.delay-1 .reveal-text { animation-delay: 1.2s; }
        .reveal-container.delay-2 .reveal-cover { animation-delay: 0.9s; }
        .reveal-container.delay-2 .reveal-text { animation-delay: 1.4s; }
        .reveal-container.delay-3 .reveal-cover { animation-delay: 1.1s; }
        .reveal-container.delay-3 .reveal-text { animation-delay: 1.6s; }
        
        @keyframes revealBlock {
            0% { transform: scaleX(0); transform-origin: left; }
            40% { transform: scaleX(1); transform-origin: left; }
            40.1% { transform: scaleX(1); transform-origin: right; }
            100% { transform: scaleX(0); transform-origin: right; }
        }
        @keyframes revealText {
            to { opacity: 1; }
        }
    
        /* Solid Button Hover Animations with Color Inversion and Real Border */
        .hover-btn-dark, .hover-btn-light {
            position: relative;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
            z-index: 1;
            /* Real border to ensure it is always visible above backgrounds */
            border: 1px solid transparent;
        }
        
        .hover-btn-dark::before, .hover-btn-light::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
            z-index: -1;
            border-radius: 9999px;
        }

        /* Dark Button -> Inverts to White BG / Navy Text / Navy Border */
        .hover-btn-dark::before {
            background-color: #FFFFFF;
        }
        .hover-btn-dark:hover {
            color: #0A1128 !important; /* navy */
            border-color: #0A1128; /* Visible border */
        }

        /* Light Button -> Inverts to Navy BG / White Text / White Border */
        .hover-btn-light::before {
            background-color: #0A1128; /* navy */
        }
        .hover-btn-light:hover {
            color: #FFFFFF !important;
            border-color: #FFFFFF; /* Visible border */
        }

        .hover-btn-dark:hover::before, .hover-btn-light:hover::before {
            transform: scaleX(1);
            transform-origin: left;
        }

        .hover-btn-dark span, .hover-btn-light span {
            display: inline-block;
            transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
        }

        .hover-btn-dark:hover span, .hover-btn-light:hover span {
            transform: translateX(6px);
        }
    
    
        /* FV Image Reveal Animation (Native Clip-path Wipe for Perfect Edges) */
        .fv-image-reveal {
            clip-path: polygon(0 0, 0 0, 25% 100%, 25% 100%);
            animation: fvImageClipSweep 1.2s cubic-bezier(0.7, 0, 0.3, 1) forwards;
            animation-delay: 1.7s;
        }
        @keyframes fvImageClipSweep {
            0% { clip-path: polygon(0 0, 0 0, 25% 100%, 25% 100%); }
            100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 25% 100%); }
        }
    /* Mobile Straight Wipe */
        .fv-image-reveal-mobile {
            clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
            animation: fvImageClipSweepMobile 1.2s cubic-bezier(0.7, 0, 0.3, 1) forwards;
            animation-delay: 0.6s;
        }
        /* Mobile specific delays for sub texts */
        .reveal-container.mobile-delay-2 .reveal-cover { animation-delay: 1.2s; }
        .reveal-container.mobile-delay-2 .reveal-text { animation-delay: 1.68s; }
        .reveal-container.mobile-delay-3 .reveal-cover { animation-delay: 1.4s; }
        .reveal-container.mobile-delay-3 .reveal-text { animation-delay: 1.88s; }
        @keyframes fvImageClipSweepMobile {
            0% { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
            100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
        }
    

.btn-slide-in { opacity: 0; animation: slideInLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; animation-delay: 1.2s; }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
.blur-fade-in { opacity: 0; filter: blur(15px); transform: translateY(20px); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); transition-delay: 0.2s; }
.blur-fade-in.is-visible { opacity: 1; filter: blur(0); transform: translateY(0); }

/* WordPress Admin Bar Fix for Fixed Header */
.admin-bar header.fixed.top-0 {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    .admin-bar header.fixed.top-0 {
        top: 46px !important;
    }
}


/* Load Fade In Up Animation (for immediate delayed reveal) */
.load-fade-in-up {
    opacity: 0;
    animation: fadeInUpAnim 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes fadeInUpAnim {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Form 7 Layout Fixes */
.w-full.md\:w-2\/3 > .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
}
.wpcf7 form p {
    margin-bottom: 0;
}
.wpcf7 br {
    display: none;
}

/* CF7 Validation Error Styles */
.wpcf7-not-valid-tip {
    font-size: 12px !important;
    color: #ef4444 !important;
    margin-top: 4px;
    display: block;
}
.wpcf7 form .wpcf7-response-output {
    border-radius: 8px;
    font-size: 14px;
    margin-top: 24px;
    border-color: #cbd5e1;
}

/* CF7 Checkbox Fixes */
.wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
    padding: 0;
}

/* CF7 Checkbox Vertical Alignment Fix */
.wpcf7-form-control-wrap[data-name^="acceptance"],
.wpcf7-acceptance,
.wpcf7-acceptance .wpcf7-list-item {
    display: contents !important;
}
.wpcf7-acceptance input[type="checkbox"] {
    margin: 0 !important;
    transform: translateY(-1px); /* Fine-tune optical alignment if needed */
}

/* CF7 Spinner Centering Fix */
.wpcf7 form .wpcf7-spinner {
    margin: 0 !important;
    margin-left: 16px !important;
    margin-right: -40px !important;
    vertical-align: middle !important;
}

/* CF7 Submit Button Hover Fix */
input.wpcf7-submit.hover-btn-dark:hover {
    color: #ffffff !important; /* Keep text white because ::before doesn't work on inputs */
    opacity: 0.8;
}
