/* futurecreation theme - main.css */

:root {
  --ink: #1d2129;
  --navy: #14213d;
  --navy-deep: #0d1730;
  --text: #33363d;
  --muted: #6b6f76;
  --paper: #ffffff;
  --alt: #f6f6f3;
  --line: #e3e3de;
  --accent: #ff5a3c;
  --accent-dark: #e8482c;
  --accent-soft: #fff0ec;
  --width-content: 1120px;
  --width-narrow: 820px;
  --space-section: clamp(2.8rem, 6vw, 4.25rem);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); }
img { max-width: 100%; height: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 14px rgba(20, 33, 61, 0.06);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 55%, var(--accent) 100%);
}
.site-header__inner {
  max-width: var(--width-content);
  margin: 0 auto;
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.custom-logo { max-height: 46px; width: auto; display: block; }
.site-logo-text {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}
.site-logo-text__mark {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent);
  position: relative;
}
.site-logo-text__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
}
.global-nav { display: flex; align-items: center; gap: 1.2rem; }
.global-nav__list {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.global-nav__list { display: flex; flex-direction: row; list-style: none; }
.global-nav__list li { flex: none; }
.global-nav__list a {
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.9rem;
  transition: color 0.2s;
}
.global-nav__list a:hover { color: var(--accent-dark); }
/* ヘッダーナビ（日本語ラベルのみ） */
.global-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.95rem 0.6rem;
  position: relative;
  white-space: nowrap;
}
.global-nav__ja {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.global-nav__link::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.05rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.global-nav__link:hover .global-nav__ja { color: var(--accent-dark); }
.global-nav__link:hover::after { transform: scaleX(1); }
.global-nav__cta {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  transition: background 0.2s;
  white-space: nowrap;
  flex: none;
}
.global-nav__cta:hover { background: var(--accent-dark); color: #fff; }
.nav-toggle {
  display: none;
  background: var(--accent-soft);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}
.nav-toggle__label { font-size: 0.65rem; color: var(--muted); display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 2px solid transparent;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--navy); color: #fff; }
.btn--ghost { border-color: #fff; color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.btn--ghost-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost-dark:hover { background: var(--ink); color: #fff; }
.text-link {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* ---------- Hero / page hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #23335c 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(13, 23, 48, 0.94) 0%, rgba(20, 33, 61, 0.85) 52%, rgba(35, 51, 92, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 70px solid rgba(255, 90, 60, 0.16);
  pointer-events: none;
  z-index: 1;
}
.hero__inner {
  max-width: var(--width-content);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) 1.25rem;
  position: relative;
  z-index: 2;
}

/* ---------- Media frames / about layout ---------- */
.media-frame { margin: 0; }
.media-frame img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
}
.media-frame figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.media-frame--lead { margin-bottom: 2rem; }
.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.2rem;
  align-items: center;
}
.about-layout .section-lead { margin-bottom: 0; }
.about-layout .section-cta { margin-top: 1.4rem; }
.hero__eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  margin: 0 0 1rem;
}
.hero__title {
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  line-height: 1.35;
  margin: 0 0 1.4rem;
  font-weight: 800;
}
.hero__lead {
  max-width: 760px;
  font-size: 1.02rem;
  line-height: 2;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.92);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__tags {
  margin: 2.4rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}
.page-hero {
  background: var(--alt);
  border-bottom: 1px solid var(--line);
}
.page-hero__inner {
  max-width: var(--width-content);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.25rem) 1.25rem;
}
.page-hero__eyebrow {
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  margin: 0 0 0.7rem;
  text-transform: uppercase;
}
.page-hero__title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--ink);
  margin: 0;
  line-height: 1.4;
}
.page-hero__lead {
  max-width: var(--width-narrow);
  margin: 1rem 0 0;
  color: var(--text);
}

/* ---------- Sections ---------- */
.section { padding: var(--space-section) 0; }
.section--alt { background: var(--alt); }
.section__inner {
  max-width: var(--width-content);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section__inner--narrow { max-width: var(--width-narrow); }
.section-head { margin-bottom: 1.6rem; }
.section-head--center { text-align: center; }
.section-head__eyebrow {
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  color: var(--ink);
  margin: 0;
  line-height: 1.45;
}
.section-lead {
  max-width: var(--width-narrow);
  margin: 0 0 1.4rem;
}
.section-cta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.prose p { margin: 0 0 1.2rem; }
.prose h3 {
  color: var(--ink);
  font-size: 1.08rem;
  margin: 1.8rem 0 0.6rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--accent);
  line-height: 1.5;
}
.prose h3:first-child { margin-top: 0; }

/* ---------- Services on TOP ---------- */
.service-feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  margin-bottom: 1.4rem;
}
.service-feature__label {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  margin: 0 0 0.8rem;
}
.service-feature__title { color: var(--ink); font-size: 1.35rem; margin: 0 0 0.7rem; }
.service-feature__text { margin: 0 0 1rem; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
}
.section--alt .card { background: var(--paper); }
.card__title { color: var(--ink); font-size: 1.12rem; margin: 0 0 0.6rem; }
.card__text { margin: 0 0 1rem; font-size: 0.96rem; }

