@charset "UTF-8";

/* ====================================
   Variables & Common
   ==================================== */
:root {
  --color-green: #559e44;
  --color-line: #06c755;
  --color-orange: #f0951e;
  --color-dark: #333;
  --color-gray-bg: #f4f4f4;
  --font-en: "Brush Script MT", cursive; 
}

.inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  box-sizing: border-box;
}

/* ====================================
   Hero Section
   ==================================== */
.p-flow-mv {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  margin-bottom: 20px;
}
.p-flow-mv__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p-flow-mv__content {
  position: absolute;
  bottom: 30px;
  left: 10%;
  z-index: 2;
  text-shadow: 0 0 15px rgba(255,255,255,0.8);
}
.p-flow-mv__title .en {
  display: block;
  font-family: var(--font-en);
  font-size: 5rem;
  line-height: 1;
  color: #000;
}
.p-flow-mv__title .jp {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-top: 5px;
  color: #000;
  padding-left: 5px;
}

/* Breadcrumb */
.p-flow-breadcrumb {
  font-size: 12px;
  padding: 0 0 40px;
  margin-bottom: 20px;
}
.p-flow-breadcrumb a {
  text-decoration: none;
  color: #333;
}

/* ====================================
   Intro
   ==================================== */
.p-flow-intro {
  text-align: center;
  margin-bottom: 60px;
}
.p-flow-intro__title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}
.p-flow-intro__text {
  font-size: 1rem;
  line-height: 2;
  font-weight: bold;
}

/* ====================================
   Step Nav (OVER FLOW)
   ==================================== */
.p-flow-nav-section {
  margin-bottom: 60px;
  text-align: center;
}
.p-flow-nav-head {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}
.p-flow-nav-head .en {
  font-family: var(--font-en);
  font-size: 2.5rem;
  line-height: 1;
  color: #000;
}
.p-flow-nav-head .jp {
  font-size: 0.9rem;
  font-weight: bold;
  margin-top: 5px;
}

/* 1-7の横並びリスト */
.p-flow-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 40px; /* 横の間隔広め */
  list-style: none;
  padding: 0;
  margin: 0;
}
.p-flow-nav li {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* 矢印 (最後の要素以外) */
.p-flow-nav li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -30px;
  top: 25px; /* 丸の中央付近 */
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px; /* 三角形 */
  border-color: transparent transparent transparent #333;
}

.p-flow-nav .num {
  width: 50px;
  height: 50px;
  background-color: #333;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  font-family: serif; /* 明朝体っぽい数字 */
  margin-bottom: 10px;
}
.p-flow-nav .text {
  font-size: 0.8rem;
  font-weight: bold;
}

/* ====================================
   Step Details
   ==================================== */
.p-flow-steps {
  background-color: #f2f2f2; /* 薄いグレー背景 */
  padding: 60px 0;
}

.p-flow-card {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  display: flex;
  gap: 40px; /* 番号とコンテンツの間隔 */
  align-items: flex-start;
}
.p-flow-card:last-child {
  margin-bottom: 0;
}

