/*
Theme Name: wonderfulthing
Theme URI: https://wonderfulthing.site/
Author: 合同会社NOMIEL
Author URI: https://wonderfulthing.site/
Description: 株式会社wonderful thing 法人サイト（訪問看護・居宅介護支援）オリジナルテーマ。静的サイト site/ から移植。
Version: 1.0.3
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: wonderfulthing
*/

/* ==========================================================
   株式会社wonderful thing コーポレートサイト 共通スタイル
   カラー・タイポグラフィは docs/02_design-system.md に準拠
   ========================================================== */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

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

ul,
ol {
  list-style: none;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a[href^="tel:"] {
  white-space: nowrap;
}

table {
  border-collapse: collapse;
  width: 100%;
}

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

/* ---------- Variables ---------- */
:root {
  --color-primary: #51abb2;
  --color-primary-dark: #3f959c;
  --color-accent: #fc807f;
  --color-bg: #f8f6f0;
  --color-bg-teal: #e6f3f4;
  --color-white: #ffffff;
  --color-text: #444444;
  --color-border: #b9b9b9;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --font-base: "Outfit", "Zen Kaku Gothic New", sans-serif;
}

html,
body {
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Layout ---------- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 96px 0;
}

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

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

@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }
  .section {
    padding: 56px 0;
  }
}

/* ---------- Headings ---------- */
.heading {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 48px;
  position: relative;
  padding-bottom: 18px;
}

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

h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .heading {
    font-size: 24px;
    margin-bottom: 32px;
  }
  h3 {
    font-size: 20px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.25s, transform 0.25s, box-shadow 0.25s, color 0.25s;
}

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

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

.btn-secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.3;
  white-space: nowrap;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
}

.global-nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  transition: color 0.2s;
}

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

.global-nav .nav-badge {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 7px;
  border-radius: 6px;
  margin-left: 4px;
  vertical-align: 2px;
}

.global-nav .nav-contact a {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 10px 24px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.global-nav .nav-contact a:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

/* ハンバーガー（1100px以下で発動・既存サイト踏襲） */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: transform 0.3s, opacity 0.3s, top 0.3s;
}

.nav-toggle span:nth-child(1) {
  top: 14px;
}

.nav-toggle span:nth-child(2) {
  top: 21px;
}

.nav-toggle span:nth-child(3) {
  top: 28px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

@media (max-width: 1200px) {
  .nav-toggle {
    display: block;
  }
  .global-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh;
    background: var(--color-white);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    padding: 96px 32px 40px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s, visibility 0.3s;
    overflow-y: auto;
  }
  .global-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }
  .global-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .global-nav li {
    border-bottom: 1px solid #eee;
  }
  .global-nav li.nav-contact {
    border-bottom: none;
    margin-top: 16px;
    text-align: center;
  }
  .global-nav a {
    display: block;
    padding: 12px 4px;
    font-size: 16px;
  }
  .global-nav .nav-contact a {
    display: block;
  }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: -1;
  }
  body.nav-open .nav-overlay {
    opacity: 1;
    visibility: visible;
    z-index: 105;
  }
  body.nav-open {
    overflow: hidden;
  }
  .global-nav {
    z-index: 108;
  }
}

@media (max-width: 767px) {
  .site-logo {
    font-size: 16px;
  }
}

/* ---------- MV（メインビジュアル） ---------- */
.mv {
  position: relative;
  height: 70vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.mv--sub {
  height: 60vh;
  min-height: 420px;
  justify-content: center;
}

.mv--low {
  height: 50vh;
  min-height: 380px;
  justify-content: center;
}

.mv__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.mv__panel {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 40px;
  max-width: 720px;
  margin: 0 5%;
}

.mv--sub .mv__panel,
.mv--low .mv__panel {
  text-align: center;
}

.mv__title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 16px;
}

.mv__sub {
  margin-bottom: 24px;
}

.mv__catch {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.8;
}

.mv__logo {
  margin: 0 auto 16px;
  width: 160px;
}

@media (max-width: 767px) {
  .mv {
    height: 60vh;
    min-height: 420px;
  }
  .mv__panel {
    padding: 28px 20px;
    margin: 0 16px;
  }
  .mv__title {
    font-size: 24px;
  }
  .mv__catch {
    font-size: 17px;
  }
}

