@charset "UTF-8";

/* ===========================
   カラー・共通変数
=========================== */

:root {
  --c-main: #0D2E53;
  --c-sub: #85A4C5;
  --c-accent: #f5a42a;
  --bg-gray: #ebebeb;
  --bg-accent: #fff4e6;
  --c-cta: #ee7658;

  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 32px;
  --radius-round: 9999px;
}

/* ===========================
   共通CSS
=========================== */

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: #4d4d4d;
  background-color: #eef1f4;
  word-break: break-word;
  overflow-x: hidden;
}

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

/* ===========================
   全体レイアウト
=========================== */

.wrapper {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin-inline: auto;
  overflow: hidden;
  background-color: #fff;
}

.header,
.main,
.main-visual,
.section,
.footer {
  width: 100%;
}

/* ===========================
   共通パーツ
=========================== */

.section {
  padding: 60px 0;
}

.inner {
  width: 100%;
  padding-inline: 20px;
}

/* セクションタイトル */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title .en,
.section-title .ja {
  display: block;
}

.section-title .en {
  margin-bottom: 8px;
  color: var(--c-main);
  font-family: "Mohave", sans-serif;
  font-size: 56px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.section-title .ja {
  color: var(--c-sub);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}


/* セクション境界線 */
.section-divider {
  width: 100%;
  overflow: hidden;
}

.section-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}


/* 装飾 */
.marker {
  border-bottom: 4px solid #f5c15c;
}

.note {
  color: #888;
  font-size: 14px;
  line-height: 1.8;
}

/* テキストマーカー */
.text-marker {
  display: inline-block;
  padding: 0 4px;
  background-color: #fff;
  color: #ee7658;
  font-weight: 700;
}

/* ===========================
  ヘッダー
=========================== */
.header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 1000;
  width: 100%;
  max-width: 430px;
  background-color: #fff;
  box-shadow: 0 3px 8px rgba(13, 46, 83, 0.08);
  transform: translateX(-50%);
shadow: 0 3px 8px rgba(13, 46, 83, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.header-logo-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.header-logo {
  display: block;
  width: 130px;
}

.header-logo img {
  width: 100%;
  height: auto;
}

.header-tel {
  display: block;
  color: #7b8ea3;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.05em;
}

.header-button {
  display: flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  border-radius: var(--radius-round);
  background-color: var(--c-main);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.header-button .arrow {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}


/* ===========================
   Main Visual
=========================== */
.main {
  margin-top: 72px;
}

.main-visual {
  width: 100%;
}

.main-visual img {
  width: 100%;
  height: auto;
}

/* ===========================
  導入部分
=========================== */
.intro-section {
  background-color: #fff;
  padding: 0 0 40px;
}

.intro-section .inner {
  padding-inline: 0;
}

.intro-heading {
  margin-bottom: 20px;
}

.intro-chart {
  margin-bottom: 40px;
}

.intro-heading img,
.intro-chart img {
  width: 100%;
  height: auto;
}

.intro-arrow {
  display: flex;
  justify-content: center;
}

.intro-arrow svg {
  display: block;
  width: 400px;
  height: auto;
}


/* ===========================
  サービスセクション
=========================== */

.service-section {
  background-color: #fff;
}

/* ===========================
  サービスの流れ
=========================== */

.flow-section {
  position: relative;
  padding-bottom: 0;
  background-color: var(--bg-gray);
  padding: 0;
}

.flow-section .inner {
  position: relative;
  z-index: 2;
}

.flow-head {
  margin-bottom: 40px;
}

.flow-head img {
  display: block;
  width: 100%;
  height: auto;
}

.flow-lead {
  margin-bottom: 24px;
  color: var(--c-main);
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}

.flow-copy {
  margin-bottom: 24px;
  text-align: center;
}

.flow-copy .text-marker {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.5;
}

.flow-note {
  margin-bottom: 40px;
  color: #888;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.flow-image {
  position: relative;
  z-index: 2;
}

.flow-image img {
  width: 100%;
  height: auto;
}

.flow-divider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 120px;
  overflow: hidden;
  color: var(--bg-gray);
  background-color: transparent;
}

.flow-divider svg {
  display: block;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  margin: -1px;
}

/* ===========================
  調査事例
=========================== */

.case-section {
  position: relative;
  padding: 30px 0 60px;
}

.case-section::after {
  position: absolute;
  z-index: 3;
  right: 50%;
  bottom: 16px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--c-main);
  box-shadow:
    0 12px 0 var(--c-main),
    0 24px 0 var(--c-main);
  content: "";
  transform: translateX(50%);
}

.case-bg-area {
  background-image: url("images/case-bg.webp");
  background-repeat: repeat;
  background-position: top left;
  background-size: auto;
}


.case-heading {
  margin-bottom: 40px;
  text-align: center;
}

.case-label {
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  margin-bottom: 24px;
}

.case-label img,
.case-title img,
.case-person img {
  width: 100%;
  height: auto;
}


.case-card {
  overflow: hidden;
  border: 1px solid var(--c-sub);
  border-radius: var(--radius-m);
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(13, 46, 83, 0.16);
}

