/*==========================================================================
# reset - ブラウザの差異や不要なスタイルを無くすためのスタイル
========================================================================== */
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td,
small,
button,
time,
figure {
  border: 0;
  font: inherit;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

html {
  font-size: 62.5%;
  scroll-padding-top: var(--header-h);
  line-height: normal;
}

body {
}

ol,
ul {
  list-style: none;
}

li,
dd {
  list-style-type: none;
}

header,
footer,
nav,
section,
article,
aside,
figure,
figcaption {
  display: block;
}

img {
  border: none;
  vertical-align: bottom;
  width: 100%;
  object-fit: cover;
  height: auto;
}

a {
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}

a,
span {
  color: inherit;
}

:root {
  /* Brand */
  --color-main: #0342ab;
  --color-blue: #0342ab;
  --color-sub: #e9ecf4;
  --color-cta-bg: linear-gradient(142deg, #035dab 0%, #0342ab 100%);

  /* Accent */
  --color-orange: #ef6723;

  /* Text */
  --color-text: #333333;
  --color-text-soft: #636d7d;
  --color-text-placeholder: #777f8d;
  --color-text-faint: #a6a6a6;

  /* Surface / Border */
  --color-white: #ffffff;
  --color-border: #cccccc;
  --color-control: #cccccc;

  /* Status（パレット内の色で対応） */
  --color-required: #b03030;
  --color-optional: #6c7883;
  --color-error-bg: #ffffff;
  --color-error-text: #0342ab;
  --color-error-border: #636d7d;

  /* Alpha overlays */
  --color-white-55: rgba(255, 255, 255, 0.55);
  --color-white-70: rgba(255, 255, 255, 0.7);

  /* Layout */
  --font-sans:
    "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo,
    sans-serif;
  --font-din: "URW DIN", var(--font-sans);
  --letter-spacing: 0.02em;
  --header-h: 80px;
  --radius-sm: 3px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --transition: 0.3s ease;

  /* Shadows */
  --shadow-card: 0 0 8px 0 rgba(0, 0, 0, 0.1);

  @media screen and (max-width: 767px) {
    --header-h: 72px;
  }
}

/* ==========================================================================
   Base
========================================================================== */

body {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

.sub-page {
  padding-top: 24px;
}

.inner {
  max-width: 1000px;
  padding: 0 40px;
  box-sizing: content-box;
  margin: 0 auto;

  @media screen and (max-width: 767px) {
    padding: 0 15px;
  }
}

.sp-only {
  display: none;

  @media screen and (max-width: 767px) {
    display: block;
  }
}

.pc-only {
  @media screen and (max-width: 767px) {
    display: none !important;
  }
}

/* SP（767px以下）でのみ表示 */
.is-sp {
  display: none !important;

  @media screen and (max-width: 767px) {
    display: inline !important;
  }
}

br.is-sp {
  display: none;

  @media screen and (max-width: 767px) {
    display: inline;
  }
}

/* SPより上（768px以上）でのみ表示 */
.is-sp-up {
  @media screen and (max-width: 767px) {
    display: none !important;
  }
}

br.is-sp-up {
  @media screen and (max-width: 767px) {
    display: none;
  }
}

/* ==========================================================================
   Section title
========================================================================== */

.c-secHead {
  text-align: center;
  margin-bottom: 48px;

  @media screen and (max-width: 767px) {
    margin-bottom: 32px;
  }
}

.c-secHead__en {
  display: block;
  color: var(--color-text-faint);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: var(--letter-spacing);
  text-transform: capitalize;
  margin-bottom: 8px;
  letter-spacing: 0.1em;

  @media screen and (max-width: 767px) {
    font-size: 1.3rem;
  }

  @media screen and (max-width: 415px) {
    font-size: calc(100vw * 13 / 415);
  }
}

.c-secHead__title {
  color: var(--color-main);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: var(--letter-spacing);

  @media screen and (max-width: 767px) {
    font-size: 2.8rem;
  }

  @media screen and (max-width: 415px) {
    font-size: calc(100vw * 28 / 415);
  }
}

.c-secHead__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 1.5px;
  margin: 18px auto 0;
  background: var(--color-blue);

  @media screen and (max-width: 767px) {
    width: 30px;
    margin: 12px auto 0;
  }
}

.c-secHead__lead {
  margin-top: 30px;
  color: var(--color-text);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: var(--letter-spacing);

  @media screen and (max-width: 767px) {
    font-size: 1.4rem;
  }
}

.c-secHead__lead .em {
  color: var(--color-orange);
  font-weight: 600;
}

/* ==========================================================================
   Buttons
========================================================================== */

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-align: center;
  transition:
    opacity var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  position: relative;
}

.c-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.c-btn--img {
  display: block;
  width: min(100%, 350px);

  @media screen and (max-width: 767px) {
  }
}

.c-btn--img:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.c-btn__swap {
  position: relative;
  display: block;
}

.c-btn__img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity var(--transition);
}

.c-btn__img--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.c-btn--img:hover .c-btn__img--base,
.c-btn--img:focus-visible .c-btn__img--base {
  opacity: 0;
}

.c-btn--img:hover .c-btn__img--hover,
.c-btn--img:focus-visible .c-btn__img--hover {
  opacity: 1;
}

.c-btn__arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.c-btn__arrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translate(-1px, -1px);
}

.c-btn--outline {
  background: var(--color-white);
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
  min-width: min(100%, 280px);
  font-size: 1.6rem;
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);

  @media screen and (max-width: 767px) {
    width: 100%;
    min-width: 0;
  }
}

.c-btn--outline:hover {
  background: var(--color-blue);
  color: var(--color-white);
}

.c-btn--outline .c-btn__arrow {
  background: var(--color-blue);
  color: var(--color-white);
}

/* ==========================================================================
   Section background decoration
========================================================================== */
.c-deco {
  position: absolute;
  z-index: -1;
  height: auto;
  pointer-events: none;
}

/* ==========================================================================
   CTA Box
========================================================================== */
.c-ctaBox {
  background: var(--color-cta-bg);
  padding: 40px 20px;

  @media screen and (max-width: 767px) {
    padding: 32px 16px;
  }
}

.c-ctaBox__inner {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 28px 32px;
  text-align: center;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);

  @media screen and (max-width: 767px) {
    padding: 28px 8px;
  }
}

.c-ctaBox__title {
  color: var(--color-main);
  text-align: center;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: var(--letter-spacing);
  margin-bottom: 24px;

  @media screen and (max-width: 767px) {
    font-size: 2rem;
  }

  @media screen and (max-width: 414px) {
    font-size: calc(100vw * 20 / 414);
  }
}

.c-ctaBox__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 20px;

  @media screen and (max-width: 767px) {
    flex-direction: column;
    align-items: center;
  }
}