/* ---------- ページタイトル帯 ---------- */
.page-title-band {
  background: var(--color-bg-teal);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 16px;
}

.page-title-band h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
}

.page-title-band .lead {
  margin-top: 12px;
}

@media (max-width: 767px) {
  .page-title-band h1 {
    font-size: 24px;
  }
}

/* ---------- 私たちについて（2カラム） ---------- */
.about-grid {
  display: flex;
  align-items: center;
  gap: 48px;
}

.about-grid__text {
  flex: 0 0 55%;
}

.about-grid__text p + p {
  margin-top: 1em;
}

.about-grid__photo {
  flex: 1;
}

.about-grid__photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

.about-grid--reverse {
  flex-direction: row-reverse;
}

.text-link {
  display: inline-block;
  font-weight: 700;
  color: var(--color-primary);
}

.text-link::after {
  content: " →";
}

.text-link:hover {
  text-decoration: underline;
}

.link-right {
  text-align: right;
  margin-top: 24px;
}

@media (max-width: 767px) {
  .about-grid,
  .about-grid--reverse {
    flex-direction: column;
    gap: 28px;
  }
  .about-grid__text {
    flex: none;
  }
  .link-right {
    text-align: center;
  }
}

/* ---------- 事業カード ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.biz-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--color-text);
  transition: transform 0.25s, box-shadow 0.25s;
}

a.biz-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.biz-card__photo {
  position: relative;
  aspect-ratio: 16 / 10;
}

.biz-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.biz-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 8px;
}

.biz-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.biz-card__name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
}

.biz-card__desc {
  font-size: 14.5px;
  flex: 1;
}

.biz-card__more {
  margin-top: 16px;
  text-align: right;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .card-grid {
    gap: 20px;
  }
}

@media (max-width: 767px) {
  .card-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------- 定義テーブル ---------- */
.def-table {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-white);
}

.def-table th,
.def-table td {
  border: 1px solid #ddd;
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
}

.def-table th {
  background: var(--color-bg-teal);
  width: 30%;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .def-table th,
  .def-table td {
    display: block;
    width: 100%;
  }
  .def-table th {
    border-bottom: none;
  }
  .def-table tr + tr th {
    border-top: none;
  }
  .def-table td {
    border-top: none;
  }
}

/* ---------- 両立支援バナー（トップ） ---------- */
.ryouritsu-banner {
  text-align: center;
}

.ryouritsu-banner p {
  max-width: 720px;
  margin: 0 auto 32px;
}

/* ---------- 行動計画ボックス ---------- */
.plan-box {
  max-width: 800px;
  margin: 24px auto;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius);
  background: var(--color-white);
  padding: 32px 36px;
  text-align: left;
}

.plan-box dt {
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 20px;
  font-size: 17px;
}

.plan-box dt:first-child {
  margin-top: 0;
}

.plan-box dd {
  margin-top: 4px;
}

.plan-box dd ul {
  margin-top: 6px;
}

.plan-box dd ul li {
  position: relative;
  padding-left: 18px;
  margin-top: 4px;
}

.plan-box dd ul li::before {
  content: "・";
  position: absolute;
  left: 0;
}

@media (max-width: 767px) {
  .plan-box {
    padding: 24px 20px;
  }
}

/* ---------- 取組リスト（育児/介護 2カラム） ---------- */
.effort-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 24px auto 0;
}

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

.effort-card__head {
  background: var(--color-bg-teal);
  font-weight: 700;
  text-align: center;
  padding: 12px;
  color: var(--color-text);
}

.effort-card ul {
  padding: 20px 24px;
}

.effort-card li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 15px;
}

.effort-card li:last-child {
  margin-bottom: 0;
}

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

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

/* ---------- サービスグリッド ---------- */
.service-lead {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}

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

.service-item {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 20px;
  text-align: center;
}

.service-item__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-bg-teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-item__icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

.service-item__name {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .service-grid {
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-item {
    padding: 24px 12px;
  }
  .service-item__icon {
    width: 84px;
    height: 84px;
  }
  .service-item__icon img {
    width: 70px;
    height: 70px;
  }
  .service-item__name {
    font-size: 14px;
  }
}

/* ---------- チェックリスト・白ボックス ---------- */
.white-box {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 36px;
  max-width: 800px;
  margin: 24px auto 0;
}

.white-box h3 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}