.case-card-head {
  padding: 12px 20px;
  background-color: var(--c-sub);
  color: #fff;
  text-align: center;
}

.case-number {
  display: block;
  font-family: "Mohave", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.case-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.case-card-body {
  padding: 16px;
}

.case-problem {
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: var(--radius-s);
  background-color: var(--bg-gray);
  text-align: center;
}

.case-block-title {
  padding: 4px 16px;
  background-color: #4d4d4d;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.case-problem-text {
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.5;
}

.case-interview-title {
  margin-bottom: 16px;
  padding: 4px 16px;
  border-radius: var(--radius-round);
  background-color: var(--c-sub);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.case-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  padding-inline: 16px;
}

.case-person {
  width: 56px;
  flex-shrink: 0;
}

.case-person-name {
  color: #888;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.case-person-data {
  color: #888;
  font-size: 14px;
  line-height: 1.5;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 16px;
}

.case-tags span {
  padding: 4px 12px;
  border-radius: var(--radius-round);
  background-color: var(--bg-gray);
  color: #666;
  font-size: 11px;
  line-height: 1.5;
}

.case-detail {
  color: #4d4d4d;
}

.case-detail:not(:last-child) {
  margin-bottom: 12px;
}

.case-detail summary {
  position: relative;
  padding-right: 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.case-detail summary::-webkit-details-marker {
  display: none;
}

.case-detail summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--c-sub);
  border-bottom: 2px solid var(--c-sub);
  content: "";
  transform: translateY(-75%) rotate(45deg);
}

.case-detail[open] summary {
  margin-bottom: 8px;
}

.case-detail[open] summary::after {
  transform: translateY(-25%) rotate(225deg);
}

.case-detail-content {
  font-size: 14px;
  line-height: 1.7;
}

.emphasis {
  color: var(--c-cta);
}


.case-heading-image {
  margin-bottom: 24px;
}

.case-heading-image img {
  width: 100%;
  height: auto;
}

.case-arrow {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.case-arrow svg {
  display: block;
  width: 16px;
  height: 48px;
}

.case-arrow line {
  stroke: var(--c-main);
  stroke-width: 1.5px;
}

.case-arrow polygon {
  fill: var(--c-main);
}

/* カード01左上のイラスト配置 */
.case-list {
  position: relative;
  display: grid;
  gap: 50px;
}

.case-illust {
  position: absolute;
  z-index: 2;
  top: -80px;
  right: 0;
  width: 120px;
}

.case-illust img {
  width: 100%;
  height: auto;
}

/* 施工事例セクション下の境界線 */

.case-divider {
  background-color: transparent;
}


/* ===========================
  選ばれる理由
=========================== */

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

.reason-list {
  display: grid;
  gap: 24px;
}

.reason-card img {
  width: 100%;
  height: auto;
}


/* ===========================
  よくある質問
=========================== */

.faq-section {
  padding: 20px 0 60px;
}


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

.faq-section .faq-item {
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: var(--radius-m);
  background-color: #fff;
}

.faq-section .faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 16px;
  padding: 20px;
  color: #4d4d4d;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.faq-section .faq-question .arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-right: 4px solid var(--c-sub);
  border-bottom: 4px solid var(--c-sub);
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}

.faq-section .faq-question .text {
  text-align: left;
}

.faq-section .faq-answer {
  display: none;
  padding: 0 24px 24px 56px;
  color: #4d4d4d;
  font-size: 15px;
  line-height: 1.7;
}

.faq-section .faq-item.open .faq-answer {
  display: block;
}

.faq-section .faq-item.open .faq-question .arrow {
  transform: rotate(45deg);
}

/* ===========================
  フッター
=========================== */

.footer {
  position: relative;
  padding: 0;
  background-color: #fff;
}

.footer-main {
  padding-top: 32px;
  padding-bottom: 32px;
  background-color: var(--c-sub);
}

.footer-inner {
  position: relative;
  display: flex;
  min-height: 200px;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
  padding-top: 16px;
  padding-bottom: 16px;
  background-color: #f7f7f7;
}

.footer-illust {
  position: absolute;
  z-index: 2;
  bottom: -24px;
  left: -8px;
  width: 144px;
}

.footer-illust img {
  width: 100%;
  height: auto;
}

.footer-content {
  position: relative;
  z-index: 1;
  width: calc(100% - 112px);
  text-align: center;
}

.footer-copy {
  margin-bottom: 8px;
  color: #4d4d4d;
  font-size: 24px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.3;
}

.footer-copy-line {
  display: inline-block;
  white-space: nowrap;
}

.footer-copy .emphasis {
  color: var(--c-main);
  font-size: 36px;
}

.footer-text {
  margin-bottom: 16px;
  color: #4d4d4d;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

.footer-button {
  display: flex;
  width: fit-content;
  min-height: 48px;
  margin-inline: auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border-radius: var(--radius-round);
  background-color: var(--c-cta);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.footer-button .arrow {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}

.copyright {
  padding: 12px 20px;
  background-color: #f7f7f7;
  color: #888;
  text-align: center;
}

.copyright small {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}