/* 左側の番号エリア */
.p-flow-card__head {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.p-flow-card__head .num {
  width: 60px;
  height: 60px;
  background-color: #333;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  font-family: serif;
}
/* スマホレイアウト用にタイトルをhead内に移動させています */
.p-flow-card__head .title {
  font-size: 1.5rem;
  font-weight: bold;
}

.p-flow-card__body {
  flex: 1;
}

.badge {
  display: inline-block;
  background: #333;
  color: #fff;
  font-size: 0.8rem;
  padding: 2px 8px;
  margin-left: 10px;
  vertical-align: middle;
}

.desc {
  font-weight: bold;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* チェックリスト */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-weight: bold;
  line-height: 1.6;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 6px;
  border-left: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(-45deg);
}

/* Step 1 Buttons */
.p-flow-card__btns {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}
.flow-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  padding: 0 30px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.3s;
}
.flow-btn:hover { opacity: 0.8; }
.flow-btn--line { background-color: #f09c16; }
.flow-btn--tel { background-color: #568a47; }


/* ====================================
   Flow FAQ
   ==================================== */
.p-flow-faq {
  padding: 80px 0;
  background-color: #fff;
  position: relative;
}

.p-flow-faq__head {
  text-align: center;
  margin-bottom: 40px;
}
.p-flow-faq__head .title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.p-flow-faq__head .sub {
  font-size: 1rem;
  font-weight: bold;
}

/* FAQ Accordion (Copied minimal styles for safety) */
.p-faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto 40px;
}
.p-faq-item {
  border: 1px solid #ccc;
  border-radius: 4px;
}
.p-faq-item__question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px;
  text-align: left;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333;
}
.q-icon {
  position: relative;
  width: 20px;
  height: 20px;
  margin-left: 15px;
}
.q-icon::before, .q-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #4a8b42;
  transform: translate(-50%, -50%);
}
.q-icon::before { width: 100%; height: 2px; }
.q-icon::after { width: 2px; height: 100%; }
.p-faq-item__question.is-active .q-icon { transform: rotate(135deg); }
.p-faq-item__answer {
  display: none;
  border-top: 1px solid #eee;
}
.p-faq-item__answer-inner { padding: 20px; line-height: 1.8; }


.p-flow-faq__more {
  text-align: center;
  position: relative;
  z-index: 2;
}
.btn-more {
  display: inline-block;
  border: 1px solid #333;
  padding: 10px 60px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s;
  background: #fff;
}
.btn-more:hover {
  background: #333;
  color: #fff;
}

/* 背景イラスト */
.bg-chair-illustration {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}
.bg-chair-illustration img { width: 100%; }

/* ====================================
   Contact CTA (Common)
   ==================================== */
.p-contact {
  background-color: #d9dcdb;
  padding: 60px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}
/* (以下省略: 他のファイルと共通) */
.p-contact__bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  opacity: 0.3;
}
.p-contact__head { margin-bottom: 30px; }
.p-contact__title .en {
  display: block;
  font-family: var(--font-en);
  font-size: 3.5rem;
  line-height: 1;
  color: #000;
  position: relative;
  z-index: 1;
  padding: 0 15px;
  display: inline-block;
}
.p-contact__title .en::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  height: 12px;
  background-color: #568a47;
  z-index: -1;
}
.p-contact__title .jp {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 8px;
}
.p-contact__text {
  font-weight: bold;
  line-height: 2;
  margin-bottom: 40px;
}
.p-contact__actions {
  display: flex;
  justify-content: center;
  gap: 30px;
}
.p-contact__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: 60px;
  color: #fff;
  font-weight: bold;
  font-size: 1.125rem;
  text-decoration: none;
  transition: opacity 0.3s;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}
.p-contact__btn:hover { opacity: 0.8; }
.p-contact__btn--line { background-color: #f09c16; }
.p-contact__btn--tel { background-color: #568a47; }


/* ====================================
   Responsive (SP)
   ==================================== */
@media (max-width: 768px) {
  .p-flow-mv__title .en { font-size: 4rem; }
  
  /* Nav: 横並びが厳しいので折り返す */
  .p-flow-nav {
    gap: 15px;
  }
  .p-flow-nav li:not(:last-child)::after {
    right: -18px; /* 矢印位置調整 */
  }

  /* Step Card: 縦積みに */
  .p-flow-card {
    flex-direction: column;
    gap: 15px;
    padding: 30px 20px;
  }
  .p-flow-card__head {
    width: 100%;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
  }
  .p-flow-card__head .num {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  .p-flow-card__head .title {
    font-size: 1.2rem;
  }

  /* Step1 Buttons */
  .p-flow-card__btns {
    flex-direction: column;
  }
  
  .p-contact__title .en { font-size: 3rem; }
  .p-contact__actions {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .p-contact__btn {
    width: 100%;
    max-width: 320px;
  }
}