.check-list li:last-child {
  margin-bottom: 0;
}

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

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

@media (max-width: 767px) {
  .white-box {
    padding: 24px 20px;
  }
}

/* ---------- 利用要件 2ボックス ---------- */
.require-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 24px auto 0;
}

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

.require-card__head {
  background: var(--color-bg-teal);
  font-weight: 700;
  text-align: center;
  padding: 12px;
}

.require-card ul {
  padding: 20px 24px;
}

.require-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 15px;
}

.require-card li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.require-card li.note {
  padding-left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.require-card li.note::before {
  content: none;
}

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

/* ---------- 料金センター文 ---------- */
.fee-center {
  text-align: center;
  margin-top: 24px;
}

.fee-center .btn {
  margin-top: 24px;
}

/* ---------- ステップフロー ---------- */
.step-flow {
  max-width: 720px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 40px;
}

.step-item:last-child {
  padding-bottom: 0;
}

.step-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 64px;
  bottom: 0;
  border-left: 2px dashed var(--color-primary);
}

.step-item__num {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  line-height: 1.1;
  z-index: 1;
}

.step-item__num .label {
  font-size: 10px;
  letter-spacing: 0.08em;
}

.step-item__num .num {
  font-size: 22px;
  font-weight: 600;
}

.step-item__body h3 {
  font-size: 19px;
  margin-bottom: 6px;
  padding-top: 8px;
}

@media (max-width: 767px) {
  .step-item {
    gap: 16px;
  }
  .step-item:not(:last-child)::before {
    left: 28px;
  }
  .step-item__num {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }
  .step-item__body h3 {
    font-size: 17px;
    padding-top: 4px;
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  text-align: left;
  font-weight: 700;
  color: var(--color-text);
  font-size: 16px;
}

.faq-q .mark {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
}

.faq-q .toggle-icon {
  margin-left: auto;
  flex: 0 0 20px;
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-q .toggle-icon::before,
.faq-q .toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--color-primary);
  transform: translate(-50%, -50%);
  transition: transform 0.3s;
}

.faq-q .toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-q .toggle-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-a {
  display: none;
  padding: 0 20px 20px 68px;
}

.faq-item.is-open .faq-a {
  display: block;
}

.faq-a p + p {
  margin-top: 0.5em;
}

@media (max-width: 767px) {
  .faq-a {
    padding-left: 20px;
  }
}

/* ---------- CTA ---------- */
.cta {
  text-align: center;
}

.cta__lead {
  margin-bottom: 40px;
}

.cta__actions {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
}

.cta__tel {
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 20px 40px;
  min-width: 280px;
}

.cta__tel .tel-number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--color-primary);
}

.cta__tel .tel-number svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta__tel .tel-note {
  font-size: 13px;
  margin-top: 2px;
}

.cta__actions .btn {
  align-self: center;
}

@media (max-width: 767px) {
  .cta__actions {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .cta__tel {
    width: 100%;
    max-width: 360px;
    min-width: 0;
    padding: 16px 20px;
  }
}

/* ---------- 関連書類 ---------- */
.docs-links {
  padding: 40px 0 64px;
}

.docs-links__list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.docs-links__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.2s, color 0.2s;
}

.docs-links__list a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.docs-links__list a:hover svg {
  stroke: var(--color-white);
}

.docs-links__list svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 767px) {
  .docs-links__list {
    flex-direction: column;
    align-items: center;
  }
  .docs-links__list a {
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }
}

/* ---------- 開設予定バナー（バリスタプラン） ---------- */
.notice-banner {
  background: var(--color-accent);
  color: var(--color-white);
  text-align: center;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.notice-banner strong {
  font-size: 15px;
}

/* ---------- バッジ ---------- */
.badge-pink {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 8px;
}

/* ---------- 用語カード（バリスタプラン） ---------- */
.term-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 40px auto 0;
}

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

.term-card__head {
  background: var(--color-bg-teal);
  font-weight: 700;
  text-align: center;
  padding: 12px;
  font-size: 17px;
}

.term-card p {
  padding: 20px 24px;
  font-size: 15px;
}

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

/* ---------- 番号付きサービスカード（バリスタプラン） ---------- */
.num-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.num-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 28px 24px;
  display: flex;
  gap: 20px;
}

