/* ==========================================================================
   ULU DESIGN — style.css
   想いを、やさしくカタチに。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-primary: #79bce3;
  --color-primary-dark: #4f91ba;
  --color-bg-beige: #f8f5f1;
  --color-bg-blue: #edf7fc;
  --color-white: #ffffff;
  --color-text: #4f5559;
  --color-text-light: #7a8287;
  --color-border: #dde7eb;

  /* Fonts */
  --font-ja: "Noto Sans JP", sans-serif;
  --font-round: "Zen Maru Gothic", sans-serif;
  --font-en: "Montserrat", sans-serif;

  /* Layout */
  --container-width: 1120px;
  --radius-small: 10px;
  --radius-medium: 16px;
  --radius-large: 26px;
  --shadow-soft: 0 8px 30px rgba(79, 105, 120, 0.08);
  --shadow-hover: 0 14px 40px rgba(79, 105, 120, 0.14);

  /* Motion */
  --ease: 0.3s ease;

  /* Section rhythm */
  --section-pad-y: 100px;
  --section-pad-x: 24px;
  --header-height: 78px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: var(--font-ja);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4, p {
  margin: 0;
}

/* Focus visibility — never remove */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-primary-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--color-primary);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   3. Layout Helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

.section {
  padding: var(--section-pad-y) 0;
  position: relative;
  overflow: hidden;
}

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

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

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--color-primary-dark);
    margin-bottom: 14px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-primary);
}

.section-lead {
  margin-top: 20px;
  color: var(--color-text-light);
  font-size: 16px;
}

.text-accent {
  color: var(--color-primary-dark);
}

/* Decorative organic shapes shared across sections */
.deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.deco--float {
  animation: float 9s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-16px) translateX(6px); }
}

/* Fade-in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger helper */
.reveal-group > * {
  transition-delay: calc(var(--i, 0) * 0.08s);
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1.5px solid transparent;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-bg-blue);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-small {
  padding: 10px 20px;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 200;
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 20px rgba(79, 105, 120, 0.06);
}

.header-inner {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-en);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--color-primary-dark);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-list {
  display: flex;
  gap: 34px;
}

.nav-list a {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-text);
  position: relative;
  padding-bottom: 4px;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--ease);
}

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

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

.header-cta {
  display: none;
}

@media (min-width: 1024px) {
  .header-cta {
    display: inline-flex;
  }
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  border-radius: 10px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .hamburger { display: none; }
}

.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}

/* Mobile menu panel */
.nav-mobile {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  padding: 12px var(--section-pad-x) 28px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--ease), opacity var(--ease), visibility var(--ease);
  z-index: 190;
}

.nav-mobile.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
}

.nav-mobile a {
  display: block;
  padding: 14px 4px;
  font-size: 16px;
  border-bottom: 1px solid var(--color-border);
}

.nav-mobile .btn {
  margin-top: 18px;
  width: 100%;
  justify-content: center;
}

@media (min-width: 1024px) {
  .nav-mobile { display: none; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 64px) 0 100px;
  background: linear-gradient(180deg, var(--color-bg-blue) 0%, var(--color-white) 78%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
}

@media (min-width: 900px) {
  .hero-copy { text-align: center; }
}

.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--color-primary-dark);
  font-weight: 600;
  margin-bottom: 18px;
  display: block;
}

.hero-title {
  text-align: left;
  display: inline-block;
  font-family: var(--font-round);
  font-size: 38px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.hero-title span {
    display: block;
}

@media (min-width: 600px) {
  .hero-title { font-size: 52px; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 60px; }
}

.hero-desc {
  margin-top: 26px;
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 900px) {
  .hero-desc {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

@media (min-width: 900px) {
  .hero-actions { justify-content: flex-start; }
}

.br-pc {
  display: none;
}

@media (min-width: 900px) {
  .br-pc {
    display: inline;
  }
}

.br-sp {
    display: inline;
}

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

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-visual-frame {
  position: relative;
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  isolation: isolate;
}

.hero-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 4.4;
}

.hero-deco-ring {
  position: absolute;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  opacity: 0.35;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   7. About
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }
}

.about-body p + p {
  margin-top: 20px;
}

.about-body {
  color: var(--color-text);
  font-size: 16px;
}

.profile-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-soft);
  padding: 32px;
  display: flex;
  gap: 22px;
  align-items: center;
}