/* ==========================================================================
   Header
========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.08);
  height: var(--header-h);
}

.header .inner {
  max-width: 1080px;
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header__logo {
  display: block;
  line-height: 0;
  min-width: 0;
}

.header__logo-img {
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;

  @media screen and (max-width: 767px) {
    width: 190px;
  }
}

.header__tel {
  display: block;
  line-height: 0;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.header__tel:hover {
  transform: translateY(-1px);
}

.header__tel .c-btn__img {
  width: 300px;
  max-width: 100%;
  height: auto;

  @media screen and (max-width: 767px) {
    width: 170px;
  }
}

.header__tel .c-btn__img--hover {
  width: 300px;
  max-width: 100%;
  height: auto;

  @media screen and (max-width: 767px) {
    width: 170px;
  }
}

.header__tel:hover .c-btn__img--base,
.header__tel:focus-visible .c-btn__img--base {
  opacity: 0;
}

.header__tel:hover .c-btn__img--hover,
.header__tel:focus-visible .c-btn__img--hover {
  opacity: 1;
}

/* ==========================================================================
   TOP page sections
   hero / simulation / how / docs / flow / feature / problem / voice / reason / compare / faq / contact
========================================================================== */

/* ----- hero.css ----- */

/* ==========================================================================
   Hero
========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 50px 0 30px;
  background: top center / cover no-repeat url("../img/top/hero.webp");

  @media screen and (max-width: 767px) {
    padding: 0 0 24px;
    background-image: url("../img/top/hero_sp.webp");
  }
}

.hero .inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
}

.hero__visual {
  margin: 0 0 10px;

  @media screen and (max-width: 767px) {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

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

.hero__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;

  @media screen and (max-width: 767px) {
    flex-direction: column;
    gap: 15px;
  }
}

.hero__btns .c-btn--img {
  width: min(100%, 350px);

  @media screen and (max-width: 767px) {
    width: 100%;
    max-width: 350px;
  }
}

/* ----- simulation.css ----- */

/* ==========================================================================
   Simulation
========================================================================== */

.simulation {
  background: var(--color-blue);
  color: var(--color-white);
  padding: 72px 0 80px;

  @media screen and (max-width: 767px) {
    padding: 48px 0 56px;
  }
}

.simulation .c-secHead__en {
  color: var(--color-white-55);
}

.simulation .c-secHead__title {
  color: var(--color-white);
}

.simulation .c-secHead__title::after {
  background: var(--color-white);
}

.simulation__form {
  max-width: 800px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;

  @media screen and (max-width: 767px) {
    grid-template-columns: 1fr;
    max-width: 384px;
    margin-inline: auto;
  }
}

.simulation__card {
  background: var(--color-white);
  border-radius: 3px;
  padding: 16px 30px;
  color: var(--color-text);
  box-shadow: var(--shadow-card);

  @media screen and (max-width: 767px) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 12px;
  }
}

.simulation__card-head {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 16px;
  min-height: 48px;

  @media screen and (max-width: 767px) {
    margin-bottom: 0;
    min-height: 0;
    gap: 8px;
  }
}

.simulation__card-step {
  display: grid;
  justify-items: center;
  align-self: center;
  margin-top: -6px;
  line-height: 1;
  flex-shrink: 0;
  color: var(--color-orange);
}

.simulation__card-step span {
  color: var(--color-orange);
  font-family: var(--font-din);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;

  @media screen and (max-width: 400px) {
    font-size: calc(100vw * 14 / 400);
  }
}

.simulation__card-step strong {
  color: var(--color-orange);
  text-align: center;
  font-family: var(--font-din);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;

  @media screen and (max-width: 400px) {
    font-size: calc(100vw * 24 / 400);
  }
}

.simulation__card-divider {
  width: 1px;
  height: 58px;
  flex-shrink: 0;
  background: var(--color-border);
}

.simulation__card-title {
  flex: 1;
  align-self: center;
  color: #0342ab;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;

  @media screen and (max-width: 400px) {
    font-size: calc(100vw * 14 / 400);
  }
}

.simulation__card-body {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.simulation__field-input {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  overflow: hidden;
  padding: 0 12px;
  min-height: 42px;
  color: var(--color-text);

  @media screen and (max-width: 767px) {
    flex: none;
    width: 130px;
    height: 40px;
    min-height: 0;
  }

  @media screen and (max-width: 400px) {
    width: calc(100vw * 130 / 400);
    height: calc(100vw * 40 / 400);
    padding: 0 calc(100vw * 12 / 400);
  }
}

.simulation__field-input input,
.simulation__field-input select {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  border-radius: 3px;
  font-size: 1.5rem;
  color: var(--color-text);
  appearance: none;
  -webkit-appearance: none;

  @media screen and (max-width: 400px) {
    font-size: calc(100vw * 15 / 400);
  }
}

.simulation__field-input input::placeholder {
  color: var(--color-text-placeholder);
}

.simulation__field-input--select {
  position: relative;
  padding-right: 32px;

  @media screen and (max-width: 767px) {
    width: 166px;
  }

  @media screen and (max-width: 400px) {
    width: calc(100vw * 166 / 400);
    padding-right: calc(100vw * 32 / 400);
  }
}

.simulation__field-input--select::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-text-soft);
  border-bottom: 2px solid var(--color-text-soft);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;

  @media screen and (max-width: 400px) {
    right: calc(100vw * 12 / 400);
    width: calc(100vw * 8 / 400);
    height: calc(100vw * 8 / 400);
  }
}

.simulation__unit {
  flex-shrink: 0;
  color: var(--color-text);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.5;

  @media screen and (max-width: 400px) {
    font-size: calc(100vw * 14 / 400);
  }
}

.simulation__note {
  display: none;
  margin-top: 8px;
  color: var(--color-orange);
  font-size: 1.2rem;
  line-height: 1.5;

  @media screen and (max-width: 767px) {
    flex-basis: 100%;
    margin-top: 0;
  }
}

.simulation__note.is-visible {
  display: block;
}

.simulation__radios {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.simulation__radio {
  display: inline-flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text);
  white-space: nowrap;
  cursor: pointer;

  @media screen and (max-width: 400px) {
    font-size: calc(100vw * 14 / 400);
  }
}

.simulation__radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.simulation__radio-mark {
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #b6b6b6;
  background: var(--color-white);
  flex-shrink: 0;
  transition:
    border-color var(--transition),
    border-width var(--transition);
}

.simulation__radio input:checked + .simulation__radio-mark {
  border: 3px solid var(--color-blue);
}

.simulation__result {
  display: none;
  margin-bottom: 28px;
}

.simulation__result-label {
  color: var(--color-main);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: var(--letter-spacing);
  margin: 0;
}

.simulation__result-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 0.12em;
  margin: 0;
}

.simulation__result-value > span:not(.simulation__result-sep) {
  color: #ef6723;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: var(--letter-spacing);
}

.simulation__result-sep {
  color: var(--color-main);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: var(--letter-spacing);
  margin: 0 0.08em;
}

.simulation__result-value small {
  color: var(--color-main);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: var(--letter-spacing);
  margin-left: 0.2em;
}

/* 計算後：1行レイアウト（買取金額 285 〜 297 万円） */

