/**
 * Renewal / Override Styles
 * 既存CSSを上書きするためのスタイルシート（BEM）
 */

:root {
  --header-main-color: #3D2500;
  --header-cta-gradient-start: #FFE066;
  --header-cta-gradient-end: #FFD54F;
  --header-cta-shadow: rgba(61, 37, 0, 0.15);
  --text-24: clamp(18px, 2.4vw, 24px);
  --text-32: clamp(24px, 3.2vw, 32px);
}

.c-section-title {
  font-size: clamp(24px, 4.5vw, 34px);
  font-weight: 700;
  color: var(--main-brown);
}

.c-page-title {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  font-weight: 700;
  color: var(--main-brown);
}
/* ==================================================
  Header Renewal - 新デザイン（比較トップ + 無料相談）
  - メイン文字色: #3D2500
  - ボタン: 黄色グラデーション、ピル型
================================================== */

.header-renewal {
  height: 70px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background-color: #fff;
}

.header-renewal__inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: inherit;
  padding: 0 24px;
}

.header-renewal__logo {
  display: flex;
  align-items: center;
  height: inherit;
}

.header-renewal__logo a {
  display: flex;
  align-items: center;
  height: inherit;
}

.header-renewal__logo img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.header-renewal__logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--header-main-color);
}

/* ===== PC Nav ===== */
.header-renewal__nav {
  display: block;
  height: inherit;
}

.header-renewal__nav-list {
  display: flex;
  align-items: center;
  gap: 16px;
  height: inherit;
}

.header-renewal__nav-item a {
  display: inline-flex;
  align-items: center;
  height: inherit;
  padding: 0 14px;
  font-size: var(--text-24);
  font-weight: 700;
  line-height: 1;
  color: var(--header-main-color);
}

.header-renewal__nav-item--cta a {
  height: auto;
  transition: opacity 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.header-renewal__nav-item--cta a:hover {
  opacity: 0.9;
}

.header-renewal__nav-item--cta a:active {
  transform: translateY(2px);
  box-shadow: 0 1px 4px var(--header-cta-shadow);
}

/* ===== Hamburger (SP用) ===== */
.header-renewal__hamburger {
  position: absolute;
  right: 10px;
  z-index: 9999;
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.header-renewal__hamburger span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background-color: var(--header-main-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  transform-origin: center;
}

.header-renewal__hamburger span:nth-of-type(1) {
  top: 14px;
}

.header-renewal__hamburger span:nth-of-type(2) {
  top: 21px;
}

.header-renewal__hamburger span:nth-of-type(3) {
  top: 28px;
}

.header-renewal__hamburger.is-open span:nth-of-type(1) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}

.header-renewal__hamburger.is-open span:nth-of-type(2) {
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
}

.header-renewal__hamburger.is-open span:nth-of-type(3) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

/* ===== Overlay / Drawer ===== */
.header-renewal__overlay {
  position: fixed;
  z-index: 900;
  display: block;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
  inset: 0;
}

.header-renewal__drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 950;
  width: min(80vw, 360px);
  height: 100vh;
  padding: 88px 20px 24px;
  background-color: #fff;
  overflow-y: auto;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(100%);
  will-change: transform;
}

.header-renewal__drawer.is-open {
  transform: translateX(0);
}

.header-renewal__overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.header-renewal__drawer-list {
  display: grid;
  gap: 10px;
}

.header-renewal__drawer-item a {
  display: block;
  padding: 14px 12px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--header-main-color);
}

.header-renewal__drawer-item--cta a {
  color: var(--header-main-color);
  background: linear-gradient(to bottom, var(--header-cta-gradient-start), var(--header-cta-gradient-end));
  box-shadow: 0 2px 8px var(--header-cta-shadow);
  text-align: center;
}

/* ==================================================
  768px以下（TB/SP）
================================================== */
@media (max-width: 768px) {
  .header-renewal {
    height: 56px;
  }

  .header-renewal__inner {
    padding: 0 16px;
  }

  .header-renewal__nav {
    display: none;
  }

  .header-renewal__hamburger {
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }
}