@media (min-width: 600px) {
  .profile-card { padding: 36px; }
}

.profile-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--color-bg-blue);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-role {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--color-primary-dark);
  font-weight: 600;
}

.profile-name {
  font-family: var(--font-round);
  font-size: 22px;
  font-weight: 700;
  margin-top: 4px;
}

.profile-card-full {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-text-light);
}

.about-section .about-card-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --------------------------------------------------------------------------
   8. Service
   -------------------------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 980px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  padding: 34px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--ease), box-shadow var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-bg-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  margin-bottom: 20px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.6;
}

.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
  color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   9. Works
   -------------------------------------------------------------------------- */
.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  position: relative;
  z-index: 1;
}

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

@media (min-width: 980px) {
  .works-grid { grid-template-columns: repeat(3, 1fr); }
}

.work-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--ease), box-shadow var(--ease);
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.work-thumb {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-beige);
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.work-card:hover .work-thumb img {
  transform: scale(1.03);
}

.work-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.work-cat {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--color-primary-dark);
  font-weight: 600;
  text-transform: uppercase;
}

.work-title {
  font-size: 18px;
  font-weight: 700;
  margin-top: 8px;
}

.work-desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--color-text-light);
  flex: 1;
}

.work-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  font-size: 12px;
  color: var(--color-text-light);
}

.work-tools span{
    display:inline-block;
    padding:6px 14px;
    background:#eef6fd;
    color:#5d6b75;
    border-radius:999px;
    font-size:13px;
    white-space:nowrap;
}

.work-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.work-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--ease);
}

.work-card:hover .work-link svg {
  transform: translateX(3px);
}

.work-card--soon {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 30px;
  color: var(--color-text-light);
  border-style: dashed;
}

.work-card--soon .service-icon {
  margin: 0 auto 18px;
}

/* --------------------------------------------------------------------------
   10. Feature
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

.feature-card {
  display: flex;
  gap: 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.feature-num {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
  line-height: 1;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   11. Flow (timeline)
   -------------------------------------------------------------------------- */
.flow-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.flow-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px dashed var(--color-border);
}

.flow-item:last-child {
  border-bottom: none;
}

.flow-step {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-bg-blue);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.flow-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.flow-item p {
  font-size: 14px;
  color: var(--color-text-light);
  max-width: 560px;
}

@media (min-width: 900px) {
  .flow-list {
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
  }
  .flow-item {
    grid-template-columns: 1fr;
    border-bottom: none;
    border-top: 3px solid var(--color-bg-blue);
    padding: 26px 6px 0;
    text-align: left;
  }
  .flow-step {
    margin-bottom: 16px;
  }
}

/* --------------------------------------------------------------------------
   12. FAQ
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}

.faq-question .q-mark {
  font-family: var(--font-en);
  color: var(--color-primary);
  margin-right: 10px;
}

.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--color-primary-dark);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transition: transform var(--ease);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 6px 24px;
  font-size: 14px;
  color: var(--color-text-light);
  max-width: 680px;
}

/* --------------------------------------------------------------------------
   13. Contact
   -------------------------------------------------------------------------- */
.contact-lead {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  color: var(--color-text-light);
  font-size: 15px;
  position: relative;
  z-index: 1;
}

.contact-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
  padding: 36px 24px;
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .contact-form { padding: 48px; }
}

.form-row {
  margin-bottom: 24px;
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .form-row-split { grid-template-columns: 1fr 1fr; }
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-label .required {
  color: var(--color-primary-dark);
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
  background: var(--color-bg-blue);
  padding: 2px 8px;
  border-radius: 999px;
}

.form-label .optional {
  color: var(--color-text-light);
  font-size: 11px;
  font-weight: 500;
  margin-left: 6px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-small);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg-beige);
  font-family: var(--font-ja);
  font-size: 15px;
  color: var(--color-text);
  transition: border-color var(--ease), background var(--ease);
}