.simulation__result.is-filled {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  width: fit-content;
  margin-inline: auto;
  background: var(--color-white);
  border-radius: 3px;
  padding: 10px 30px;
  text-align: center;
  margin-bottom: 10px;
}

.simulation__cta {
  display: flex;
  justify-content: center;
}

/* ----- how.css ----- */

/* ==========================================================================
   How it works
========================================================================== */

.how {
  padding: 60px 0;

  @media screen and (max-width: 767px) {
    padding: 50px 0;
  }
}

.how .c-secHead__lead {
  text-align: center;
}

.how__diagram {
  max-width: 590px;
  margin: 0 auto 44px;

  @media screen and (max-width: 767px) {
    max-width: 100%;
  }
}

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

.how__note {
  padding: 26px 20px;
  border-radius: 4.5px;
  border: 1.5px solid var(--color-main);
  background: #fff;

  @media screen and (max-width: 767px) {
    padding: 14px 16px;
  }
}

.how__note-title {
  color: var(--color-main);
  text-align: center;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.6; /* 44.8px */
  letter-spacing: var(--letter-spacing);

  @media screen and (max-width: 767px) {
    font-size: 1.8rem;
  }
}

.how__note-title-sub {
  color: var(--color-text);
  font-weight: 500;
}

.how__note-text {
  margin-top: 20px;
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.6; /* 32px */
  letter-spacing: var(--letter-spacing);

  @media screen and (max-width: 767px) {
    font-size: 1.3rem; /* 20.8px */
    margin-top: 18px;
  }
}

/* ----- docs.css ----- */

/* ==========================================================================
   Documents
========================================================================== */

.docs {
  padding: 60px 0;
  position: relative;

  @media screen and (max-width: 767px) {
    padding: 56px 0;
  }
}

.docs__deco {
  top: 0;
  left: 0;
  width: calc(100% * 624 / 1400);

  @media screen and (max-width: 767px) {
    width: calc(100% * 350 / 414);
  }
}

.docs .inner {
  position: relative;
  z-index: 1;
}

.docs__box {
  max-width: 600px;
  margin-inline: auto;
  border: 2px solid var(--color-main);
  border-radius: 5px;
  background: #fff;
  padding: 20px 80px;
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 70px;
  align-items: center;

  @media screen and (max-width: 767px) {
    max-width: 400px;
    grid-template-columns: 84px 1fr;
    padding: 6px 20px;
    gap: 40px;
  }
}

.docs__thumb {
}

.docs__thumb-card {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e1e1e1;
}

.docs__title {
  color: var(--color-main);
  text-align: center;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: var(--letter-spacing);
  margin-bottom: 4px;

  @media screen and (max-width: 767px) {
    font-size: 1.8rem;
  }
}

.docs__text {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: var(--letter-spacing);

  @media screen and (max-width: 767px) {
    font-size: 1.2rem;
  }
}

/* ----- flow.css ----- */

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

.flow {
  padding: 0 0 60px;
  position: relative;

  @media screen and (max-width: 767px) {
    padding-bottom: 56px;
  }
}

.flow__deco-1 {
  top: -18%;
  right: 0;
  width: calc(100% * 532 / 1400);

  @media screen and (max-width: 767px) {
    top: 4%;
    width: calc(100% * 255 / 414);
  }
}

.flow__board {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 3px;
  border: 1px solid var(--color-main);
  background: #fff;
  padding: 40px;
}

.flow__diagram {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 860px;
  height: auto;
}

.flow__scroll-hint {
  display: none;
  flex-direction: column;
  gap: 0;
  color: var(--color-main);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: var(--letter-spacing);
  margin: 20px 0 0 auto;
  width: fit-content;

  @media screen and (max-width: 767px) {
    display: flex;
  }
}

.flow__scroll-arrow {
  display: block;
}

/* ----- feature.css ----- */

/* ==========================================================================
   Feature
========================================================================== */

.feature {
  position: relative;
}

.feature__deco-1 {
  top: -14%;
  left: 0;
  width: calc(100% * 209 / 1400);

  @media screen and (max-width: 767px) {
    top: -4%;
    width: calc(100% * 54.5 / 414);
  }
}

.feature__deco-2 {
  top: 16%;
  right: 0;
  width: calc(100% * 1176 / 1400);

  @media screen and (max-width: 767px) {
    top: 6%;
    width: calc(100% * 355.5 / 414);
  }
}

.feature__list {
  display: block;
  max-width: 1028px;
  margin: 0 auto 64px;

  @media screen and (max-width: 767px) {
    margin-bottom: 40px;
  }
}

.feature__card {
  display: block;
  width: 100%;
  height: auto;
}

/* ----- problem.css ----- */

/* ==========================================================================
   Problem
========================================================================== */

.problem {
  padding: 80px 0 0;
  background: #ededed;

  @media screen and (max-width: 767px) {
    padding-top: 56px;
  }
}

.problem__list {
  display: block;
  margin: 0 auto 40px;

  @media screen and (max-width: 767px) {
    margin-bottom: 40px;
  }
}

.problem__card {
  display: block;
  width: 100%;
  height: auto;
}

.problem__solve {
  background: linear-gradient(297deg, #0342ab 0%, #035dab 100%);
  color: var(--color-white);
  text-align: center;
  padding: 101px 20px 64px;
  clip-path: polygon(0 0, 50% 14%, 100% 0, 100% 100%, 0 100%);

  @media screen and (max-width: 767px) {
    clip-path: polygon(0 0, 50% 6%, 100% 0, 100% 100%, 0 100%);
    padding: 48px 16px 48px;
  }
}

.problem__solve-title {
  font-weight: 700;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

.problem__solve-lead {
  display: block;
  color: #fff;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: var(--letter-spacing);

  @media screen and (max-width: 767px) {
    font-size: 2.4rem;
  }

  @media screen and (max-width: 414px) {
    font-size: calc(100vw * 24 / 414);
  }
}

.problem__solve-sub {
  display: block;
  color: #fff;
  text-align: center;
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: var(--letter-spacing);
  margin: 0 0 22px;

  @media screen and (max-width: 767px) {
    font-size: 1.7rem;
  }

  @media screen and (max-width: 414px) {
    font-size: calc(100vw * 17 / 414);
  }
}

.problem__solve-strong {
  display: inline;
  color: #fff;
  text-align: center;
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: var(--letter-spacing);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--color-white-70);

  @media screen and (max-width: 767px) {
    font-size: 2.2rem;
  }

  @media screen and (max-width: 414px) {
    font-size: calc(100vw * 22 / 414);
  }
}

/* ----- voice.css ----- */

/* ==========================================================================
   Voice / Customer Story
========================================================================== */

.voice {
  padding: 80px 0;
  position: relative;

  @media screen and (max-width: 767px) {
    padding: 56px 0;
  }
}

.voice__deco-1 {
  top: 0;
  left: 0;
  width: 100%;

  @media screen and (max-width: 767px) {
    width: calc(100% * 353 / 414);
  }
}

.voice__deco-2 {
  bottom: 0;
  right: 0;
  width: calc(100% * 532 / 1400);

  @media screen and (max-width: 767px) {
    width: calc(100% * 254.5 / 414);
  }
}

.voice .inner {
  position: relative;
  z-index: 1;
}

.voice__list {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
}

.voice__card {
  display: block;
  width: 100%;
  height: auto;
}

/* ----- reason.css ----- */

/* ==========================================================================
   Reason
========================================================================== */

.reason {
  padding: 0 0 70px;

  @media screen and (max-width: 767px) {
    padding-top: 50px;
    padding-bottom: 56px;
  }
}

.reason__list {
  display: flex;
  flex-direction: column;
  gap: 30px;

  @media screen and (max-width: 767px) {
    gap: 16px;
  }
}

.reason__box {
  border-radius: 3px;
  background: var(--color-sub);
  padding: 22px 48px 32px;

  @media screen and (max-width: 767px) {
    padding: 28px 16px 20px;
  }
}

.reason__q {
  color: var(--color-blue);
  text-align: center;
  margin: 0 0 30px;
  line-height: 1.5;

  @media screen and (max-width: 767px) {
    margin-bottom: 18px;
  }
}

.reason__q-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: var(--letter-spacing);
  margin-bottom: 4px;

  @media screen and (max-width: 767px) {
    font-size: 2rem;
  }
}