.no-scroll {
  overflow: hidden;
}
/* ==================================================
  p-fv - ファーストビュー
  - タイトル + サブタイトル
  - 左: 六角形バッジ3つ + CTAボタン
  - 右: イラスト
================================================== */
:root {
  --main-brown: #3D2500;
  --fv-lead-color: #555;
  --fv-badge-border: linear-gradient(135deg, #FFE066, #FFD54F);
  --fv-cta-gradient: linear-gradient(to bottom, #FFE066, #FFD54F);
  --fv-cta-border: #E6C44D;
}

.u-md-show {
  display: none;
}

.u-md-none {
  display: block;
}

.u-sp-show {
  display: none;
}

.u-sp-none {
  display: block;
}

@media (max-width: 768px) {
  .u-md-show {
    display: block;
  }

  .u-md-none {
    display: none;
  }

  .u-sp-show {
    display: block;
  }

  .u-sp-none {
    display: none;
  }
}
.p-fv {
  padding: 60px 0 80px;
  background-color: #fff;
}

.p-fv__inner {
  max-width: 1300px;
  padding: 0 24px;
  margin: 0 auto;
}

.p-fv__title-wrap {
  margin-bottom: 24px;
}

.p-fv__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 44px);
}

.p-fv__left {
  margin-top: 40px;
  width: clamp(300px, 52vw, 730px);
}

.p-fv__right {
  margin-top: -190px;
  width: clamp(300px, 48vw, 640px);
}

.p-fv__img img {
  display: block;
  width: 100%;
  height: auto;
}

.p-fv__title {
  display: flex;
  align-items: center;
  margin: 0 0 12px;
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--main-brown);
}

.p-fv__title span {
  display: block;
  margin-left: 5px;
}

.p-fv__lead {
  margin: 0;
  font-size: clamp(20px, 3.5vw, 35px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--main-brown);
}

/* 左側: 六角形バッジ画像 */
.p-fv__badges {
  margin-bottom: 64px;
}

.p-fv__badge-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
}

/* CTAボタン */
.p-fv__cta-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
}

.p-fv__cta-wrapper--pc {
  display: flex;
  align-items: flex-end;
}

.p-fv__cta-wrapper--sp {
  display: none;
}

.c-ctaBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(120px, 33vw, 218px);
  padding: 14px 32px;
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  color: var(--main-brown);
  background: linear-gradient(135deg, #FFDEAB, #E2C12C);
  border: 1px solid #fff;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(61, 37, 0, 0.2);
  transition: opacity 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.c-ctaBtn:hover {
  opacity: 0.9;
}

.c-ctaBtn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 4px rgba(61, 37, 0, 0.2);
}

.c-ctaBtn a {
  color: inherit;
  text-decoration: none;
}

.p-fv__ctaBtn:hover {
  opacity: 0.9;
}

.p-fv__ctaBtn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 4px rgba(61, 37, 0, 0.2);
}

.p-fv__ctaBtn--primary {
  min-width: 200px;
  padding: 16px 40px;
  font-size: clamp(16px, 2.4vw, 20px) ;
  font-weight: 700;
}

.p-fv__ctaBtn--secondary {
  min-width: 160px;
  padding: 14px 28px;
  font-size: clamp(16px, 2.4vw, 20px) ;
}

.p-fv__cta-secondary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.c-ctaBtn.p-fv__ctaBtn--secondary {
  width: clamp(120px, 14vw, 207px);
}

.p-fv__cta-caption {
  font-size: 15px;
  font-weight: 600;
  color: var(--main-brown);
}

.p-fv__cta-sp {
  display: none;
}

/* Tablet */
@media (max-width: 1024px) {
  .p-fv {
    padding: 48px 0 64px;
  }

  .p-fv__left {
    margin-top: 24px;
  }

  .p-fv__right {
    margin-top: -80px;
  }

  .p-fv__badges {
    margin-bottom: 32px;
  }

  .p-fv__cta-wrapper {
    gap: 16px 20px;
  }
  .p-fv__right {
    width: clamp(300px, 40vw, 640px);
  }
}