.form-control:focus {
  border-color: var(--color-primary);
  background: #fff;
  outline: none;
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-error {
  display: none;
  margin-top: 8px;
  font-size: 12.5px;
  color: #c15a4d;
}

.form-row.has-error .form-control {
  border-color: #e2a49a;
  background: #fdf5f3;
}

.form-row.has-error .form-error {
  display: block;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--color-text-light);
}

.form-checkbox input {
  margin-top: 3px;
  accent-color: var(--color-primary-dark);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-checkbox a {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  font-size: 16px;
  padding: 16px 30px;
}

.form-status {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--color-primary-dark);
  display: none;
}

.form-status.is-visible {
  display: block;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%237A8287' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-bg-blue);
  padding: 64px 0 28px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-logo {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.footer-logo span {
  color: var(--color-primary-dark);
}

.footer-tagline {
  margin-top: 10px;
  font-size: 13px;
  color: var(--color-text-light);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

@media (min-width: 768px) {
  .footer-nav { justify-content: flex-start; }
}

.footer-nav a {
  font-size: 13.5px;
  color: var(--color-text);
}

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

.footer-social {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  border: 1px solid var(--color-border);
  transition: background var(--ease), transform var(--ease);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 12.5px;
  color: var(--color-text-light);
}

.footer-bottom a {
  margin-left: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --------------------------------------------------------------------------
   15. Back to top
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease), background var(--ease);
  z-index: 150;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--color-primary);
  color: #fff;
}

.to-top svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   16. Responsive type & spacing at smaller widths
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --section-pad-y: 72px;
    --section-pad-x: 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 36px);
  }

  .about-grid,
  .service-grid,
  .works-grid,
  .feature-grid {
    gap: 20px;
  }
}

/* Alternate image/text position utility (used in About) */
.reverse-on-desktop {
  direction: rtl;
}

.reverse-on-desktop > * {
  direction: ltr;
}
@media (max-width:767px){

    .hero > .deco:nth-of-type(3){
        display:none;
    }

}

@media (max-width: 599px) {
  .hero-desc {
    max-width: 360px;
    padding: 0 8px;
    font-size: 15px;
    line-height: 2;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    word-break: normal;
    overflow-wrap: break-word;
  }
}

@media (max-width: 599px) {
    .section-lead {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 8px;
        font-size: 14px;
        line-height: 1.8;
    }
}/* ===========================
   PRICE
=========================== */

.price-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
    margin-top:40px;
}

@media(min-width:768px){
    .price-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(min-width:1024px){
    .price-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

.price-card{
    background:#fff;
    border-radius:20px;
    padding:30px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    text-align:center;
    transition:.3s;
}

.price-card:hover{
    transform:translateY(-5px);
}

.price-card h3{
    font-size:22px;
    margin-bottom:20px;
}

.price-amount{
    font-size:32px;
    font-weight:700;
    color:var(--color-primary);
    margin-bottom:18px;
}

.price-desc{
    font-size:15px;
    color:var(--color-text-light);
}
.price-note {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  margin: 40px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--color-text-light);
}

@media (min-width: 768px) {
  .price-note {
    white-space: nowrap;
  }
}

.work-tag-label {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
}

/* WorksカードのPC表示を整える */
@media (min-width: 980px) {
  .works-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .work-body {
    text-align: left;
  }

  .work-title,
  .work-desc,
  .work-cat {
    text-align: left;
  }

  .work-tools {
    justify-content: flex-start;
  }
}
/* ==========================================================================
   17. Work Detail Page (work-01.html など、制作実績の詳細ページ)
   ========================================================================== */

/* --- Hero: タイトル・画像エリア --- */
.work-detail-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 48px) 0 8px;
  background: linear-gradient(180deg, var(--color-bg-blue) 0%, var(--color-white) 100%);
}

.work-detail-hero .container {
  position: relative;
  z-index: 1;
}

.work-detail-eyebrow {
  margin-bottom: 14px;
}