.reason__q-text {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: var(--letter-spacing);

  @media screen and (max-width: 767px) {
    font-size: 2rem;
  }
}

.reason__answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 22px;

  @media screen and (max-width: 767px) {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.reason__answer {
  background: var(--color-white);
  border-radius: 3px;
  padding: 6px 24px;
  min-height: 84px;
  display: flex;
  align-items: center;

  @media screen and (max-width: 767px) {
    padding: 14px 12px;
    min-height: auto;
  }
}

.reason__answer-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.reason__answer-text {
  flex: 1;
  min-width: 0;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: var(--letter-spacing);

  @media screen and (max-width: 767px) {
    font-size: 1.5rem;
  }
}

.reason__check {
  width: 20px;
  height: 20px;
  margin-top: 5px;
  flex-shrink: 0;

  @media screen and (max-width: 767px) {
    width: 16px;
    height: 16px;
  }
}

/* ----- compare.css ----- */

/* ==========================================================================
   Compare
========================================================================== */

.compare {
  padding: 0 0 70px;

  @media screen and (max-width: 767px) {
    padding-bottom: 56px;
  }
}

.compare__scroll-hint {
  display: none;
  color: var(--color-text);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: var(--letter-spacing);
  margin-bottom: 1.2rem;

  @media screen and (max-width: 767px) {
    display: block;
  }
}

.compare .inner {
  @media screen and (max-width: 767px) {
    padding-right: 0;
  }
}

.compare__board {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;

  @media screen and (max-width: 767px) {
    display: flex;
    width: calc(100% + 15px);
    max-width: none;
    margin-left: -15px;
    margin-right: 0;

    &::before,
    &::after {
      content: "";
      flex-shrink: 0;
      width: 15px;
    }
  }
}

.compare__table {
  display: block;
  width: 764px;
  max-width: none;
  height: auto;
  margin: 0 auto;

  @media screen and (max-width: 767px) {
    flex-shrink: 0;
    width: 530px;
    margin: 0;
  }
}

/* ----- faq.css ----- */

/* ==========================================================================
   FAQ
========================================================================== */

.faq {
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;

  @media screen and (max-width: 767px) {
    padding-top: 56px;
  }
}

.faq__deco-1 {
  top: 24%;
  left: 0;
  width: calc(100% * 256 / 1400);

  @media screen and (max-width: 767px) {
    top: 6%;
    width: calc(100% * 115.5 / 414);
  }
}

.faq__deco-2 {
  top: 11%;
  right: 0;
  width: calc(100% * 1133 / 1400);

  @media screen and (max-width: 767px) {
    top: 6%;
    width: calc(100% * 262.5 / 414);
  }
}

.faq .inner {
  position: relative;
  z-index: 1;
}

.faq__list {
  display: grid;
  gap: 14px;
  max-width: 800px;
  margin: 0 auto 64px;

  @media screen and (max-width: 767px) {
    margin-bottom: 40px;
  }
}

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

.faq__question {
  width: 100%;
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr) 20px;
  align-items: start;
  padding: 24px 20px;
  text-align: left;
  background: var(--color-sub);
  line-height: 1.6;

  @media screen and (max-width: 767px) {
    grid-template-columns: 2.4rem minmax(0, 1fr) 18px;
    gap: 0 6px;
    padding: 14px 14px;
  }
}

.faq__label {
  color: var(--color-blue);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.3;
}

.faq__text {
  color: var(--color-text);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.3;
}

.faq__icon {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  flex-shrink: 0;
  transition: transform 0.35s ease;
  position: relative;
}

.faq__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--color-blue);
  border-bottom: 2px solid var(--color-blue);
  transform: rotate(45deg) translate(-1px, -3px);
}

.faq__item.is-open .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  height: 0;
  overflow: hidden;
  border-right: 1px solid #e9ecf4;
  border-bottom: 1px solid #e9ecf4;
  border-left: 1px solid #e9ecf4;
  background: #fff;
  transition: height 0.35s ease;
}

.faq__answer-inner {
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr);
  gap: 0 8px;
  padding: 16px 48px 18px 20px;

  @media screen and (max-width: 767px) {
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: 0 6px;
    padding: 14px 38px 16px 14px;
  }
}

.faq__answer .faq__text {
  font-weight: 400;
}

/* ==========================================================================
   Contact
========================================================================== */

.contact {
  background: var(--color-sub);
  padding: 80px 0;

  @media screen and (max-width: 767px) {
    padding: 56px 0;
  }
}

.contact__form {
  background: var(--color-white);
  padding: 40px 100px 60px;

  @media screen and (max-width: 767px) {
    padding: 24px 16px;
  }
}

.contact__row {
  display: grid;
  grid-template-columns: 221px minmax(0, 1fr);
  column-gap: 26px;
  align-items: center;
  padding: 16px 0;

  @media screen and (max-width: 767px) {
    grid-template-columns: 1fr;
    grid-template-areas: "label" "control";
    row-gap: 10px;
    padding: 14px 0;
    align-items: center;
  }
}

.contact__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  @media screen and (max-width: 767px) {
    grid-area: label;
  }
}

.contact__label {
  color: #000000;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;

  @media screen and (max-width: 767px) {
    font-size: 1.4rem;
  }
}

.contact__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-white);
  padding: 4px 6px;
  border-radius: 2px;
  line-height: 1;
  text-align: center;
}

.contact__badge--required {
  background: var(--color-required);
}

.contact__badge--optional {
  background: var(--color-optional);
}

.contact__control {
  min-width: 0;
  position: relative;

  @media screen and (max-width: 767px) {
    grid-area: control;
  }
}

.contact__control input,
.contact__control select {
  width: 100%;
  height: 56px;
  color: var(--color-text);
  background: #f0f0f0;
  border: 1px solid #d3d3d3;
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.03em;
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);

  @media screen and (max-width: 767px) {
    height: 48px;
  }
}

