/* ============================================================
   KOPE LABO — style.css
   ナチュラル・ミニマル(サンド × ブルー)のハワイ感デザイン
   ============================================================ */

:root {
  --color-sand: #f7f1e6;
  --color-sand-deep: #efe4cf;
  --color-white: #ffffff;
  --color-ocean: #2f6270;
  --color-ocean-deep: #1f4652;
  --color-sky: #7fb3bf;
  --color-sky-pale: #e4f0f1;
  --color-sage: #1f4652;
  --color-sage-deep: #14333c;
  --color-text: #3a3229;
  --color-text-soft: #6b6156;
  --radius-md: 14px;
  --radius-lg: 26px;
  --shadow-soft: 0 10px 30px rgba(47, 98, 112, 0.10);
  --shadow-card: 0 6px 18px rgba(74, 50, 35, 0.08);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--color-text);
  background: var(--color-sand);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  color: var(--color-ocean-deep);
  line-height: 1.5;
  margin: 0 0 0.6em;
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 1em;
}

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

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

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
}

.section-tight {
  padding: 56px 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--color-ocean);
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600;
}

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

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.section-head p {
  color: var(--color-text-soft);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--color-ocean-deep);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-ocean);
  color: var(--color-ocean-deep);
}

.btn-outline:hover {
  background: var(--color-sky-pale);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-sand);
  border-bottom: 1px solid rgba(47, 98, 112, 0.12);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: auto;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-wordmark {
  height: 19px;
  width: auto;
  display: block;
}

.brand-text span {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--color-text-soft);
}

.brand-logo-plate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-sand);
  padding: 12px 20px;
  border-radius: 14px;
}

.brand-logo-plate img:first-child {
  width: 34px;
  height: auto;
}

.brand-logo-plate img:last-child {
  height: 17px;
  width: auto;
}

.footer-tagline {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  color: rgba(247, 241, 230, 0.6);
  margin-top: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-ocean-deep);
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.main-nav a {
  display: inline-block;
  white-space: nowrap;
  padding: 10px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  background: var(--color-ocean);
  color: var(--color-white);
}

.main-nav a[aria-current="page"] {
  background: none;
  color: var(--color-ocean-deep);
  font-weight: 700;
}

.main-nav .nav-cta {
  background: var(--color-sage);
  color: var(--color-white);
  margin-left: 6px;
}

.main-nav .nav-cta:hover {
  background: var(--color-sage-deep);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--color-sand);
    padding: 20px 24px 40px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    overflow-y: auto;
  }

  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .main-nav a {
    padding: 16px 18px;
    text-align: center;
    font-size: 1.02rem;
  }

  .main-nav .nav-cta {
    margin-left: 0;
    margin-top: 10px;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf4f2 0%, var(--color-sand) 78%);
  padding: 90px 0 70px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy .eyebrow {
  color: var(--color-sage);
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  margin-bottom: 0.5em;
}

.hero-copy p {
  color: var(--color-text-soft);
  font-size: 1.05rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-tags span {
  background: var(--color-white);
  border: 1px solid var(--color-sand-deep);
  color: var(--color-text-soft);
  font-size: 0.8rem;
  padding: 7px 14px;
  border-radius: 999px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual svg {
  width: 100%;
  height: auto;
  max-width: 460px;
}

.hero-photo {
  width: 100%;
  height: auto;
  max-width: 420px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual svg {
    max-width: 300px;
    margin: 0 auto;
  }

  .hero-photo {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ---------- Wave divider ---------- */

.wave {
  display: block;
  width: 100%;
  height: auto;
  line-height: 0;
}

/* ---------- Feature cards ---------- */

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 820px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
}

.card .icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  color: var(--color-ocean);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5em;
}

.card p {
  color: var(--color-text-soft);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.line-cta {
  text-align: center;
  background: var(--color-sky-pale);
  box-shadow: none;
}

.line-cta p {
  margin-bottom: 16px;
}

.line-cta a {
  display: block;
}

.line-cta img {
  margin: 0 auto;
}

/* ---------- Alt section ---------- */

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

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

.section-ocean h2,
.section-ocean h3 {
  color: var(--color-white);
}

.section-ocean p {
  color: rgba(247, 241, 230, 0.82);
}

.section-ocean .btn-primary {
  background: var(--color-white);
  color: var(--color-ocean-deep);
}

.section-ocean .btn-primary:hover {
  background: var(--color-sand);
}

.story-photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

/* ---------- Scene use-case list ---------- */

.scene-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .scene-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.scene-item {
  background: var(--color-sand);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
}

.scene-item .scene-icon {
  width: 42px;
  height: 42px;
  display: block;
  margin: 0 auto 14px;
  color: var(--color-ocean);
}

.scene-item h4 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.scene-item p {
  font-size: 0.82rem;
  color: var(--color-text-soft);
  margin: 0;
}

/* ---------- Steps ---------- */

.steps {
  counter-reset: step;
  display: grid;
  gap: 22px;
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
  align-items: flex-start;
}

.step-num {
  counter-increment: step;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-ocean);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Shippori Mincho", serif;
  font-size: 1.2rem;
}

.step-num::before {
  content: counter(step);
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.step p {
  color: var(--color-text-soft);
  margin-bottom: 0;
  font-size: 0.94rem;
}

/* ---------- Tables ---------- */

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.price-table th,
.price-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.94rem;
  border-bottom: 1px solid var(--color-sand-deep);
}

.price-table th {
  background: var(--color-ocean);
  color: var(--color-white);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tr:nth-child(even) td {
  background: var(--color-sand);
}

.table-note {
  font-size: 0.85rem;
  color: var(--color-text-soft);
  margin-top: 14px;
}

.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius-md);
}

/* ---------- Design gallery ---------- */

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-tabs button {
  border: 1px solid var(--color-sand-deep);
  background: var(--color-white);
  color: var(--color-text-soft);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tabs button.is-active,
.filter-tabs button:hover {
  background: var(--color-ocean);
  border-color: var(--color-ocean);
  color: var(--color-white);
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

@media (max-width: 900px) {
  .design-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .design-grid {
    grid-template-columns: 1fr;
  }
}

.design-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.design-thumb {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.design-thumb svg {
  width: 68%;
  height: 68%;
}

.design-card-body {
  padding: 20px 22px 24px;
}

.design-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--color-ocean);
  background: var(--color-sky-pale);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.design-card h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.design-card p {
  font-size: 0.88rem;
  color: var(--color-text-soft);
  margin-bottom: 0;
}

/* ---------- FAQ accordion ---------- */

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 26px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ocean-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: inherit;
}

.faq-question .q-mark {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-sky-pale);
  color: var(--color-ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.faq-item.is-open .q-mark {
  transform: rotate(45deg);
}

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

.faq-answer-inner {
  padding: 0 26px 24px;
  color: var(--color-text-soft);
  font-size: 0.94rem;
}

/* ---------- Category badges on FAQ ---------- */

.faq-category {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--color-sage);
  background: var(--color-sand);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* ---------- Forms ---------- */

.form-panel {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-card);
}

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

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--color-ocean-deep);
}