.work-detail-title {
  font-family: var(--font-round);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

@media (min-width: 600px) {
  .work-detail-title { font-size: 36px; }
}

@media (min-width: 1024px) {
  .work-detail-title { font-size: 44px; }
}

.work-detail-subtitle {
  margin-top: 12px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
}

.work-detail-image-wrap {
  margin-top: 36px;
  border-radius: var(--radius-large);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.work-detail-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- セクション共通の余白（記事ページなので少しタイトに） --- */
.work-detail-section {
  padding: 56px 0;
}

@media (max-width: 767px) {
  .work-detail-section {
    padding: 40px 0;
  }
}

.work-detail-container {
  max-width: 820px;
  margin: 0 auto;
}

/* --- 概要（リード文） --- */
.work-detail-lead {
  font-size: 17px;
  line-height: 1.9;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .work-detail-lead { font-size: 18px; }
}

/* --- 制作内容／制作期間：情報カード --- */
.work-detail-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .work-detail-info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.work-detail-info-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.work-detail-info-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}

.work-detail-info-card .work-tools {
  margin-top: 4px;
}

.work-detail-duration {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.work-detail-duration span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-light);
}

/* --- 制作の目的／デザインのポイント：本文ブロック --- */
.work-detail-block {
  border-radius: var(--radius-large);
  padding: 36px 28px;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
  .work-detail-block { padding: 48px; }
}

.work-detail-block--blue {
  background: var(--color-bg-blue);
}

.work-detail-block--beige {
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.work-detail-block-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.work-detail-block-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .work-detail-block-title { font-size: 24px; }
}

.work-detail-block p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
}

.work-detail-points {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.work-detail-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.work-detail-points-icon {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.work-detail-points p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
}

/* --- 制作実績一覧へ戻るボタン --- */
.work-detail-back-section {
  padding: 0 0 100px;
}

@media (max-width: 767px) {
  .work-detail-back-section { padding-bottom: 72px; }
}

.work-detail-back-wrap {
  display: flex;
  justify-content: center;
}

/* 戻るボタンは矢印が左向きなので、ホバー時は左方向へ動かす */
.work-detail-back-wrap .btn:hover svg {
  transform: translateX(-3px);
}

/* ==========================================================================
   18. Privacy Policy Page (privacy-policy.html)
   ========================================================================== */

.privacy-article {
  padding-top: 8px;
}

.privacy-item {
  margin-bottom: 44px;
}

.privacy-item:last-of-type {
  margin-bottom: 0;
}

.privacy-item-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.privacy-item p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-light);
}

.privacy-item p + p {
  margin-top: 12px;
}

.privacy-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.privacy-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-light);
}

.privacy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.privacy-meta {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-light);
  text-align: right;
}

/* ==========================================================================
   19. Contact Form Backend (confirm / thanks / error / honeypot)
   ========================================================================== */

/* --- スパム対策：ハニーポット。画面上には表示せず、ボットだけが埋めてしまう --- */
.contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- 送信中の送信ボタン --- */
.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* --- 確認画面：入力内容の一覧 --- */
.confirm-list {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
  padding: 8px 28px;
  margin: 0 0 32px;
}

@media (min-width: 640px) {
  .confirm-list { padding: 8px 40px; }
}

.confirm-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.confirm-row:last-child {
  border-bottom: none;
}

.confirm-row dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.confirm-row dd {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  word-break: break-word;
}

.confirm-empty {
  color: var(--color-text-light);
}

/* --- 確認画面：ボタン --- */
.confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 560px) {
  .confirm-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.confirm-btn {
  width: 100%;
  justify-content: center;
}

@media (min-width: 560px) {
  .confirm-btn { width: auto; }
}

.confirm-send-form {
  width: 100%;
}

@media (min-width: 560px) {
  .confirm-send-form { width: auto; }
}

/* --- 完了画面／エラー画面 --- */
.result-hero {
  text-align: center;
  padding-bottom: 64px;
}

.result-hero .container {
  max-width: 640px;
}

.result-hero .work-detail-eyebrow {
  justify-content: center;
}

.result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 24px;
}

.result-icon svg {
  width: 30px;
  height: 30px;
}

.result-icon--success {
  background: var(--color-bg-blue);
  color: var(--color-primary-dark);
}

.result-icon--error {
  background: #fdf5f3;
  color: #c15a4d;
}

.result-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

@media (min-width: 560px) {
  .result-actions { flex-direction: row; }
}