.contact__control select {
  appearance: none;
  padding-right: 40px;
}

.contact__control input::placeholder {
  color: #a4a4a4;
}

.contact__control select:has(option[value=""]:checked) {
  color: #a4a4a4;
}

.contact__control:has(select)::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-text);
  border-bottom: 2px solid var(--color-text);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.contact__control input:focus,
.contact__control select:focus {
  border-color: var(--color-blue);
  box-shadow: none;
}

.contact__radios {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.contact__radio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1.4;
}

.contact__radio input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.contact__radio-mark {
  width: 18px;
  height: 18px;
  border: 1px solid #d3d3d3;
  border-radius: 50%;
  background: #f0f0f0;
  position: relative;
  flex-shrink: 0;
}

.contact__radio-mark::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--color-blue);
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.contact__radio input:checked + .contact__radio-mark {
  border-color: var(--color-blue);
}

.contact__radio input:checked + .contact__radio-mark::before {
  opacity: 1;
  transform: scale(1);
}

.contact__radio-text {
  color: var(--color-text);
}

.contact__submit {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.contact__row.is-invalid .contact__control input,
.contact__row.is-invalid .contact__control select {
  border-color: var(--color-required);
  box-shadow: none;
}

.form-alert {
  max-width: 860px;
  margin: 0 auto 20px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  font-weight: 600;
}

.form-alert--error {
  background: var(--color-error-bg);
  color: var(--color-error-text);
  border: 1px solid var(--color-error-border);
}

.form-error {
  margin-top: 8px;
  color: var(--color-required);
  font-size: 1.3rem;
  font-weight: 600;
}

/* ==========================================================================
   Materials download form
========================================================================== */

.contact--materials {
  background: var(--color-white);
}

.contact__form--materials {
  border-radius: 3px;
  border: 1px solid var(--color-main);
  background: var(--color-white);
}

.contact__agree {
  margin-top: 28px;
  text-align: center;
}

.contact__agree-box {
  background: #f0f0f0;
  padding: 20px 30px;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  text-align: left;
}

.contact__agree-desc {
  margin: 0 0 25px;
}

.contact__agree-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact__agree-link {
  position: relative;
  padding-left: 1em;
}

.contact__agree-link::before {
  content: "・";
  position: absolute;
  left: 0;
}

.contact__agree-links a {
  color: var(--color-text);
  text-decoration: underline;
}

.contact__agree-links a:hover {
  color: var(--color-blue);
}

.contact__agree-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  cursor: pointer;
  color: var(--color-text);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}

.contact__agree-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
}

.contact__agree.is-invalid .contact__agree-check input {
  outline: 1px solid var(--color-required);
}

.contact__form--materials .contact__submit .c-btn--img {
  min-width: 280px;

  @media screen and (max-width: 767px) {
    min-width: 0;
    width: 100%;
    max-width: 353px;
  }
}

/* ==========================================================================
   買取額診断（3段階フォーム／FVの入力ボックス／PC右の固定カード／スマホ下の固定ボタン）
   色は既存LPに合わせる：青 #0342ab ／ オレンジ #ef6723
========================================================================== */

