@charset "utf-8";

*,
*::after,
*::before {
  box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  padding: 0;
  margin: 0;
  outline: 0;
  border: 0;
}

body {
  font-family: "M PLUS 1p", sans-serif;
  line-height: 1.5;
  color: #333;
  background-color: #ccc;
}

a {
  color: #333;
  text-decoration: none;

  &:has(img) {
    transition: filter 0.3s ease;

    @media (any-hover: hover) {
      &:hover {
        filter: opacity(.7);
      }
    }
  }
}

button,
input,
select,
textarea {
  font-size: 100%;
  outline: 0;
}

ol,
ul {
  list-style: none;
}

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

.spacer {
  display: none;
}

.body_wrap_container {
  background-color: #fff;
}

.pc--none {
  @media (width >=768px) {
    display: none;
  }
}

.sp--none {
  @media (width <=767px) {
    display: none;
  }
}

/* -----------------------------------------------------
	ヘッダー
----------------------------------------------------- */
.header {
  background-color: #fff;

  @media (width >=768px) {
    position: sticky;
    top: 0;
    z-index: 10;
  }
}

.header-inner {
  display: flex;
  gap: 6.875svw;
  align-items: center;
  justify-content: space-between;
  padding-inline-start: 8px;

  @media (width >=768px) {
    width: 83.34svw;
    padding-block: 15px;
    margin-inline: auto;
  }
}

.header-logo {
  line-height: 1;

  img {
    @media (width >=768px) {
      max-width: 320px;
    }

    @media (width <=767px) {
      width: 600px;
      padding-bottom: 2px;
    }
  }
}

.header-tel {
  img {
    @media (width >=768px) {
      max-width: 230px;
    }
  }
}

/* -----------------------------------------------------
	メインビジュアル
----------------------------------------------------- */

.hero_image_inner {
  max-width: 1200px;
  margin-inline: auto;
}

/* -----------------------------------------------------
	キャンペーンバナー
----------------------------------------------------- */
.campaign_banner {
  padding: 30px 15px;
  text-align: center;

  @media (width >=768px) {
    padding-block: 80px;
  }


  img {
    width: min(100%, 570px);
  }
}

/* -----------------------------------------------------
	CTA
----------------------------------------------------- */
.cta {
  padding: 14px 10px 30px;
  background-image: url("../image/conversion/cta_bg_sp.png");
  background-repeat: no-repeat;
  background-size: cover;

}

.cta_inner {
  max-width: 1080px;
  margin-inline: auto;
}

.cta_title {
  padding-block: 20px;

  @media (width >=768px) {
    display: none;
  }
}

.hero_first {
  position: relative;

  @media (width <=767px) {
    margin-block-start: -9.85svw;
  }

  .cta {
    padding: 50px 10px;
    background-image: url("../image/conversion/cta_bg_first_sp.png");


    @media (width >=768px) {
      background-image: url("../image/conversion/cta_bg_first_pc.webp");
    }
  }

}

.cta_contact_pc {
  padding-block-end: 4.4svw;
  background-image: url("./image/campaign/cta_pc_bg_pattern.webp");
  background-size: 50% auto;
}

.cta_contact_pc_inner {
  position: relative;
  width: 75%;
  margin-inline: auto;
}

.cta_contact_items_pc {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 1;
  display: flex;
  gap: 3.6%;
  width: 70.7%;
}

.cta_contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px 10px 30px;
  text-align: left;
  background-color: #fff;
  border-radius: 8px;

  @media (width >=768px) {
    flex-flow: row wrap;
    gap: 20px 0;
    justify-content: space-between;
    padding: 30px 50px;
  }
}

.cta_contact_bnr {
  @media (width >=768px) {
    width: min(48.6%, 476px);
  }
}

/* -----------------------------------------------------
	選べるお支払い方法
----------------------------------------------------- */
.payment_methods {
  padding: 30px 10px;
  background-color: #ffeaea;

  @media (width >=768px) {
    padding-block: 74px;
  }
}

.payment_methods_title {
  margin-block-end: 12px;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  letter-spacing: .05em;

  @media (width >=768px) {
    margin-block-end: 30px;
    font-size: 40px;
  }
}

.payment_method__bnrs {
  display: flex;
  gap: 15px 32px;
  max-width: 1080px;
  margin-inline: auto;

  @media (width <=767px) {
    flex-direction: column;

  }


  @media (width >=768px) {
    justify-content: center;
  }
}

.payment_method__bnr {
  @media (width >=768px) {
    width: min(48.52%, 524px);
  }
}

/* -----------------------------------------------------
	作業事例
----------------------------------------------------- */
.case_image {
  filter: drop-shadow(0 4px 4px rgb(0 0 0 / .25));
}

