/* =========================================================
   TOP Page CSS 
========================================================= */


/* =========================================================
   TOP Page - First View Section
========================================================= */
.sp-br {
  display: none;
}

@media (max-width: 768px) {
	.sp-br {
		display: block;
	}
}

.top-title {
	background: linear-gradient(180deg, #F9983A 0%, #E47911 68%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-family: "MOBA-Bold";
}
    
.top-title-num {
	background: linear-gradient(180deg, #F9983A 0%, #E47911 68.27%);
	background-clip: text;
	font-family: "MOBA-Bold";
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: 3px 4px 3px rgba(0, 0, 0, 0.10);
	-webkit-text-stroke-width: 4px;
	-webkit-text-stroke-color: #FFF;
}


.text-image-parent {
  position: relative;
  display: inline-block;
  width: fit-content;
}

    
.text-image-parent .side-image {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translate(12px, -50%);
  width: 120px;
  height: auto;
}

/* =========================================================
   TOP Page - Reason Section
========================================================= */
.reason-title {
	margin: 0;
	font-family: "Noto Sans JP", sans-serif;
	font-style: normal;
	font-weight: 700;
	color: #222;
}

.reason-line {
	display: block;
}

.reason-line-1,
.reason-line-2 {
	font-size: 26px;
	line-height: 1.4;
}

.reason-line-3 {
	font-size: 0;
	line-height: 1;
}
    
.reason-num {
	color: #E47911;
	font-size: 50px;
	font-weight: 700;
	line-height: 36px;
	display: inline-block;
	vertical-align: baseline;
}

.reason-text {
	color: #222;
	font-size: 26px;
	font-weight: 700;
	line-height: 48px;
	display: inline-block;
	vertical-align: baseline;
}
    
.reason-highlight {
	color: #E47911;
	font-size: 26px;
	font-weight: 700;
	line-height: 48px;
	display: inline-block;
	vertical-align: baseline;
}
    
/* PC */
@media (min-width: 768px) {
	.reason-line-1 {
		font-size: 42px;
		line-height: 1.4;
	}

	.reason-line-2,
	.reason-line-3 {
		display: inline;
	}

	.reason-line-2 {
		font-size: 42px;
		line-height: 1.4;
	}

	.reason-line-3 {
		font-size: inherit;
		line-height: inherit;
	}

	.reason-num {
		font-size: 80px;
		line-height: 1;
	}
    
	.reason-text {
		font-size: 42px;
		line-height: 1.4;
	}

	.reason-highlight {
		font-size: 42px;
		line-height: 1.4;
	}
}
    
    
/* =========================================================
   TOP Page - お知らせ Section
========================================================= */
.price-title {
	margin: 0;
	text-align: center;
	font-family: "MOBO-Bold", sans-serif;
	font-weight: 700;
	color: #222;
}

/* 行 */
.price-title__line {
	display: block;
}

/* PC/SP切り替え */
.price-title__pc {
	display: block;
}

.price-title__sp {
	display: none;
}
    
/* PC */
.price-title__pc .price-title__line {
	font-size: 46px;
	line-height: 1.15;
	white-space: nowrap;
}
    
/* 強調 */
.price-title__accent {
	white-space: nowrap;
}

.price-title__yen {
	color: #E47911;
	font-size: 64px;
	line-height: 1;
}

.price-title__demo {
	color: #E47911;
	font-size: 56px;
	line-height: 1;
}

/* SP */
@media (max-width: 767px) {
	.price-title__pc {
		display: none;
	}

	.price-title__sp {
		display: block;
	}

	.price-title__sp .price-title__line {
		font-size: 28px;
		line-height: 1.2;
	}

	.price-title__yen {
		font-size: 38px;
		line-height: 1.2;
	}

	.price-title__demo {
		font-size: 28px;
		line-height: 1.2;
	}
}
    
/* お知らせセクション - 内容 */
.estimate-message {
	color: #222;
	font-family: "Noto Sans JP", sans-serif;
	font-style: normal;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.522;
}
    
.estimate-message__line {
	margin: 0;
}

.estimate-message__line + .estimate-message__line {
	margin-top: 12px;
}

.estimate-message__accent {
	color: #E47911;
	font-weight: 900;
}

.estimate-message__accent--quote {
	display: inline;
}

.estimate-message__normal {
	color: #222;
	font-weight: 700;
}

.estimate-message__marker {
	color: #222;
	font-weight: 900;
	display: inline;
	background-image: linear-gradient(transparent 58%, #FFF200 58%);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
}

.sp-only {
	display: inline;
}

/* PC */
@media (min-width: 768px) {
	.estimate-message {
		text-align: center;
		font-size: 32px;
		font-weight: 700;
		line-height: 1.45;
	}

	.estimate-message__line + .estimate-message__line {
		margin-top: 6px;
	}

	.estimate-message__accent {
		color: #E47911;
		font-size: 32px;
		font-weight: 900;
		line-height: 1.45;
	}

	.estimate-message__marker {
		color: #222;
		font-size: 32px;
		font-weight: 900;
		line-height: 1.45;
		background-image: linear-gradient(transparent 60%, #FFF200 60%);
		background-repeat: no-repeat;
		background-size: 100% 100%;
	}

	.estimate-message__bottom {
		margin-top: 14px;
	}

	.sp-only {
		display: none;
	}
}

/* SP */
@media (max-width: 767px) {
	.estimate-message {
		text-align: left;
		font-size: 22px;
		font-weight: 700;
		line-height: 1.522;
	}

	.estimate-message__line--1 {
		line-height: normal;
	}

	.estimate-message__line--2,
	.estimate-message__line--3 {
		line-height: 1.522;
	}

	.estimate-message__accent {
		color: #E47911;
		font-size: 22px;
		font-weight: 900;
		line-height: 1.522;
	}

	.estimate-message__marker {
		color: #222;
		font-size: 22px;
		font-weight: 900;
		line-height: 1.522;
		background-image: linear-gradient(transparent 58%, #FFF200 58%);
		background-repeat: no-repeat;
		background-size: 100% 100%;
	}

	.estimate-message__bottom {
		margin-top: 18px;
		padding-right: 120px;
	}

	.estimate-message__line--4,
	.estimate-message__line--5 {
		text-align: left;
		line-height: normal;
	}

	.sp-only {
		display: inline;
	}
}


/* TOP Page */
.product-label {
	background: linear-gradient(
		119deg,
		rgba(214, 204, 191, 0.7) 3.2%,
		rgba(247, 245, 242, 0.7) 46.27%,
		rgba(215, 205, 192, 0.7) 71.97%,
		rgba(246, 241, 239, 0.7) 95.71%
	);
}

.diagonal-line {
	position: relative;
	text-decoration: none;
}

.diagonal-line::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	top: 50%;
	height: 3px;
	background: #EE1D23;
	transform: rotate(12.688deg);
}

    
/* =========================================================
   QAバッジ
========================================================= */

.qa-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.qa-text {
  display: inline-block;
  line-height: 1.6;
}

/* バッジ */
.qa-badge {
  display: flex;
  width: 38px;
  height: 38px;
  justify-content: center;
  align-items: center;
  border-radius: 19px;
  flex-shrink: 0;

  color: #FFF;
  font-family: Roboto, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

/* Q */
.qa-q {
  background: #E47911;
}

/* A */
.qa-a {
  background: #07A9DB;
}

.step-circle {
	position: relative;
}

.step-badge {
	position: absolute;
	top: -34px;
	left: 18px;
	width: 67px;
	height: 67px;
	border-radius: 50%;
	background: #07A9DB;
	color: #fff !important;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	font-weight: 500;
	line-height: 1;
	z-index: 3;
}

.step-arrow {
	width: 35px;
	height: 54px;
	background: #727272;
	clip-path: polygon(0 7%, 100% 50%, 0 93%);
}


/* Top Four Steps Section */

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

.install-steps {
  --install-steps-blue: #00a7df;
  color: #333333;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.install-steps__list {
  display: grid;
  grid-template-columns: repeat(4, 277px);
  gap: 48px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-steps__item {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.install-steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -39px;
  width: 29px;
  height: 44px;
  background: #727272;
  clip-path: polygon(100% 50%, 25% 93.3%, 25% 6.7%);
  transform: translateY(-50%);
}

.install-steps__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 277px;
  height: 277px;
  padding: 18px 20px;
  border: 3px solid #07a9db;
  border-radius: 999px;
  background: #ffffff;
  text-align: center;
}

.install-steps__number {
  position: absolute;
  left: 18px;
  top: -3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--install-steps-blue);
  color: #ffffff;
  font-family: "Roboto", "Arial", sans-serif;
  font-size: 29px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px;
}

.install-steps__icon {
  display: block;
  margin: 0;
  object-fit: contain;
}

.install-steps__icon--step1 {
  width: 45px;
  height: 53px;
  aspect-ratio: 11 / 13;
}

.install-steps__icon--step2 {
  width: 69px;
  height: 53px;
  aspect-ratio: 17 / 13;
}

.install-steps__icon--step3,
.install-steps__icon--step4 {
  width: 56px;
  height: 53px;
}

.install-steps__icon--step3 {
  aspect-ratio: 69 / 65;
}

.install-steps__heading {
  margin: 0;
  color: #333333;
  text-align: center;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.install-steps__heading-line {
  display: block;
  white-space: nowrap;
}

.install-steps__heading--wide {
  width: min(248px, calc(100% + 40px));
  max-width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
}

.install-steps__text {
  margin: 0;
  color: #333333;
  text-align: center;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

@media (max-width: 1251px) {
  .install-steps__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 79px;
    width: 100%;
  }

  .install-steps__item {
    width: min(100%, 310px);
  }

  .install-steps__item:not(:last-child)::after {
    top: auto;
    right: auto;
    left: 50%;
    bottom: -57px;
    width: 54px;
    height: 35px;
    clip-path: polygon(50% 100%, 6.7% 25%, 93.3% 25%);
    transform: translateX(-50%);
  }

  .install-steps__card {
    width: 310px;
    height: 310px;
    gap: 16px;
    padding: 22px 24px;
    border-width: 4px;
  }

  .install-steps__number {
    left: 6px;
    top: -2px;
    width: 67px;
    height: 67px;
    font-size: 36px;
    line-height: 37px;
  }

  .install-steps__icon--step1 {
    width: 55px;
    height: 65px;
  }

  .install-steps__icon--step2 {
    width: 85px;
    height: 65px;
  }

  .install-steps__icon--step3,
  .install-steps__icon--step4 {
    width: 69px;
    height: 65px;
  }

  .install-steps__heading {
    font-size: 22px;
  }

  .install-steps__heading--wide {
    width: min(292px, calc(100% + 48px));
    max-width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
  }

  .install-steps__text {
    font-size: 15px;
  }
}


/* =========================================================
   SNSボタン一覧
========================================================= */

.sns-button-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.sns-button {
  display: flex;
  width: 490px;
  height: 100px;
  justify-content: center;
  align-items: center;
  gap: 19.901px;
  border: 4px solid #fff;
  border-radius: 70px;
  color: #fff;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(75, 75, 75, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.sns-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(75, 75, 75, 0.28);
  filter: brightness(1.04);
  color: #fff;
}

.sns-button__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.sns-button__arrow {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.sns-button:hover .sns-button__arrow {
  transform: translateX(4px);
}

.sns-button__text {
  white-space: nowrap;
}

.sns-button--instagram {
  padding: 30px 16.424px 30px 24.635px;
  background: linear-gradient(88deg, #8D4DC2 2.11%, #F82868 44.51%, #F49206 75.52%, #FED76A 96.95%);
}

.sns-button--x {
  padding: 22px 16px 22px 24px;
  border-width: 3px;
  border-radius: 80px;
  background: #000;
  line-height: 1.2;
}

.sns-button--line {
  padding: 22px 16px 22px 24px;
  gap: 1px;
  border-width: 3px;
  border-radius: 80px;
  background: #57BE4A;
  line-height: 1.2;
}

.sns-button--line .sns-button__icon {
  margin-right: 18px;
}

.sns-button--line .sns-button__text {
  margin-right: 18px;
}

@media (max-width: 767px) {
  .sns-button-list {
    flex-direction: column;
    gap: 16px;
  }

  .sns-button {
    width: 100%;
    max-width: 490px;
    height: 72px;
    font-size: 18px;
    gap: 12px;
  }

  .sns-button__icon {
    width: 28px;
    height: 28px;
  }

  .sns-button__arrow {
    width: 24px;
    height: 24px;
  }

  .sns-button__arrow svg {
    width: 24px;
    height: 24px;
  }
}


/* =========================================================
   TOPページ：施工事例セクション
========================================================= */

.top-works-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.top-works-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
}

.top-works-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.top-works-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #f5f5f5;
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
}

.top-works-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-works-card__body {
  padding: 14px 12px 16px;
}

.top-works-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.top-works-card__area {
  display: inline-block;
  background: #f08300;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 10px;
}

.top-works-card__date {
  color: #f08300;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.top-works-card__title {
  margin: 0;
  color: #222;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
  text-align: left;
}

@media (max-width: 767px) {
  .top-works-list {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .top-works-card__body {
    padding: 12px 10px 14px;
  }

  .top-works-card__title {
    font-size: 13px;
  }
}

/* Error Code Section */
/* =========================================================
   エラーコード一覧
========================================================= */

.error-code-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.error-code-row:last-child {
  margin-bottom: 0;
}

/* バッジ */
.error-code-answer-tag {
  display: flex;
  width: 60px;
  height: 30px;
  padding: 0 10px;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  background: #E47911;
  flex-shrink: 0;

  /* ←ここ修正 */
  color: #FFF;
  font-family: Roboto, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

/* テキスト */
.error-code-answer-message {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  line-height: 1.6;
}

.error-code-title {
  display: flex;
  align-items: center;
}

.error-code-title img {
  margin-right: 16px;
  height: 40px; /* PC用サイズ */
  width: auto;
}

@media (max-width: 767px) {
  .error-code-title img {
    height: 28px; /* SP用サイズ */
  }
}


/* 4 Steps Section */
/* PC */
.install-step-number {
  color: #07A9DB;
  font-family: Roboto, sans-serif;
  font-size: 80px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

/* SP */
@media (max-width: 767px) {
  .install-step-number {
    font-size: 40px;
  }
}
