/* =========================================================
   FASCIA LP
   PC: pc_*.jpg / SP: sp_*.jpg
   Breakpoint: 767px
   ========================================================= */

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #fff;
  color: #49382d;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
}

#fascia-lp,
#fascia-lp * {
  box-sizing: border-box;
}

#fascia-lp {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  overflow: clip;
}

#fascia-lp .fascia-lp__canvas {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  background: #fff;
  line-height: 0;
}

#fascia-lp picture,
#fascia-lp .fascia-lp__image-link,
#fascia-lp .fascia-lp__contact-card,
#fascia-lp .fascia-lp__fixed-link {
  display: block;
}

#fascia-lp a {
  text-decoration: none;
}

#fascia-lp img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 0;
  border: 0;
}

/* ---------- CTA ---------- */
.fascia-lp__cta {
  width: 100%;
  line-height: 0;
}

.fascia-lp__cta .fascia-lp__image-link {
  width: 80%;
  margin: 0 auto;
}

.fascia-lp__cta--first .fascia-lp__image-link {
  margin-top: -12%;
  position: relative;
  z-index: 2;
}

.fascia-lp__cta--second {
  padding: 50px 0;
  background: #fffef3;
}

.fascia-lp__youtube {
  width: 60%;
  margin: -22% auto 0;
  padding: 0;
  text-align: center;
  line-height: 1.5;
  position: relative;
  z-index: 3;
}

.fascia-lp__youtube p {
  margin: 0 0 28px;
  color: #49382d;
  font-size: 18px;
}

.fascia-lp__youtube h2 {
  margin: 0 0 40px;
  color: #49382d;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.4;
}

.fascia-lp__youtube-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.fascia-lp__youtube iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- 導入プラン ---------- */
.fascia-lp__plan {
  width: 60%;
  margin: 80px auto 50px;
}

/* ---------- 導入の流れ ---------- */
.fascia-lp__flow {
  width: 100%;
  padding: 30px 0 10px;
  line-height: normal;
}

.bac{
  background-image: url("images/fascia/pc_10.jpg");
}

.fascia-lp__flow-title {
  margin: 0;
  padding: 50px 20px 40px;
  color: #49382d;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.fascia-lp__flow-window {
  width: 90%;
  margin: 0 auto 30px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.fascia-lp__flow-window::-webkit-scrollbar {
  display: none;
}

#fascia-lp .fascia-lp__flow-window img {
  width: 1600px;
  max-width: none;
  height: auto;
}

/* ---------- Contact ---------- */
#fascia-lp .fascia-lp__contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 90%;
  margin: 0 auto;
  padding: 22px 5% 60px;
  line-height: 0;
}

#fascia-lp .fascia-lp__contact-card {
  transition: transform .2s ease, opacity .2s ease;
}

#fascia-lp .fascia-lp__contact-card:hover {
  transform: translateY(-3px);
  opacity: .92;
}

/* ---------- PC fixed buttons ---------- */
#fascia-lp .fascia-lp__fixed--pc {
  position: fixed;
  z-index: 9999;
  top: 50%;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-50%);
  line-height: 0;
}

#fascia-lp .fascia-lp__fixed--pc img {
  width: 82px;
  max-width: none;
  height: auto;
  box-shadow: 0 3px 12px rgba(0,0,0,.12);
}

/* SP fixed bar is hidden on PC */
#fascia-lp .fascia-lp__fixed-sp {
  display: none;
}

/* ---------- Footer ---------- */
.fascia-footer {
  width: 100%;
  margin: 0;
  background: #a49384;
  color: #fff;
}

.fascia-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  width: 90%;
  margin: 0 auto;
  padding: 50px 0;
}

.fascia-footer__brand {
  letter-spacing: .12em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.fascia-footer__inner ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fascia-footer__inner li {
  margin: 0;
  line-height: 1.6;
}

.fascia-lp__question{
  width: 100%;
  height: auto;
}

.question_img{
  width: 100%;
  height: auto;
}

footer img{
  width: 150px;
  height: auto;
}

/* =========================================================
   Smartphone
   ========================================================= */
   @media (min-width: 767px) {
    .sp{
      display: none;
    }
   }


/* =========================================================
   Smartphone
   ========================================================= */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(50px + env(safe-area-inset-bottom));
  }

  #fascia-lp .fascia-lp__canvas {
    width: 100%;
  }

  .pc{
    display: none;
  }

  /* SP画像はカンプ画像をそのまま画面幅100%で表示 */
  #fascia-lp .fascia-lp__section,
  #fascia-lp .fascia-lp__section picture,
  #fascia-lp .fascia-lp__section img {
    width: 100%;
  }

  /* SP CTAは専用画像を使用 */
  .fascia-lp__cta {
    padding: 24px 0 34px;
    background: #fffef8;
  }

  .fascia-lp__cta .fascia-lp__image-link {
    width: 100%;
    margin: 0 auto;
  }

  .top{
    margin-top: -30%;
  }

  .fascia-lp__cta--first .fascia-lp__image-link {
    margin-top: 0;
  }

  .fascia-lp__cta--second {
    padding: 28px 0 38px;
  }

  /* 最後のエリアは提供されたSP背景を使用 */
  .fascia-lp__closing {
    background-color: #fffaf0;
    background-image: url("images/fascia/sp/sp_10.jpg");
    background-position: center top;
    background-size: 100% auto;
    background-repeat: repeat-y;
  }

  .fascia-lp__youtube {
    width: 88%;
    margin: 0 auto;
    padding: 70px 0 0;
    background: none
  }

  .fascia-lp__youtube p {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .fascia-lp__youtube h2 {
    margin-bottom: 24px;
    font-size: clamp(22px, 6vw, 30px);
  }

  .fascia-lp__plan {
    width: 100%;
    margin: 30px auto 0;
  }

  .bac{
    background-image: url("images/fascia/sp/sp_10.jpg");
  }

  .fascia-lp__flow {
    padding: 10px 0 22px;
  }

  #fascia-lp .fascia-lp__fixed--pc img{
    display: none;
  }

  .fascia-lp__flow-title {
    padding: 36px 16px 24px;
    font-size: clamp(24px, 7vw, 32px);
    text-align: center;
  }

  .fascia-lp__flow-window {
    width: min(92vw, 700px);
    margin: 0 auto 26px;
    overflow-x: auto;
  }

  #fascia-lp .fascia-lp__flow-window img {
    width: 1200px;
    max-width: none;
  }

  #fascia-lp .fascia-lp__contact {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 92%;
    padding: 10px 0 42px;
  }

  /* SP用追従ボタンを下部に2分割で表示 */
  #fascia-lp .fascia-lp__fixed-sp {
    position: fixed;
    z-index: 10000;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff;
    box-shadow: 0 -3px 12px rgba(0,0,0,.14);
    line-height: 0;
  }

  #fascia-lp .fascia-lp__fixed-sp a,
  #fascia-lp .fascia-lp__fixed-sp img {
    display: block;
    width: 100%;
    height: auto;
  }

  .fascia-footer__inner {
    display: block;
    width: 88%;
    padding: 36px 0 50px;
    text-align: center;
  }

  .fascia-footer__brand {
    margin-bottom: 22px;
    font-size: 20px;
  }

  .fascia-footer__inner li {
    font-size: 12px;
  }

  .fascia-lp__closing {
    background: none;
  }

  .question{
    width: 100%;
    height: auto;
  }
  .question_img{
    width: 100%;
    height: auto;
  }

  .question_table{
    background-image: url("images/fascia/sp/sp_7_2.jpg");
    background-size: cover;
  }
}