/* -----------------------------------------------------
	動画
----------------------------------------------------- */
.video {
  padding: 80px 10px 70px;
  margin-block: -54px 60px;
  background-image: url("../image/content/dougahaikei_fuyouhin_sp.webp");
  background-repeat: no-repeat;
  background-size: cover;

  @media (width >=768px) {
    margin-block-start: -11svw;
    background-image: url("../image/content/dougahaikei_fuyouhin_pc.webp");
  }


  iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
  }
}

.video_title {
  margin-block-end: 24px;

  @media (width >=768px) {
    width: 70.84svw;
    padding-block-start: 12.5svw;
    margin-inline: auto;
  }

}

.video_content {
  @media (width >=768px) {

    width: 55.5svw;
    margin-inline: auto;
  }

}


/* -----------------------------------------------------
	サービス
----------------------------------------------------- */


.service_title {
  padding-block-end: 30px;
  font-size: 24px;
  color: #ff364c;
  text-align: center;

  @media (width >=768px) {
    font-size: 48px;
  }
}

.service_items {
  @media (width >=768px) {
    width: 75svw;
    margin: 0 auto 100px;
  }
}

.service_inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 50px 10px;
  background-color: rgb(255 133 124 / .2);
  background-image: url("../image/content/reason_bg_pattern.png");
  background-size: contain;

  @media (width >=768px) {
    padding-block-start: 80px;
    background-size: 50%;
  }
}

.service_distinction,
.service_reason {
  @media (width <=767px) {
    padding-inline: 10px;
  }

  @media (width >=768px) {
    width: 75svw;
    margin-inline: auto;
  }
}

/* -----------------------------------------------------
	お客様の声
----------------------------------------------------- */
.voice {
  padding-block-end: 44px;
}

.voice_title {
  padding-block: 44px 25px;
  font-size: 24px;
  text-align: center;

  @media (width >=768px) {
    font-size: 48px;
  }
}

.voice_items {
  padding-inline: 10px;

  @media (width >=768px) {
    max-width: 1080px;
    margin-inline: auto;
  }
}

/* -----------------------------------------------------
  作業完了までの流れ
----------------------------------------------------- */
.flow {
  padding-block: 44px;
  background-color: #f2fbff;
}

.flow_title {
  padding-block-end: 22px;
  font-size: min(4.25svw, 30px);
  color: #ff374d;
  text-align: center;
  letter-spacing: 0.08em;

  @media (width >=768px) {
    padding-block-end: 112px;
  }
}

.flow_items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-inline: min(4svw, 32px) 10px;

  @media (width >=768px) {
    gap: 80px;
  }

  .flow_item:first-of-type {
    .flow_number {
      background-color: #ff8a80;
    }
  }

  .flow_item:nth-of-type(2) {
    .flow_number {
      background-color: #f66;
    }
  }


  .flow_item:nth-last-of-type(2) {
    .flow_number {
      background-color: #ff4c5a;
    }
  }

  .flow_item:last-of-type {
    .flow_number {
      background-color: #ff2e4d;
    }
  }
}

.flow_item {
  position: relative;
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px 15px 15px 40px;
  background-color: #fff;
  border: solid 3px #ff8a80;
  border-radius: 20px;

  @media (width >=768px) {
    gap: 30px;
    max-width: 525px;
    padding: 75px 15px 75px 40px;
    margin-inline: auto;
  }
}

.flow_time {
  padding: 10px;
  font-weight: 900;
  color: #fff;
  text-align: center;
  background-color: #ff4c5a;
  border-radius: 100px;

  @media (width >=768px) {
    width: min(716px, 100%);
    margin-inline: auto;
  }
}

.flow_number {
  position: absolute;
  left: 0;
  align-content: center;
  width: 44px;
  aspect-ratio: 1/1;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-align: center;
  background-color: #ff8a80;
  border-radius: 50%;
  transform: translateX(calc(-50% + 5px));

  @media (width >=768px) {
    top: 0;
    right: 0;
    left: 0;
    width: 88px;
    margin-inline: auto;
    font-size: 42px;
    transform: translate(0, -50%);
  }
}

.flow_icon {
  width: 60px;

  @media (width >=768px) {
    width: 114px;
  }
}

.flow_body {
  width: fit-content;
  font-size: min(2vw, 1rem);
}

.flow_item_title {
  margin-block-end: 12px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.05em;

  @media (width >=768px) {
    font-size: 32px;
  }
}

.flow_item_desc {
  font-size: 16px;

  @media (width >=768px) {
    font-size: 24px;
  }
}

/* -----------------------------------------------------
	よくある質問
----------------------------------------------------- */
.faq {
  padding-block: 44px;
}

.faq_title {
  padding-block-end: 30px;
  font-size: 24px;
  text-align: center;

  @media (width >=768px) {

    font-size: 48px;
  }

}