/* SP */
@media (max-width: 768px) {
  .p-fv {
    padding: 40px 0 56px;
  }

  .p-fv__inner {
    padding: 0 16px;
  }

  .p-fv__title-wrap {
    text-align: center;
    margin-bottom: 18px;
  }

  .p-fv__title {
    justify-content: center;
    margin-bottom: 8px;
    font-size: clamp(26px, 7.2vw, 45px);
    line-height: 1.35;
  }

  .p-fv__lead {
    font-size: clamp(17px, 4.6vw, 27px);
    line-height: 1.5;
  }

  .p-fv__content {
    flex-direction: row-reverse;
    gap: 24px;
  }

  .p-fv__left {
    order: 2;
    margin-top: 0;
    width: 65%;
  }

  .p-fv__right {
    order: 1;
    margin-top: 0;
    margin-inline: auto;
  }

  .p-fv__badges {
    max-width: 460px;
  }

  .p-fv__cta-wrapper--pc {
    display: none;
  }

  .p-fv__cta-sp {
    max-width: 500px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    margin: 36px auto 0;
  }

  .p-fv__cta-caption {
    font-size: clamp(11px, 2.5vw, 19px);
  }

  .p-fv__cta-sp .p-fv__cta-01,
  .p-fv__cta-sp .p-fv__cta-02 {
    min-width: 0;
  }

  .p-fv__cta-sp .p-fv__cta-01 a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .p-fv__cta-sp .p-fv__cta-02 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .c-ctaBtn.p-fv__ctaBtn--secondary {
    width: 100%;
  }
}

/* 375px以下: 2つのボタンを縦並び */
@media (max-width: 425px) {
  .p-fv__left {
    width: 100%;
  }

  .p-fv__cta-sp {
    align-items: center;
    width: clamp(300px, 70vw, 500px);
  }

  .p-fv__content {
    flex-direction: column-reverse;
    gap: 0;
  }

  .p-fv__img {
    width: 75%;
    margin: -50px auto 0;
  }

  .p-fv__cta-sp .p-fv__cta-01,
  .p-fv__cta-sp .p-fv__cta-02 {
    text-align: center;
    flex: 1 1 100%;
  }

  .p-fv__cta-caption {
    font-size: clamp(11px, 3.5vw, 19px);
  }
}
/* =========================
  Flow
========================= */

.p-flow {
  padding: 72px 0;
  background-color: #FFFDF0;
}

.p-flow__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.p-flow__title {
  margin: 0 0 28px;
}

/* list */
.p-flow__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* item */
.p-flow__item {
  flex: 0 0 auto;
}

/* card */
.p-flowCard {
  width: clamp(130px, 17vw, 200px);
  min-height: 220px;
  background: #fff;
  border: 4px solid #f5c400; /* 黄色枠 */
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 28px 5px 22px;
  box-sizing: border-box;
}

.p-flowCard__num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #3b2a12;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  margin: 0 0 18px;
}