.form-row .req {
  color: #c0563f;
  font-size: 0.78rem;
  margin-left: 6px;
  font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--color-sand-deep);
  background: var(--color-sand);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-sky);
  outline-offset: 1px;
  background: var(--color-white);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--color-text-soft);
}

.checkbox-row input {
  width: auto;
  margin-top: 4px;
}

/* ---------- Prep checklist (order-form page) ---------- */

.prep-list {
  display: grid;
  gap: 16px;
  margin-top: 10px;
}

.prep-item {
  display: flex;
  gap: 16px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
}

.prep-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-sky-pale);
  color: var(--color-ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.prep-item h4 {
  margin: 0 0 4px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.98rem;
  color: var(--color-ocean-deep);
}

.prep-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-soft);
}

/* ---------- Contact info cards ---------- */

.info-list {
  display: grid;
  gap: 18px;
}

.info-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-sand-deep);
  font-size: 0.94rem;
}

.info-row dt {
  color: var(--color-ocean);
  font-weight: 600;
}

.info-row dd {
  margin: 0;
  color: var(--color-text-soft);
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--color-sage);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  color: var(--color-white);
}

.cta-banner h2 {
  color: var(--color-white);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 480px;
  margin: 0 auto 26px;
}

.cta-banner .btn-primary {
  background: var(--color-white);
  color: var(--color-sage-deep);
}

.cta-banner .btn-primary:hover {
  background: var(--color-sand);
}

.cta-banner .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-white);
}

.cta-banner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ---------- Notice banner (placeholder content warning) ---------- */

.notice-banner {
  background: #fdf3e0;
  border: 1px solid #f0d9a8;
  color: #7a5b1e;
  font-size: 0.85rem;
  padding: 14px 20px;
  border-radius: 10px;
  margin-bottom: 40px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-ocean-deep);
  color: rgba(247, 241, 230, 0.85);
  padding: 64px 0 30px;
}

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

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-brand p {
  color: rgba(247, 241, 230, 0.7);
  font-size: 0.88rem;
  max-width: 320px;
  margin-top: 14px;
}

.site-footer h4 {
  color: var(--color-white);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.site-footer ul li {
  margin-bottom: 10px;
}

.site-footer a {
  color: rgba(247, 241, 230, 0.78);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(247, 241, 230, 0.15);
  padding-top: 24px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(247, 241, 230, 0.55);
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  background: linear-gradient(180deg, #eaf4f2 0%, var(--color-sand) 100%);
  padding: 64px 0 56px;
  text-align: center;
}

.page-hero .eyebrow {
  color: var(--color-sage);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  margin-bottom: 0.4em;
}

.page-hero p {
  color: var(--color-text-soft);
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--color-text-soft);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--color-ocean);
}

/* ---------- Utilities ---------- */

.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

.badge-soft {
  display: inline-block;
  background: var(--color-sky-pale);
  color: var(--color-ocean);
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 600;
}