.faq_items {
  width: min(100%, 800px);
  margin-inline: auto;

  @media (width<=767px) {
    padding-inline: 20px;
  }
}

.faq_item {
  &:not(:last-of-type) {
    margin-block-end: 24px;
    border-bottom: solid 1px #a1a1a1;
  }

  dt,
  dd {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
  }

  dt {
    padding: 18px;
    background-color: #ffb1ae;
    border-radius: 40px;
  }

  dd {
    padding: 18px;
  }

}

.faq_mark {
  align-content: center;
  width: 46px;
  aspect-ratio: 1/1;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  border-radius: 50%;
}

.faq_mark--q {
  color: #fff;
  background-color: #ff364c;
  border: solid 1px#ff364c;
}

.faq_mark--a {
  color: #ff364c;
  border: solid 1px#ff364c;
}

.faq_text {
  width: calc(100% - 46px);

  @media (width >=768px) {
    font-size: 24px;
  }
}

/* -----------------------------------------------------
	お問合せフォーム
----------------------------------------------------- */
.contact_form {

  @media (width >=768px) {
    max-width: 1000px;
    margin-inline: auto;
  }
}

.contact_form_title {
  padding-block-end: 30px;
  font-size: 24px;
  text-align: center;

  @media (width >=768px) {
    font-size: 48px;

  }

}

/* -----------------------------------------------------
	フッター
----------------------------------------------------- */
.footer {
  margin-block-start: 50px;
  background: #f0f0f0;
}

.footer_sitemap {
  padding-block: 20px;
}

.footer_sitemap_list {
  display: flex;
  justify-content: center;
  list-style: none;

  li {
    a {
      margin: 0 1em;
      font-size: 14px;
      color: #333;
    }

    :last-child {
      ::before {
        content: "｜";
      }
    }
  }
}

.footer_copyright {
  z-index: 10;
  padding-block: 30px;
  font-size: 12px;
  color: #222;
  text-align: center;
  background: #f0f0f0;
}

/* ----------------------------------------------------------------------
ローディング
---------------------------------------------------------------------- */
@keyframes load8 {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes PageAnime {
  0% {
    transform: scaleX(0);
    transform-origin: left;
  }

  50% {
    transform: scaleX(1);
    transform-origin: left;
  }

  50.001% {
    transform-origin: right;
  }

  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}

@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.appear-container {
  background-color: #fff;
  opacity: 0;
}

.loader {
  --loader-size: 50px;

  position: relative;
  width: var(--loader-size);
  aspect-ratio: 1 / 1;
  margin: 60px auto;
  font-size: 5px;
  text-indent: -9999em;
  border: 3px solid rgb(3 110 183 / 0.2);
  border-top-color: #267adf;
  border-radius: 50%;
  transform: translateZ(0);
  animation: load8 1.1s infinite linear;

  &::after {
    width: var(--loader-size);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
  }
}


/* ========= ローディング画面のためのCSS =============== */
#splash2,
#splash {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  color: #fff;
  text-align: center;
  background: #fff;
}

#splash-logo2,
#splash-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (width <=767px) {
  #splash {
    margin-top: 0;
  }
}

/* ========= 画面遷移のためのCSS =============== */
.splashbg {
  display: none;
}

.appear .splashbg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: block;
  width: 120%;
  height: 100vh;
  content: "";
  background-color: #267adf;
  transform: scaleX(0);
  animation: PageAnime 1.2s ease-in-out forwards;
}

@media (width <=767px) {
  .appear .splashbg {
    width: 200%;
    animation-duration: 1.0s;
  }
}

.appear .appear-container {
  opacity: 0;
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
}

.appear2 .appear-container {
  opacity: 0;
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

/* ----------------------------------------------------------------------
下層ページ共通
---------------------------------------------------------------------- */
.breadcrumbs {
  padding-inline: 20px;
  font-size: 14px;
}

.page-title {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-block: 32px 50px;
  font-size: 20px;
  font-weight: 700;
  color: #1e2d3c;
  text-align: center;

  &::after {
    display: block;
    width: 96px;
    height: 6px;
    margin-inline: auto;
    content: "";
    background-color: #ff4c5b;
    border-radius: 6px;
  }
}


/* ----------------------------------------------------------------------
プライバシーポリシー
---------------------------------------------------------------------- */

.privacy-policy__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-inline: 20px;
  margin-block-start: 40px;

  >dl {

    >dt,
    >dd {
      font-size: 14px;
    }

    >dt {
      margin-block-end: 10px;
      font-weight: 700;
    }
  }
}

.privacy-policy__address {
  padding: 25px;
  margin-block-start: 50px;
  font-size: 14px;
  font-style: normal;
  border: solid 1px #ccc;
}