/* ----- 診断フォーム本体 ----- */
.dg {
  background: linear-gradient(142deg, #035dab 0%, #0342ab 100%);
  padding: 56px 0 64px;
  font-feature-settings: "palt";
  scroll-margin-top: 80px;
}
.dg *, .dgk *, .dgf *, .dgv * { box-sizing: border-box; }
.dg__inner { max-width: 640px; margin: 0 auto; padding: 0 16px; text-align: center; color: #fff; }
.dg__en { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: rgba(255,255,255,.55); }
.dg__ttl { margin: 6px 0 10px; font-size: 28px; line-height: 1.35; font-weight: 800; color: #fff; }
.dg__ttl span { display: inline-block; margin-top: 6px; font-size: 20px; color: #ffd36a; }
.dg__badge { display: inline-block; margin: 0 0 22px; padding: 5px 16px; border-radius: 999px; background: #fff; color: #0342ab; font-size: 14px; font-weight: 700; }
.dg__badge b { color: #ef6723; font-size: 16px; }
.dg__alt { margin: 18px 0 0; font-size: 14px; }
.dg__alt a { color: #fff; font-size: 22px; font-weight: 800; text-decoration: none; letter-spacing: .02em; }

.dg-form { background: #fff; color: #333; border-radius: 14px; padding: 22px 22px 26px; text-align: left; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.dg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dg-steps { display: flex; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; counter-reset: s; }
.dg-steps li { flex: 1; text-align: center; font-size: 12px; font-weight: 700; color: #8b94a7; padding-top: 8px; border-top: 4px solid #dfe5f2; }
.dg-steps li.is-on { color: #0342ab; border-top-color: #ef6723; }
.dg-alert { margin: 0 0 14px; padding: 10px 12px; border-radius: 8px; background: #fff0ee; color: #b03030; font-size: 13px; font-weight: 700; }

.dg-f { display: block; margin: 0 0 16px; font-size: 14px; font-weight: 700; color: #222; }
.dg-f__label { display: block; margin-bottom: 6px; }
.dg-f em { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 3px; background: #b03030; color: #fff; font-size: 11px; font-style: normal; font-weight: 700; vertical-align: 1px; }
.dg-f em.is-opt { background: #6c7883; }
.dg-f small { display: block; margin-top: 5px; font-size: 12px; font-weight: 400; color: #636d7d; }
.dg-f input[type=text], .dg-f input[type=tel], .dg-f input[type=email], .dg-f input[type=number], .dg-f select {
  display: block; width: 100%; margin-top: 6px; padding: 13px 12px; border: 1.5px solid #ccc; border-radius: 8px; background: #fff; font-size: 16px; font-weight: 400; color: #333; -webkit-appearance: none; appearance: none;
}
.dg-f select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230342ab' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.dg-f input:focus, .dg-f select:focus { outline: none; border-color: #0342ab; box-shadow: 0 0 0 3px rgba(3,66,171,.15); }
.dg-f.is-bad input, .dg-f.is-bad select { border-color: #b03030; background: #fff8f7; }
.dg-num { position: relative; display: block; }
.dg-num input { padding-right: 48px; font-size: 22px; font-weight: 800; }
.dg-num i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 700; color: #0342ab; }
.dg-f .dg-num input { margin-top: 0; }

.dg-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dg-chips--2 { grid-template-columns: repeat(2, 1fr); }
.dg-chips label { position: relative; display: block; margin: 0; }
.dg-chips input { position: absolute; opacity: 0; pointer-events: none; }
.dg-chips span { display: block; padding: 12px 4px; text-align: center; border: 1.5px solid #ccc; border-radius: 8px; font-size: 14px; font-weight: 700; color: #333; cursor: pointer; background: #fff; }
.dg-chips input:checked + span { border-color: #0342ab; background: #eaf1ff; color: #0342ab; box-shadow: inset 0 0 0 1px #0342ab; }
.dg-chips input:focus-visible + span { outline: 3px solid rgba(3,66,171,.3); }

.dg-btn { display: block; width: 100%; margin-top: 6px; padding: 16px 12px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #ff8a45, #ef6723); box-shadow: 0 4px 0 #c04a0f; color: #fff; font-size: 18px; font-weight: 800; letter-spacing: .03em; cursor: pointer; }
.dg-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #c04a0f; }
.dg-btn[disabled] { opacity: .6; pointer-events: none; }
.dg-back { display: block; margin: 14px auto 0; background: none; border: 0; color: #636d7d; font-size: 13px; text-decoration: underline; cursor: pointer; }
.dg-note { margin: 10px 0 0; text-align: center; font-size: 12px; color: #636d7d; }
.dg-note a { color: #0342ab; }
.dg-err { margin: 0 0 8px; color: #b03030; font-size: 13px; font-weight: 700; text-align: center; }
.dg-p3lead { margin: 0 0 16px; font-size: 14px; line-height: 1.7; }
.dg-p3lead b { color: #0342ab; }
.dg-pane[hidden], .dg [hidden] { display: none !important; }

.dg-result { text-align: center; padding: 18px 8px 16px; border-radius: 12px; background: #f1f5fd; border: 2px solid #cfdcf6; }
.dg-r-label { margin: 0; font-size: 14px; font-weight: 700; color: #0342ab; }
.dg-r-amt { margin: 4px 0 2px; font-weight: 900; color: #0342ab; line-height: 1.2; font-size: 38px; letter-spacing: .01em; }
.dg-r-amt i { font-style: normal; margin: 0 4px; font-size: 26px; }
.dg-r-amt small { font-size: 18px; margin-left: 3px; }
.dg-r-sub { margin: 0; font-size: 13px; color: #636d7d; }
.dg-r-fast { margin: 12px 0 0; font-size: 15px; font-weight: 700; }
.dg-r-fast b { color: #ef6723; font-size: 18px; }
.dg-r-cap { margin: 10px 2px 14px; font-size: 12px; color: #636d7d; line-height: 1.6; }

/* ----- FV：売掛金を入れて診断 ----- */
.dgv { max-width: 640px; margin: 4px auto 20px; padding: 16px 16px 12px; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(3,66,171,.18); text-align: center; color: #0342ab; }
.dgv__lead { margin: 0 0 10px; font-size: 14px; font-weight: 700; line-height: 1.5; }
.dgv__lead span { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px; background: #ef6723; color: #fff; font-size: 12px; }
.dgv__lead b { font-size: 20px; font-weight: 900; }
.dgv__box { display: flex; gap: 10px; align-items: stretch; }
.dgv__in { position: relative; flex: 0 0 44%; display: flex; align-items: center; gap: 6px; padding: 0 12px; border: 2px solid #0342ab; border-radius: 10px; background: #fff; }
.dgv__in span { font-size: 12px; font-weight: 800; color: #0342ab; white-space: nowrap; }
.dgv__in input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; padding: 12px 0; font-size: 22px; font-weight: 900; text-align: right; color: #333; }
.dgv__in i { flex: none; white-space: nowrap; font-style: normal; font-size: 13px; font-weight: 800; }
.dgv__in span { flex: none; }
.dgv__btn { flex: 1; border: 0; border-radius: 10px; background: linear-gradient(180deg, #ff8a45, #ef6723); box-shadow: 0 3px 0 #c04a0f; color: #fff; font-size: 16px; font-weight: 800; padding: 12px 8px; cursor: pointer; line-height: 1.3; }
.dgv__note { margin: 8px 0 0; font-size: 11px; color: #636d7d; }

/* ----- PC：右に固定する診断カード（1280px以上） ----- */
.dgk { position: fixed; right: 20px; top: 96px; width: 300px; z-index: 900; color: #0342ab; font-feature-settings: "palt"; transition: transform .35s ease, opacity .35s ease; }
.dgk[hidden] { display: none; }
.dgk.is-hide { transform: translateX(120%); opacity: 0; pointer-events: none; }
.dgk__box { background: #fff; border-radius: 14px; box-shadow: 0 12px 36px rgba(3,66,171,.25); overflow: hidden; }
.dgk__hd { position: relative; margin: 0; padding: 11px 34px 11px 12px; background: #0342ab; color: #fff; text-align: center; font-size: 13px; font-weight: 800; }
.dgk__x { position: absolute; right: 8px; top: 8px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(255,255,255,.2); color: #fff; font-size: 14px; line-height: 24px; padding: 0; cursor: pointer; }
.dgk__bd { padding: 14px 16px 12px; }
.dgk__sub { margin: 0; text-align: center; font-size: 13px; font-weight: 800; }
.dgk__tt { margin: 2px 0 10px; text-align: center; font-size: 24px; font-weight: 900; }
.dgk__pg { display: flex; justify-content: center; gap: 6px; margin-bottom: 12px; }
.dgk__pg i { width: 30px; height: 4px; border-radius: 2px; background: #dfe5f2; }
.dgk__pg i.is-on { background: #ef6723; }
.dgk__q { margin: 0 0 10px; text-align: center; font-size: 15px; font-weight: 900; }
.dgk__ch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dgk__ch.c3 { grid-template-columns: 1fr; }
.dgk__ch button { padding: 11px 4px; border: 1.5px solid #cfdcf6; border-radius: 10px; background: #fff; color: #0342ab; font-size: 14px; font-weight: 800; cursor: pointer; }
.dgk__ch button:hover { border-color: #ef6723; background: #fff7f1; }
.dgk__num { position: relative; display: block; margin-top: 8px; }
.dgk__num input { width: 100%; padding: 12px 40px 12px 12px; border: 1.5px solid #cfdcf6; border-radius: 10px; font-size: 16px; color: #333; }
.dgk__num input:focus { outline: none; border-color: #0342ab; }
.dgk__num i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 13px; font-weight: 800; }
.dgk__err { margin: 6px 0 0; color: #b03030; font-size: 12px; font-weight: 700; text-align: center; }
.dgk__go { display: block; width: 100%; margin-top: 8px; padding: 12px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #ff8a45, #ef6723); box-shadow: 0 3px 0 #c04a0f; color: #fff; font-size: 15px; font-weight: 800; cursor: pointer; }
.dgk__back { display: block; margin: 8px auto 0; background: none; border: 0; color: #7a86a3; font-size: 12px; text-decoration: underline; cursor: pointer; }
.dgk__tel { margin-top: 12px; padding-top: 10px; border-top: 1px solid #e6eaf3; text-align: center; }
.dgk__tel a { color: #0342ab; font-size: 22px; font-weight: 900; text-decoration: none; }
.dgk__tel small { display: block; font-size: 11px; color: #6b7590; }
.dgk-tab { position: fixed; right: 0; top: 45%; z-index: 900; writing-mode: vertical-rl; padding: 16px 10px; border: 0; border-radius: 10px 0 0 10px; background: linear-gradient(180deg, #ff8a45, #ef6723); color: #fff; font-size: 15px; font-weight: 900; letter-spacing: .12em; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.dgk-tab[hidden] { display: none; }
.dgk-tab small { font-size: 11px; color: #fff3c4; }
@media (max-width: 1279px) { .dgk, .dgk-tab { display: none !important; } }

/* ----- スマホ：下に固定するボタン ----- */
.dgf { display: none; }
@media (max-width: 767px) {
  .dgf { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); box-shadow: 0 -4px 14px rgba(0,0,0,.12); transition: transform .3s ease; }
  .dgf.is-hide { transform: translateY(110%); }
  .dgf__main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 6px; border-radius: 999px; background: linear-gradient(180deg, #ff8a45, #ef6723); box-shadow: 0 3px 0 #c04a0f; color: #fff; font-size: 17px; font-weight: 800; line-height: 1.2; text-decoration: none; }
  .dgf__main small { font-size: 11px; font-weight: 700; color: #fff3c4; }
  .dgf__tel { flex: 0 0 76px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: #0342ab; color: #fff; font-size: 15px; font-weight: 800; text-decoration: none; }
  body { padding-bottom: 76px; }
  .dg { padding: 40px 0 48px; }
  .dg__ttl { font-size: 24px; }
  .dg__ttl span { font-size: 18px; }
  .dg-form { padding: 18px 16px 22px; }
  .dg-r-amt { font-size: 32px; }
  .dgv { margin: 2px 12px 16px; padding: 14px 12px 10px; }
  .dgv__lead b { display: block; font-size: 19px; }
  .dgv__box { flex-direction: column; }
  .dgv__in { flex: none; }
}

/* 追加部品：先月の実行実績・安心ポイント・入金額の目安（既存のデザインの色・形に合わせる） */
.nb { display: inline-block; }
.rs, .as, .es { font-feature-settings: "palt"; }
.rs *, .as *, .es * { box-sizing: border-box; }
.rs { background: #fff; padding: 48px 0 40px; }
.as { background: var(--color-sub, #e9ecf4); padding: 48px 0 52px; }
.es { background: #fff; padding: 56px 0 56px; }
.rs__head { text-align: center; margin: 0 0 24px; }
.rs__en { display: block; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--color-orange, #ef6723); }
.rs__title { margin: 4px 0 0; font-size: clamp(22px, 5.6vw, 30px); line-height: 1.4; font-weight: 800; color: var(--color-main, #0342ab); }
.rs__cards { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 760px; margin: 0 auto; }
.rs__card { position: relative; background: #fff; border: 2px solid var(--color-main, #0342ab); border-radius: 12px; padding: 22px 16px 20px; text-align: center; box-shadow: var(--shadow-card, 0 0 8px rgba(0,0,0,.1)); }
.rs__tag { display: inline-block; padding: 4px 16px; border-radius: 999px; background: var(--color-main, #0342ab); color: #fff; font-size: 13px; font-weight: 700; }
.rs__tag--or { background: var(--color-orange, #ef6723); }
.rs__cap { margin: 12px 0 2px; font-size: 14px; font-weight: 700; color: var(--color-text-soft, #636d7d); }
.rs__num { margin: 0; font-size: clamp(30px, 9vw, 44px); line-height: 1.2; font-weight: 800; color: var(--color-main, #0342ab); letter-spacing: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rs__sub { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: var(--color-text, #333); display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px; }
.rs__sub b { font-size: 18px; color: var(--color-main, #0342ab); }
.rs__ok { color: var(--color-orange, #ef6723); }
.rs__gauge { height: 12px; margin: 14px auto 0; max-width: 300px; border-radius: 999px; background: #dfe5f2; overflow: hidden; }
.rs__gauge-bar { display: block; height: 100%; width: var(--w, 0%); border-radius: 999px; background: linear-gradient(90deg, #f6a23a, #ef6723); }
.rs__note { margin: 16px 0 0; text-align: center; font-size: 12px; color: var(--color-text-soft, #636d7d); }
@media (min-width: 768px) {
  .rs { padding: 64px 0 52px; }
  .rs__cards { grid-template-columns: 1fr 1fr; gap: 24px; }
  .rs__card { padding: 28px 20px 26px; }
}

.as__list { list-style: none; margin: 0 auto; padding: 0; max-width: 960px; display: grid; grid-template-columns: 1fr; gap: 14px; }
.as__item { position: relative; background: #fff; border-radius: 12px; padding: 18px 16px 18px 64px; box-shadow: var(--shadow-card, 0 0 8px rgba(0,0,0,.1)); }
.as__ic { position: absolute; left: 16px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--color-main, #0342ab); color: #fff; font-size: 18px; font-weight: 800; line-height: 36px; text-align: center; }
.as__ttl { margin: 0 0 6px; font-size: 17px; line-height: 1.5; font-weight: 800; color: var(--color-main, #0342ab); }
.as__txt { margin: 0; font-size: 14px; line-height: 1.7; color: var(--color-text, #333); }
@media (min-width: 768px) {
  .as { padding: 64px 0 68px; }
  .as__list { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .as__item { padding: 70px 20px 22px; text-align: center; }
  .as__ic { left: 50%; top: 20px; transform: translateX(-50%); width: 40px; height: 40px; line-height: 40px; }
}

.es__lead { margin: 10px 0 0; font-size: 14px; color: var(--color-text, #333); }
.es__wrap { max-width: 760px; margin: 0 auto; }
.es__tbl { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid #cfd8ea; border-radius: 12px; overflow: hidden; font-size: 14px; text-align: center; }
.es__tbl th, .es__tbl td { padding: 14px 6px; border-bottom: 1px solid #e3e9f4; }
.es__tbl thead th { background: var(--color-main, #0342ab); color: #fff; font-weight: 700; font-size: 13px; }
.es__tbl tbody th { background: var(--color-sub, #e9ecf4); color: var(--color-text, #333); font-weight: 700; }
.es__tbl tbody tr:last-child th, .es__tbl tbody tr:last-child td { border-bottom: 0; }
.es__tbl td b { font-size: clamp(15px, 4.2vw, 20px); color: var(--color-main, #0342ab); font-weight: 800; }
.es__note { margin: 14px auto 0; max-width: 760px; font-size: 12px; line-height: 1.7; color: var(--color-text-soft, #636d7d); }
@media (min-width: 768px) {
  .es__tbl { font-size: 16px; }
  .es__tbl th, .es__tbl td { padding: 18px 10px; }
  .es__tbl thead th { font-size: 15px; }
}

/* 1〜2文字だけ次の行に落ちないように */
.as__txt, .es__lead, .es__note, .rs__note, .as__ttl { text-wrap: balance; }
.as__txt { max-width: 22em; margin-left: auto; margin-right: auto; }
@media (max-width: 767px) { .as__txt { margin-left: 0; max-width: none; text-wrap: pretty; } }

.gd { background: #fff; padding: 48px 0 52px; font-feature-settings: "palt"; }
.gd * { box-sizing: border-box; }
.gd__list { list-style: none; margin: 0 auto; padding: 0; max-width: 960px; display: grid; grid-template-columns: 1fr; gap: 14px; }
.gd__item { background: var(--color-sub, #e9ecf4); border-radius: 12px; padding: 18px 18px 18px; border-left: 5px solid var(--color-main, #0342ab); }
.gd__ttl { margin: 0 0 6px; font-size: 17px; line-height: 1.5; font-weight: 800; color: var(--color-main, #0342ab); text-wrap: balance; }
.gd__txt { margin: 0; font-size: 14px; line-height: 1.75; color: var(--color-text, #333); text-wrap: balance; }
@media (min-width: 768px) {
  .gd { padding: 64px 0 68px; }
  .gd__list { grid-template-columns: 1fr 1fr; gap: 18px; }
}

/* 1〜2文字だけ次の行に落ちるのを防ぐ（既存の文章にも） */
main h2,main h3,main h4,main p,main li,main dt,main dd,main summary,main a,main span{text-wrap:pretty}
.reason__answer-text{text-wrap:balance}
.dgk-tab{white-space:nowrap}
.dg__ttl span{white-space:nowrap}

/* ==========================================================================
   Footer
========================================================================== */

.footer {
  background: var(--color-blue);
  color: var(--color-white);
  text-align: center;
  padding: 28px 16px;
}

.footer__copy {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 8px;
  font-size: 1.3rem;
}

.footer__nav a:hover {
  opacity: 0.75;
}

.footer__sep {
  opacity: 0.5;
}

/* ==========================================================================
   Confirm
========================================================================== */

.confirm {
  padding: 48px 0 80px;
}

.confirm__box {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 40px 48px;
  max-width: 860px;
  margin-inline: auto;

  @media screen and (max-width: 767px) {
    padding: 24px 16px;
  }
}

.confirm__list {
  display: grid;
  gap: 0;
}

.confirm__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);

  @media screen and (max-width: 767px) {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.confirm__row dt {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-blue);
}

.confirm__row dd {
  font-size: 1.5rem;
  word-break: break-all;
}

.confirm__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;

  @media screen and (max-width: 767px) {
    flex-direction: column;
    align-items: stretch;
  }
}

.confirm__actions .c-btn--outline,
.confirm__actions .c-btn--img {
  flex: 1 1 calc(50% - 8px);
  min-width: 0;
  width: auto;

  @media screen and (max-width: 767px) {
    flex: 1 1 auto;
  }
}

/* ==========================================================================
   Thanks
========================================================================== */

.thanks {
  width: 100%;
  min-height: calc(100svh - var(--header-h) - 96px);
  display: flex;
  justify-content: center;
  padding: 114px 0 120px;
  text-align: center;
  box-sizing: border-box;

  @media screen and (max-width: 767px) {
    padding: 50px 0;
  }
}

.thanks__title {
  color: var(--color-main);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 0.02em;
  margin-bottom: 40px;

  @media screen and (max-width: 767px) {
    font-size: 2.8rem;
    margin-bottom: 30px;

    @media screen and (max-width: 414px) {
      font-size: calc(100vw * 28 / 414);
    }
  }
}

.thanks__lead {
  color: var(--color-text);
  text-align: center;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 175%;

  @media screen and (max-width: 767px) {
    font-size: 1.4rem;

    @media screen and (max-width: 414px) {
      font-size: calc(100vw * 14 / 414);
    }
  }
}


.review {
  width: 800px;
  margin-top: 40px;

  @media screen and (max-width: 767px) {
      width: 82%;
      margin: 0 auto;
      margin-top: 40px;

    @media screen and (max-width: 414px) {
      width: 100%;
      margin-top: 30px;
    }
  }
}
.review_box {
  position: relative;

  @media screen and (max-width: 767px) {
    position: relative;

    @media screen and (max-width: 414px) {
      position: relative;
    }
  }
}
.review_btn {
  position: absolute;
  right: 0px;
  left: 0px;
  bottom: 23px;
  margin: 0px auto;
  width: 750px;

  @media screen and (max-width: 767px) {
    position: absolute;
    right: 0;
    left: 0;
    bottom: -120px;
    margin: 0 auto;
    width: 72%;

    @media screen and (max-width: 414px) {
      position: absolute;
      right: 0;
      left: 0;
      bottom: 5%;
      margin: 0 auto;
      width: 86%;
    }
  }
}
.review_btn a {
  transition: opacity 0.3s ease; 

  @media screen and (max-width: 767px) {
    transition: opacity 0.3s ease; 

    @media screen and (max-width: 414px) {
      transition: opacity 0.3s ease; 
    }
  }
}
.review_btn a:hover {
  opacity: 0.7;

  @media screen and (max-width: 767px) {
   opacity: 0.7;

    @media screen and (max-width: 414px) {
      opacity: 0.7;
    }
  }
}
/* ==========================================================================
   Privacy
========================================================================== */

.privacy {
  padding: 64px 0 100px;
  background: var(--color-white);

  @media screen and (max-width: 767px) {
    padding: 48px 0 72px;
  }
}

.privacy__inner {
  max-width: 860px;
}

.privacy__heading {
  color: var(--color-blue);
  font-size: clamp(2.4rem, 2rem + 1vw, 3.2rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.06em;
  margin-bottom: 48px;

  @media screen and (max-width: 767px) {
    margin-bottom: 32px;
  }
}

.privacy__body {
  color: var(--color-text);
  font-size: 1.4rem;
  line-height: 1.9;
}

.privacy__body p {
  margin: 0;
}

/* ==========================================================================
   Company
========================================================================== */

.company {
  padding: 64px 0 100px;
  background: var(--color-white);

  @media screen and (max-width: 767px) {
    padding: 48px 0 72px;
  }
}

.company__heading {
  color: var(--color-main);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 160%;
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: 40px;

  @media screen and (max-width: 767px) {
    font-size: 2.8rem;
    margin-bottom: 28px;

    @media screen and (max-width: 414px) {
      font-size: calc(100vw * 28 / 414);
    }
  }
}

.company__heading--map {
  color: var(--color-main);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 160%;
  letter-spacing: 0.02em;
  margin-top: 72px;

  @media screen and (max-width: 767px) {
    font-size: 1.8rem;
    margin-top: 48px;

    @media screen and (max-width: 414px) {
      font-size: calc(100vw * 18 / 414);
    }
  }
}

.company__table {
  display: grid;
  gap: 24px;

  @media screen and (max-width: 767px) {
    gap: 16px;
  }
}

.company__row {
  display: grid;
  gap: 8px;
}

.company__label,
.company__value {
  padding: 0.8rem 1.6rem;
  color: var(--color-text);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0.05em;
}

.company__label {
  background: #f5f5f5;
}

.company__value a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.company__value a:hover {
  opacity: 0.75;
}

.company__list {
  display: grid;
  gap: 4px;
}

.company__list li {
  list-style: none;
}

.company__map {
  overflow: hidden;
  border-radius: 4px;
  background: var(--color-white);
  aspect-ratio: 2 / 1;
}

.company__map iframe {
  display: block;
  width: 100%;
  height: 100%;
}