.p-flowCard__text {
  margin: 0;
  text-align: center;
  color: #3b2a12;
  font-size: clamp(18px, 2.3vw, 22px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

/* arrow (triangle) */
.p-flow__arrow {
  flex: 0 0 auto;
  width: 0;
  height: 0;

  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-left: 40px solid #f5c400; /* 黄色の三角 */
}

/* =========================
  Responsive
========================= */

/* MD以下: 縦並び + 矢印を下向きに */
@media (max-width: 768px) {
  .p-flow__list {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .p-flowCard {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: clamp(300px, 64vw, 500px);
    min-height: 0;
    border-radius: 26px;
    padding: 22px 14px 18px;
  }

  .p-flowCard__num {
    width: 36px;
    height: 36px;
    font-size: 20px;
    margin: 0 10px 0 0;
  }

  .p-flowCard__text {
    font-size: 18px;
  }

  /* 三角矢印: 縦並び用に下向きに変更 */
  .p-flow__arrow {
    width: 0;
    height: 0;
    border-top: 32px solid #f5c400;
    border-right: 24px solid transparent;
    border-bottom: 0;
    border-left: 24px solid transparent;
    margin: 8px 0;
  }
}

/* =========================
  Flow points
========================= */

.p-flowPoints {
  padding: 56px 0;
  background: #fff;
}

.p-flowPoints__inner {
  max-width: 1250px;
  margin: 0 auto 40px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.p-flowPoints__media {
  flex: 0 0 52%;
  min-width: 0;
}

.p-flowPoints__img {
  display: block;
  width: 100%;
  height: auto;
}

.p-flowPoints__content {
  flex: 1 1 auto;
  min-width: 0;
}

.p-flowPoints__list {
  margin: 0;
  padding: 0;
  list-style: none;

  display: grid;
  gap: 22px;
}

.p-flowPoints__item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.p-flowPoints__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.p-flowPoints__icon img {
  display: block;
  width: 54px;   /* 画像に合わせて調整 */
  height: auto;
}

.p-flowPoints__text {
  font-size: clamp(24px, 2.7vw, 38px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #3b2a12; /* 茶 */
}

.p-flowPoints__cta {
  text-align: center;
  margin-bottom: 24px;
}

.p-flowPoints__ctaText {
  font-size: var(--text-24);
  font-weight: 500;
  color: var(--main-brown);
  margin-bottom: 24px;
}

.p-flowPoints__ctaBtn {
  font-size: var(--text-32);
  font-weight: 700;
}

/* =========================
  Responsive
========================= */
@media (max-width: 980px) {
  .p-flowPoints__inner {
    gap: 28px;
  }

  .p-flowPoints__text {
    font-size: 32px;
  }

  .p-flowPoints__icon img {
    width: 48px;
  }
}

@media (max-width: 768px) {
  .p-flowPoints__inner {
    align-items: center;
    text-align: left;
  }

  .p-flowPoints__media {
    flex-basis: auto;
    width: 40%;
  }

  .p-flowPoints__content {
    width: 100%;
  }

  .p-flowPoints__text {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .p-flowPoints__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
  }

  .p-flowPoints__item {
    gap: 12px;
  }

  .p-flowPoints__icon img {
    width: 40px;
  }

  .p-flowPoints__media {
    flex-basis: auto;
    width: 70%;
  }

  .p-flowPoints__text {
    font-size: 22px;
  }
}

/* =========================
  Category Item (renewal override)
  - :before を icon-02.png に変更
  - :after は不要のため非表示
========================= */

/* :before → icon-02.png に変更（黒い四角 + 矢印を画像に置き換え） */
/* カラー：c-ctaBtn に合わせる */
.category-item{
  padding-top: clamp(16px, 2.5vw, 18px);
  padding-right: clamp(16px, 2.5vw, 18px);
  padding-bottom: clamp(16px, 2.5vw, 24px);
  padding-left: clamp(16px, 2.5vw, 18px);
  background: linear-gradient(135deg, #FFDEAB, #E2C12C) !important;
  color: var(--header-main-color) !important;
  border: 1px solid #fff !important;
}

.category-item:hover {
  background: linear-gradient(135deg, #FFDEAB, #E2C12C) !important;
  opacity: 0.9;
  color: var(--header-main-color) !important;
}

.category-item:before {
  width: 40px;
  height: 40px;
  background-color: transparent;
  background-image: url('images/icon-02.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0;
}

/* :after は不要（icon-02.png に矢印を含むため非表示） */
.category-item:after {
  display: none;
}

@media (max-width: 1200px) {
  .category-item{
    justify-content: flex-start;
    padding-top: clamp(16px, 2.5vw, 24px);
    padding-right: clamp(16px, 2.5vw, 24px);
    padding-bottom: clamp(16px, 2.5vw, 24px);
    padding-left: clamp(16px, 2.5vw, 24px);
    font-size: clamp(16px, 2.5vw, 24px);
  }
}

@media (max-width: 768px) {
  .category-item{
    justify-content: center;
    padding-top: clamp(16px, 2.5vw, 24px);
    padding-right: clamp(16px, 2.5vw, 24px);
    padding-bottom: clamp(16px, 2.5vw, 24px);
    padding-left: clamp(16px, 2.5vw, 24px);
    font-size: clamp(16px, 2.5vw, 24px);
  }
  .category-item:before {
    display: none;
  }
}

@media (max-width: 400px) {
  .category-row.row-3 {
    flex-direction: column;
  }
  .row-3 .category-item {
    width: 100%;
  }
}

/* 診断ページ共通 FV（写真だけ差し替え） */
.p-diagnosisFv{
  padding: 54px 0 24px;
  background: #fff;
}
.p-diagnosisFv__inner{
  display:flex;
  align-items: flex-end;
  justify-content:space-between;
}
.p-diagnosisFv__title{
  margin:0;
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  align-items:baseline;
  column-gap: 24px;
  row-gap: 16px;
  max-width: 700px; 
}
.p-diagnosisFv__media{
  width: clamp(300px, 57vw, 630px);
}
.p-diagnosisFv__hexImg{
  display:block;
  max-width:clamp(420px, 48vw, 650px);
  width:100%;
  height:auto;
}

.p-diagnosisFv--contact{
  margin-top: 100px;
  margin-bottom: 100px;
}

/* 会社概要ページ：FV */
.p-diagnosisFv--company {
  margin-top: 100px;
}

.p-diagnosisFv--company .p-diagnosisFv__title {
  column-gap: 0;
}

/* お問い合わせページ：タイトルの column-gap をなしに */
.p-diagnosisFv--contact .p-diagnosisFv__title {
  column-gap: 0;
}

/* お問い合わせページ：タイトル後方の装飾（擬似要素） */
.p-diagnosisFv--contact .p-diagnosisFv__inner {
  position: relative;
  overflow: visible;
}

.p-diagnosisFv--contact .p-diagnosisFv__inner::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  max-width: clamp(300px, 30vw, 550px);
  height: clamp(180px, 30vw, 550px);
  background-image: url("images/contact-fv-bg.png");
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.p-diagnosisFv--contact .p-diagnosisFv__title {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .p-diagnosisFv--contact .p-diagnosisFv__inner::before {
    max-width: 100%;
    height: 180px;
  }
}

@media (max-width: 900px){
  .p-diagnosisFv__titleMain,
  .p-diagnosisFv__titleSub{
    font-size: clamp(36px, 8.5vw, 56px);
  }
  .p-diagnosisFv__inner.inner{
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
  }
  .p-diagnosisFv__hexImg{
    max-width: 100%;
  }
}

.comparison__inner {
  max-width: 1000px;
  margin: 40px auto 100px;
  padding: 0 30px;
}

@media (max-width: 768px){
  .comparison__inner {
    padding: 0 10px;
  }
}

.comparison__container {
  position: relative;
  padding: 28px 22px 36px;
  border: 1px solid #e6dcc9;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(61, 37, 0, 0.08);
}

.comparison__container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 14px 14px 0 0;
}

@media (max-width: 768px) {
  .comparison__container {
    width: clamp(300px, 90vw, 400px);
    margin: 0 auto;
    padding: 22px 16px 30px;
    border-radius: 12px;
  }
}

.p-question__button-wrapper {
  text-align: center;
}

/* p-question__button：c-ctaBtn と同じデザインに統一 */
.p-question__button,
.result-content .p-question__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(120px, 33vw, 218px);
  padding: 14px 32px;
  margin: 40px auto 0;
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  color: var(--main-brown);
  background: linear-gradient(135deg, #FFDEAB, #E2C12C);
  border: 1px solid #fff;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(61, 37, 0, 0.2);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.p-question__button:hover,
.result-content .p-question__button:hover {
  opacity: 0.9;
}

.p-question__button:active,
.result-content .p-question__button:active {
  transform: translateY(2px);
  box-shadow: 0 1px 4px rgba(61, 37, 0, 0.2);
}

.p-question__button a,
.result-content .p-question__button a {
  color: inherit;
  text-decoration: none;
}

/* 送信ボタン：c-ctaBtn と同じスタイル */
button:not(.header-renewal__hamburger),
input[type="button"],
input[type="submit"],
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  color: var(--header-main-color);
  background: linear-gradient(135deg, #FFDEAB, #E2C12C);
  border: 1px solid #fff;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(61, 37, 0, 0.2);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

button:not(.header-renewal__hamburger):hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.c-btn:hover {
  opacity: 0.9;
}

button:not(.header-renewal__hamburger):active,
input[type="button"]:active,
input[type="submit"]:active,
.c-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 4px rgba(61, 37, 0, 0.2);
}

/* コンタクトフォーム（MW WP Form）送信ボタン：c-ctaBtn スタイルで上書き */
.p-contact .p-button,
.p-contact .p-button input[type="submit"],
.p-contact form input[type="submit"],
.p-contact form input[type="button"],
.p-contact .mw_wp_form input[type="submit"],
.p-contact .mw_wp_form .p-button,
.p-contact .c-ctaBtn,
.p-contact .c-ctaBtn input[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 14px 32px !important;
  margin-top: 40px !important;
  margin-bottom: 0 !important;
  font-size: clamp(16px, 1.6vw, 24px) !important;
  font-weight: 700 !important;
  line-height: 1;
  color: var(--header-main-color) !important;
  background: linear-gradient(135deg, #FFDEAB, #E2C12C) !important;
  border: 1px solid #fff !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 8px rgba(61, 37, 0, 0.2);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.p-contact .p-button:hover,
.p-contact .p-button input[type="submit"]:hover,
.p-contact form input[type="submit"]:hover,
.p-contact form input[type="button"]:hover,
.p-contact .mw_wp_form input[type="submit"]:hover,
.p-contact .c-ctaBtn:hover,
.p-contact .c-ctaBtn input[type="submit"]:hover {
  opacity: 0.9;
}

.p-contact .p-button:active,
.p-contact .p-button input[type="submit"]:active,
.p-contact form input[type="submit"]:active,
.p-contact form input[type="button"]:active,
.p-contact .mw_wp_form input[type="submit"]:active,
.p-contact .c-ctaBtn:active,
.p-contact .c-ctaBtn input[type="submit"]:active {
  transform: translateY(2px);
  box-shadow: 0 1px 4px rgba(61, 37, 0, 0.2);
}

.p-result-cta {
  display: flex;
  margin: 40px auto 0;
  width: 100%;
  max-width: 300px;
  justify-content: center;
}

/* 企業詳細ページ: 見積り依頼ボタン */
.p-single-company__cta {
  margin-top: 40px;
  text-align: center;
}

.p-single-company__cta .p-question__button {
  margin-top: 40px;
	margin-bottom: 80px;
}

/* ==================================================
   会社概要ページ（p-company-profile）
================================================== */
.p-company-profile {
  padding: 40px 0 80px;
}

.p-company-profile__content {
  max-width: 800px;
  margin: 0 auto;
}

.p-company-profile__companyName {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--main-brown);
  margin: 0 0 24px;
}

.p-company-profile__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-company-profile__list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 16px;
  line-height: 1.6;
}

.p-company-profile__list li:last-child {
  border-bottom: none;
}

.p-company-profile__list a {
  color: #0066cc;
  text-decoration: underline;
}

.p-company-profile__list a:hover {
  opacity: 0.8;
}

.p-company-profile__cta {
  margin-top: 48px;
  text-align: center;
}

.p-company-profile__cta .c-ctaBtn {
  text-decoration: none;
}

.contact__inner {
	max-width: 900px;
}