.num-card__num {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.num-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.num-card p {
  font-size: 15px;
}

@media (max-width: 767px) {
  .num-card-grid {
    grid-template-columns: 1fr;
  }
  .num-card {
    padding: 24px 20px;
  }
}

/* ---------- 強調ボックス ---------- */
.emphasis-box {
  border: 2px solid var(--color-primary);
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: center;
  margin-top: 40px;
}

.emphasis-box strong {
  display: block;
  font-size: 19px;
  color: var(--color-primary);
  margin-bottom: 6px;
}

@media (max-width: 767px) {
  .emphasis-box {
    padding: 20px;
  }
  .emphasis-box strong {
    font-size: 17px;
  }
}

/* ---------- リード文 ---------- */
.lead-center {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.section-note {
  text-align: center;
  font-size: 14px;
  margin-top: 16px;
}

.center {
  text-align: center;
}

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

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

/* ---------- 電話テーブル（contact） ---------- */
.tel-table {
  max-width: 880px;
  margin: 0 auto;
  background: var(--color-white);
}

.tel-table th,
.tel-table td {
  border: 1px solid #ddd;
  padding: 16px 20px;
  text-align: left;
}

.tel-table thead th {
  background: var(--color-bg-teal);
  text-align: center;
}

.tel-table .tel-cell a {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .tel-table,
  .tel-table tbody,
  .tel-table tr,
  .tel-table th,
  .tel-table td {
    display: block;
    width: 100%;
  }
  .tel-table thead {
    display: none;
  }
  .tel-table tr {
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    background: var(--color-white);
  }
  .tel-table th,
  .tel-table td {
    border: none;
    padding: 10px 16px;
  }
  .tel-table tbody th {
    background: var(--color-bg-teal);
    text-align: center;
  }
  .tel-table .tel-cell {
    text-align: center;
  }
  .tel-table .tel-cell a {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 999px;
    padding: 10px 32px;
    font-size: 18px;
  }
  .tel-table .time-cell {
    text-align: center;
    padding-bottom: 16px;
    font-size: 14px;
  }
}

/* ---------- フォーム ---------- */
.form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px;
}

.form-field {
  margin-bottom: 28px;
}

.form-field label,
.form-field .field-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.badge-required,
.badge-optional {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-white);
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: 2px;
}

.badge-required {
  background: #e05a5a;
}

.badge-optional {
  background: #aaa;
}

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  color: var(--color-text);
  background: var(--color-white);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}

.form-field textarea {
  min-height: 180px;
  resize: vertical;
}

.form-consent {
  text-align: center;
  margin: 32px 0;
}

.form-consent label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  cursor: pointer;
}

.form-consent input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
}

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

.form-submit .btn {
  width: 240px;
}

.form-message {
  display: none;
  text-align: center;
  margin-top: 24px;
  padding: 16px;
  border-radius: 8px;
  background: var(--color-bg-teal);
  color: var(--color-text);
  font-weight: 700;
}

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

.form-note {
  font-size: 13px;
  margin-top: 24px;
  text-align: center;
}

@media (max-width: 767px) {
  .form-wrap {
    padding: 32px 20px;
  }
}

/* ---------- プライバシーポリシー ---------- */
.policy-body {
  max-width: 720px;
  margin: 0 auto;
}

.policy-body h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 40px 0 12px;
}

.policy-body p + p {
  margin-top: 1em;
}

.policy-body ul li {
  position: relative;
  padding-left: 18px;
}

.policy-body ul li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.policy-date {
  margin-top: 48px;
  text-align: right;
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 64px 0 24px;
}

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

.site-footer a:hover {
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto auto;
  gap: 48px;
}

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

.footer-org .footer-logo {
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-org p {
  font-size: 14px;
  line-height: 2;
}

.footer-nav-block h2,
.footer-ryouritsu h2 {
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.footer-nav-block li,
.footer-ryouritsu li {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-ryouritsu li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-ryouritsu svg {
  width: 14px;
  height: 14px;
  stroke: var(--color-white);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 14px;
}

.copyright {
  text-align: center;
  font-size: 12px;
  margin-top: 48px;
  opacity: 0.85;
}

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

/* ---------- フェードイン（控えめ・prefers-reduced-motion対応） ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
  }
}