/* ---------- Flow steps ---------- */
.flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.flow-steps__item {
  background: var(--alt);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}
.section--alt .flow-steps__item { background: var(--paper); }
.flow-steps__num {
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  margin: 0 0 0.4rem;
}
.flow-steps__title { color: var(--ink); font-size: 1.05rem; margin: 0 0 0.5rem; }
.flow-steps__text { margin: 0; font-size: 0.93rem; }
.flow-steps--vertical {
  grid-template-columns: 1fr;
  gap: 1rem;
}
.flow-steps--vertical .flow-steps__item {
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- Plan ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-bottom: 2rem;
}
.plan-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  position: relative;
  background: var(--paper);
}
.plan-card--featured { border: 2px solid var(--accent); }
.plan-card__label {
  position: absolute;
  top: -0.8rem;
  left: 1.6rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.8rem;
  border-radius: 999px;
  margin: 0;
}
.plan-card__name { color: var(--ink); font-size: 1.25rem; margin: 0 0 0.6rem; }
.plan-card__price { margin: 0 0 0.8rem; color: var(--muted); }
.plan-card__price strong { color: var(--accent-dark); font-size: 1.5rem; }
.plan-card__text { margin: 0 0 1rem; font-size: 0.96rem; }
.plan-card__list { margin: 0; padding-left: 1.2rem; font-size: 0.94rem; }
.plan-card__list li { margin-bottom: 0.3rem; }
.plan-notes {
  background: var(--alt);
  border-radius: var(--radius);
  padding: 1.6rem 2rem;
}
.plan-notes__title { color: var(--ink); font-size: 1.1rem; margin: 0 0 0.8rem; }
.plan-notes ul { margin: 0; padding-left: 1.2rem; font-size: 0.94rem; }
.plan-notes li { margin-bottom: 0.4rem; }

/* ---------- Data table ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
}
.data-table th,
.data-table td {
  border: 1px solid var(--line);
  padding: 0.95rem 1.1rem;
  text-align: left;
  vertical-align: top;
}
.data-table th {
  width: 180px;
  background: var(--alt);
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}
.table-list { margin: 0; padding-left: 1.2rem; }
.table-list li { margin-bottom: 0.25rem; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: none;
  border: none;
  padding: 1.15rem 0.4rem;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  font-weight: 700;
}
.faq-item__q {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.faq-item__text { flex: 1; }
.faq-item__icon {
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.faq-item.is-open .faq-item__icon { transform: rotate(225deg); }
.faq-item__answer { padding: 0 0.4rem 1.3rem 3.2rem; }
.faq-item__answer p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #fff;
  text-align: center;
}
.cta-band__inner {
  max-width: var(--width-narrow);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.25rem) 1.25rem;
}
.cta-band__title { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 0.9rem; }
.cta-band__text { margin: 0 0 1.8rem; color: rgba(255, 255, 255, 0.9); }

/* ---------- Contact form (CF7) ---------- */
.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-form label { font-weight: 700; color: var(--ink); display: block; margin-bottom: 0.4rem; }
.contact-form p { margin: 0 0 1.3rem; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}
.wpcf7 textarea { min-height: 160px; }
.wpcf7 input[type="submit"] {
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2.6rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s;
}
.wpcf7 input[type="submit"]:hover { background: var(--accent-dark); }
.contact-alt { margin-top: 2rem; }
.contact-alt__title { color: var(--ink); font-size: 1.05rem; margin: 0 0 0.5rem; }
.contact-alt p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0;
}
.site-footer__inner {
  max-width: var(--width-content);
  margin: 0 auto;
  padding: 2.6rem 1.25rem 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.site-footer__name { color: #fff; font-weight: 700; font-size: 1.05rem; margin: 0 0 0.6rem; }
.site-footer__address, .site-footer__contact { margin: 0 0 0.4rem; font-size: 0.92rem; }
.site-footer a { color: rgba(255, 255, 255, 0.88); }
.site-footer a:hover { color: #fff; }
.site-footer__list {
  list-style: none;
  margin: 0 0 0.8rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
}
.site-footer__list a { text-decoration: none; font-size: 0.92rem; }
.site-footer__copy {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  padding: 0 1.25rem 1.6rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: block; }
  .global-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.4rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 24px rgba(20, 33, 61, 0.08);
    gap: 1rem;
  }
  .global-nav__link::after { left: 0.95rem; right: auto; width: 2.2rem; }
  .global-nav.is-open { display: flex; }
  .global-nav__list { flex-direction: column; gap: 0.8rem; }
  .global-nav__cta { text-align: center; }
  .site-header__inner { position: relative; }
  .site-header { position: relative; }
}
@media (max-width: 720px) {
  .card-grid, .plan-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .data-table th { width: 118px; white-space: normal; }
  .contact-form { padding: 1.4rem 1.2rem; }
  .service-feature, .plan-card { padding: 1.4rem 1.3rem; }
  .faq-item__answer { padding-left: 0.4rem; }
}
@media (max-width: 560px) {
  .flow-steps { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; text-align: center; }
  .section-cta .btn { width: 100%; text-align: center; }
}
