@charset "utf-8";

/* ========================================
   カラー定義
======================================== */
:root {
  --color-main: #286a36;
  --color-sub: #579e64;
  --color-accent-sub: #286a36;
  --color-light-green-01: #8ecea5;
  --color-light-green-02: #eff7f0;
  --color-light-green-03: #dbeedc;
  --color-dark-blue: #103a77;
  --color-accent: #ffdf3f;
  --color-gray-01: #898989;
  --color-gray-02: #f0f0f0;
  --color-text: #000;
  --color-white: #fff;
}

/* ========================================
   基本スタイル
======================================== */
html {
  margin: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.8;
}

.responsive {
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
	font-weight: 700;
	font-feature-settings: "halt" 1;
	line-height: 1.5;
}

p,
li {
	font-size: 1rem;
	font-weight: 400;
	font-feature-settings: "halt" 1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
  transition: opacity 0.3s;
}

/* ========================================
   レスポンシブ表示切り替え
======================================== */
.sp-only {
  display: block;
}

.pc-only {
  display: none;
}

@media screen and (width >= 768px) {
  .sp-only {
    display: none;
  }

  .pc-only {
    display: block;
  }
}

.sp-br {
	white-space: nowrap;
}

/* ========================================
   共通コンポーネント
======================================== */
.inner {
  width: min(90%, 1200px);
  margin: 0 auto;
}

/* ボタン */
.btn {
	background-color: var(--color-accent);
	color: var(--color-text);
	padding: 18px 50px;
	font-size: 1.5rem;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	border-radius: 8px;
	box-shadow: 8px 8px 0 0 rgb(0 0 0 / 10%);
	transition: all 0.3s ease-in-out;
	cursor: pointer;
}

@media (hover: hover) {
	.btn:where(:any-link, :enabled, summary):hover {
		text-decoration: none;
		opacity: 0.8;
		box-shadow: none;
		transform: translateY(4px);
	}
}

/* スクロール到達で下線を出す */
.scroll-underline {
	position: relative;
	display: inline;

	--scroll-underline-color: var(--color-light-green-01);
	--scroll-underline-height: 8px;
	--scroll-underline-offset: 0.08em;
	--scroll-underline-duration: 0.6s;

	background-image: linear-gradient(var(--scroll-underline-color), var(--scroll-underline-color));
	background-repeat: no-repeat;
	background-position: 0 calc(100% - var(--scroll-underline-offset));
	background-size: 0 var(--scroll-underline-height);
	transition: background-size var(--scroll-underline-duration) ease;
}

.scroll-underline.aos-animate {
	background-size: 100% var(--scroll-underline-height);
}

.scroll-underline[data-aos] {
	opacity: 1;
	transform: none;
}

/* ========================================
   ヘッダー
======================================== */
.layout_header-intro {
  position: relative;
}

/* ========================================
   ファーストビュー
======================================== */
.fv {
  background-image: url("../images/fv_bg.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 640px;
  display: flex;
  align-items: center;
  position: relative;
  padding: 40px 0;
}

.fv-inner {
	width: 100%;
	max-width: min(100%, 1440px);
	margin: 0 auto;
	padding: 0 60px;
}

.fv-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
}

.fv-text-wrapper {
  flex: 0 0 640px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.fv-text {
  display: block;
  position: relative;
  background-color: rgb(255 255 255 / 80%);
  padding: 24px;
  width: 100%;
}

.fv-lead-wrapper {
	margin-bottom: 4px;
  display: block;
	text-align: center;
}

.fv-lead {
	font-weight: 700;
	color: var(--color-main);
	text-align: center;
	position: relative;
	display: block;
	padding-bottom: 8px;
	margin-bottom: 4px;
	width: fit-content;
	margin-inline: auto;
}

.fv-lead::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--color-main);
}

.fv-lead-large {
  font-size: 1.8125rem;
}

.fv-lead-small {
  font-size: 1.5rem;
}

.fv-title {
  display: block;
  font-size: 4.0625rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-main);
  margin-bottom: 0;
}

.fv-description {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 0;
}

.fv-note {
  background-color: transparent;
  border: none;
  padding: 0;
  margin-bottom: 16px;
  position: relative;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  align-self: center;
  display: flex;
}

.fv-note::before,
.fv-note::after {
  content: "";
  width: 2px;
  height: 50px;
  background-color: var(--color-main);
  flex-shrink: 0;
}

.fv-note::after {
  transform: rotate(18deg);
}

.fv-note::before {
  transform: rotate(-18deg);
}

.fv-note p {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: var(--color-main);
  width: 285px;
}

.fv-buttons {
  display: flex;
  justify-content: center;
}

.btn-fv {
  width: 500px;
}

.fv-image {
  flex: 0 0 540px;
  position: relative;
}

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

@media screen and (width <= 1439px) {
  .fv-inner {
		padding: 0 40px;
	}
}

@media screen and (width <= 1279px) {
  .fv-content {
    gap: 32px;
  }

  .fv-text-wrapper {
    flex: 0 0 auto;
    max-width: 50%;
    gap: 24px;
  }

  .fv-text {
    width: 100%;
    padding: 20px;
  }

  .fv-image {
    flex: 0 0 auto;
    max-width: 44%;
  }

  .fv-title {
    font-size: 3.125rem;
  }

  .fv-lead-large {
    font-size: 1.5rem;
  }

  .fv-lead-small {
    font-size: 1.25rem;
  }

  .fv-description {
    font-size: 1.125rem;
  }
}

@media screen and (width <= 1023px) {
	.fv-content {
		flex-direction: column;
	}

	.fv-text-wrapper {
		flex: 1;
		max-width: 100%;
		gap: 20px;
	}
}

@media screen and (width <= 767px) {
  .fv {
    background-image: url("../images/fv_bg_sp.svg");
    min-height: auto;
    height: auto;
    padding: 40px 0;
  }

  .fv-inner {
    padding: 0 20px;
  }

  .fv-content {
    gap: 30px;
  }

  .fv-text {
    padding: 20px;
    width: 100%;
  }

  .fv-lead-large {
    font-size: 1.25rem;
  }

  .fv-lead-small {
    font-size: 1.125rem;
  }

  .fv-title {
    font-size: 2.5rem;
  }

  .fv-description {
    font-size: 1rem;
  }

  .fv-note p {
    font-size: 0.875rem;
  }

  .btn-fv {
    padding: 16px 40px;
    font-size: 1.125rem;
    width: 100%;
  }

  .fv-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .fv-image {
    flex: 1;
    max-width: 100%;
  }
}

@media screen and (width <= 479px) {
  .fv-lead-large,
  .fv-lead-small {
    font-size: 1.125rem;
  }

  .fv-title {
    font-size: 2rem;
  }

  .fv-title span {
    font-size: 2.625rem;
  }
}

@media screen and (width <= 419px) {
  .fv-lead-large,
  .fv-lead-small {
    font-size: 1rem;
  }

  .fv-title {
    font-size: 1.75rem;
  }

  .fv-title span {
    font-size: 2.25rem;
  }
}

/* ========================================
   イントロ
======================================== */
.intro {
  background-image: url("../images/intro_bg.svg");
  background-size: 100% auto;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: 120px 0;
}

.intro-inner {
  width: min(90%, 1200px);
  margin: 0 auto;
}

.intro-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}

.intro-title span {
  color: var(--color-main);
}

.intro-lead {
  font-size: 1.125rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.75;
  letter-spacing: 0.05em;
  max-width: 564px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
}

.intro-lead strong {
  font-weight: 700;
}

.intro-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.intro-card {
  background-color: var(--color-white);
  min-height: 358px;
  padding: 16px 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-card-icon {
  text-align: center;
  margin-bottom: 20px;
}

.intro-card-icon img {
  width: 92px;
  height: 90px;
}

.intro-card-title {
  color: var(--color-main);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.intro-card-text {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 24px;
  min-height: 80px;
}

.intro-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: auto auto 0;
  padding: 6px 24px;
  min-width: 280px;
  background-color: var(--color-main);
  border: 0;
  color: var(--color-white);
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  border-radius: 32px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.intro-card-button::after {
  content: "";
  width: 18px;
  height: 18px;
  background-image: url("../images/intro_arrow_icon.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

@media (hover: hover) {
	.intro-card-button:where(:any-link, :enabled, summary):hover {
		opacity: 0.8;
    text-decoration: none;
	}
}

.intro-solution {
  background-color: var(--color-sub);
  border-radius: 6px;
  max-width: 928px;
  min-height: 182px;
  margin: 0 auto 60px;
  padding: 16px 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.intro-solution-text {
  color: var(--color-white);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin: 0;
  position: relative;
  z-index: 2;
}

.intro-solution-text .intro-solution-text-large {
  font-size: 3.5rem;
  position: relative;
  display: inline-block;
  padding: 0 24px;
  background-image: url("../images/decoration.svg");
  background-size: contain;
  background-position: top 8px center;
  background-repeat: no-repeat;
}

@media screen and (width <= 1279px) {
	.intro-card-button {
    min-width: 100%;
	}
}

@media screen and (width <= 1023px) {
 .intro-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (width <= 767px) {
  .intro {
    padding: 60px 0;
  }

  .intro-title {
    font-size: 1.75rem;
  }

  .intro-lead {
    font-size: 1rem;
    max-width: 100%;
    margin-bottom: 40px;
    text-align: left;
  }

  .intro-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .intro-card {
    min-height: auto;
  }

  .intro-card-button {
    width: 100%;
  }

  .intro-solution-text {
    font-size: 1.75rem;
  }

  .intro-solution-text .intro-solution-text-large {
    font-size: 2.75rem;
    padding: 0 20px;
    background-position: top 4px center;
  }

  .intro-solution {
    min-height: 140px;
    padding: 16px;
  }

  .intro-solution::before {
    top: 50px;
    width: calc(100% - 48px);
  }

  .intro-solution::after {
    bottom: 14px;
    width: min(220px, calc(100% - 120px));
  }
}

@media screen and (width <= 479px) {
  .intro-card-text {
    text-align: left;
  }

  .intro-solution-text {
    font-size: 1.25rem;
  }
}

/* ========================================
   CTAセクション
======================================== */
.cta {
  padding: 60px 0;
  position: relative;
}

.cta-inner {
	width: min(90%, 1200px);
	margin: 0 auto;
	min-height: 304px;
	padding: 40px 32px 48px;
	box-sizing: border-box;
	background-image: url("../images/cta_bg.png");

	/* background-size: cover; */
	background-size: 100% 100%;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.cta-text {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 30px;
}

.cta .btn-cta {
  width: 342px;
  max-width: 100%;
  padding: 16px 24px;
  border: 0;
  border-radius: 8px;
  color: var(--color-text);
}


@media screen and (width <= 767px) {
  .cta {
    padding: 40px 0;
  }

  .cta-inner {
    width: 100%;
    min-height: auto;
    padding: 24px 16px;
    background-image: url("../images/cta_bg_sp.png");
  }

  .cta-title {
    font-size: 1.5rem;
  }
}

/* ========================================
   マネージドサービス
======================================== */
.service {
  padding: 60px 0;
}

.service-inner {
  width: min(90%, 1200px);
  margin: 0 auto;
}

.service-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.05em;
  margin-bottom: 30px;
}

.service-title strong {
  color: var(--color-main);
  font-size: 2.5rem;
}

.service-lead {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
  max-width: 644px;
  margin: 0 auto 60px;
  position: relative;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.service-card {
  background-color: var(--color-white);
  border: 1px solid #2d603d;
  border-radius: 0;
  padding: 24px;
  box-sizing: border-box;
}

.service-card:nth-child(-n + 3) {
  min-height: 198px;
}

.service-card:nth-child(n + 4) {
  min-height: 249px;
}

.service-card-icon {
  text-align: center;
  margin-bottom: 15px;
}

.service-card-icon img {
  width: 40px;
  height: 40px;
}

.service-card-title {
  color: var(--color-main);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
}

.service-card-list {
  list-style: none;
  padding: 0;
}

.service-card-list li {
  font-size: 1rem;
  font-weight: 500;
  padding-left: 15px;
  position: relative;
  margin-bottom: 8px;
}

.service-card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-main);
}

.service-feature {
  background-color: transparent;
  border-radius: 0;
  padding: 56px 0 0;
}

.service-feature-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
}

.service-feature-title span {
  color: var(--color-main);
}

.service-feature-text {
  font-size: 1.125rem;
  font-weight: 500;
  text-align: center;
  max-width: 566px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

.service-feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-feature-card {
  background-color: var(--color-white);
  border: 1px solid #2d603d;
  border-radius: 0;
  padding: 24px;
  min-height: 243px;
  box-sizing: border-box;
}

.service-feature-card-title {
  color: var(--color-main);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center;
}

.service-feature-card-text {
  font-size: 1rem;
  font-weight: 500;
}

@media screen and (width <= 1279px) {
	.service-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (width <= 767px) {
  .service {
    padding: 60px 0;
  }

  .service-title {
    font-size: 1.5rem;
  }

  .service-title strong {
    font-size: 1.875rem;
  }

  .service-lead {
    margin-bottom: 44px;
    font-size: 1rem;
    text-align: left;
  }

  .service-cards {
    margin-bottom: 50px;
  }

  .service-feature-card {
    min-height: auto;
  }

  .service-feature {
    padding: 40px 0 0;
  }

  .service-feature-title {
    font-size: 1.25rem;
  }

  .service-feature-card,
	.service-card:nth-child(-n + 3),
	.service-card:nth-child(n + 4) {
    min-height: auto;
  }

  .service-feature-cards {
    grid-template-columns: 1fr;
  }

  .service-feature-text {
    font-size: 1rem;
    text-align: left;
  }
}

@media screen and (width <= 479px) {
  .service-cards,
  .service-feature-cards {
			grid-template-columns: 1fr;
		}
}

/* ========================================
   比較表
======================================== */
.comparison {
  padding: 120px 0;
}

.comparison-inner {
  width: min(90%, 1200px);
  margin: 0 auto;
}

.comparison-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
}

.comparison-title span {
  color: var(--color-main);
}

.comparison-lead {
  font-size: 1.125rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 80px;
}

.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
}

.comparison-table thead th {
  background-color: #898989;
  color: var(--color-white);
  font-size: 1.125rem;
  font-weight: 700;
  padding: 20px 15px;
  text-align: center;
  border: 8px solid #fff;
}

.comparison-table tbody th {
	background-color: #8ecea5;
	font-size: 1.2rem;
	font-weight: 700;
	padding: 28px 20px;
	text-align: center;
	vertical-align: middle;
	border: 8px solid #fff;
	width: 250px;
}

.comparison-table thead th:first-child {
  background-color: transparent;
  border: 0;
}

.comparison-table tbody td {
  padding: 22px 20px;
  text-align: center;
  border: 8px solid #fff;
  vertical-align: top;
  background-color: #f0f0f0;
}

.comparison-table tbody td img {
  width: 32px;
  height: 32px;
  margin: 0 auto 10px;
  display: block;
}

.comparison-table tbody td p {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.comparison-table thead th:nth-child(2),
.comparison-table tbody td:nth-child(2) {
  background-color: var(--color-light-green-02);
  color: var(--color-text);
  border-left: 13px solid var(--color-accent);
  border-right: 13px solid var(--color-accent);
}

.comparison-table thead th:nth-child(2) {
  background-color: #dbeedc;
  border-top: 13px solid var(--color-accent);
}

.comparison-table tbody tr:last-child td:nth-child(2) {
  border-bottom: 13px solid var(--color-accent);
}

.notice {
  margin-bottom: 4px;
  padding-top: 8px;
  display: inline-block;
  font-size: 0.75rem;
}

.notice-list {
  list-style: none;
  padding: 0;
}

.notice-list li {
  font-size: 1rem;
  font-weight: 500;
  padding-left: 15px;
  position: relative;
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 400;
}

.notice-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-main);
}

@media screen and (width <= 1023px) {
  .comparison-table {
    min-width: 1000px;
  }

  .comparison-table-wrapper {
    margin: 0 -5%;
    padding: 0 5% 20px;
  }

  .comparison-table tbody th {
    width: 220px;
    font-size: 1rem;
  }
}

@media screen and (width <= 767px) {
  .comparison {
    padding: 60px 0;
  }

  .comparison-title {
    font-size: 1.5rem;
  }

  .comparison-lead {
    margin-bottom: 40px;
    font-size: 1rem;
    text-align: left;
  }

  .comparison-table tbody th {
    width: 200px;
  }

  .comparison-table thead th,
  .comparison-table tbody th,
  .comparison-table tbody td {
    font-size: 1rem;
    padding: 15px 10px;
  }
}

@media screen and (width <= 479px) {
	.fullstack-image-wrapper {
		margin: 0 -20px;
		padding: 0 20px 20px;
	}

	.fullstack-image {
		min-width: 800px;
	}
}

/* ========================================
   フルスタッククラウド
======================================== */
.fullstack {
  background-image: url("../images/full-stack_bg.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0 80px;
}

.fullstack-inner {
  width: min(90%, 1200px);
  margin: 0 auto;
}

.fullstack-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
}

.fullstack-title strong {
  color: var(--color-main);
}

.fullstack-lead {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 80px;
}

.fullstack-image-wrapper {
  text-align: center;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.fullstack-image {
	width: 100%;
	overflow: hidden;
}

.fullstack .fullstack-image img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
}

@media screen and (width <= 1023px) {
  .fullstack-image-wrapper {
    margin: 0 -5%;
    padding: 0 5% 20px;
  }

  .fullstack-image {
    min-width: 1000px;
  }
}

@media screen and (width <= 599px) {
  .fullstack {
    padding: 60px 0;
  }

  .fullstack-title {
    font-size: 1.5rem;
  }

  .fullstack-lead {
    margin-bottom: 40px;
    text-align: left;
  }

  .fullstack-image-wrapper {
    margin: 0 -5%;
    padding: 0 5% 20px;
  }

  .fullstack-image {
    min-width: 1000px;
  }
}

@media screen and (width <= 479px) {
  .fullstack-image-wrapper {
    margin: 0 -20px;
    padding: 0 20px 20px;
  }

  .fullstack-image {
    min-width: 800px;
  }
}

/* ========================================
   構成例
======================================== */
.example {
	padding: 112px 0;
	background-color: var(--color-gray-02);
}

.example-inner {
  width: min(90%, 1200px);
  margin: 0 auto;
}

.example-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
}

.example-title span {
  color: var(--color-main);
}

.example-lead {
  font-size: 1.125rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 120px;
}

/* .example-lead span {
	text-decoration: underline;
	text-decoration-color: var(--color-light-green-01);
	text-decoration-thickness: 8px;
	text-underline-offset: 4px;
} */

.example-cards {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.example-card {
  background-color: transparent;
  border-radius: 0;
  padding: 0;
}

.example-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.example-card-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background-color: var(--color-main);
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.example-card-title {
  color: var(--color-main);
  font-size: 1.75rem;
  font-weight: 700;
}

.example-card-text {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 40px;
}

.example-card-diagram {
  border: 1px solid var(--color-main);
  background-color: var(--color-white);
  padding: 40px;
}

.example-card-tags {
  margin-bottom: 40px;
}

.example-card-tag {
  background-color: var(--color-accent);
  padding: 4px 8px;
  width: fit-content;
  color: var(--color-main);
  font-size: 0.875rem;
  font-weight: 700;
}

.example-card-tag-list {
	list-style: none;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	background-color: var(--color-light-green-02);
	border: 1px solid var(--color-sub);
	padding: 14px 16px;
}

.example-card-tag-list li {
  font-size: 1rem;
  font-weight: 500;
  padding-left: 15px;
  position: relative;
  margin-bottom: 0;
}

.example-card-tag-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-main);
}

.example-card-image {
  background-color: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.example .example-card-image img {
  width: 100%;
  height: auto;
}

.example-card-diagram-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: text-bottom;
}

.example-scrollwrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

@media screen and (width <= 1023px) {
	.example-scrollwrapper {
		margin: 0 -5%;
		padding: 0 5% 20px;
	}

	.example-card-diagram {
		min-width: 1000px;
	}
}

@media screen and (width <= 767px) {
  .example {
    padding: 60px 0;
  }

  .example-title {
    font-size: 1.5rem;
  }

  .example-lead {
    margin-bottom: 60px;
    font-size: 1rem;
    text-align: left;
  }

  .example-cards {
    gap: 80px;
  }

  .example-card-diagram {
    padding: 28px 16px 16px;
  }

  .example-card-header {
    flex-direction: column;
    text-align: center;
  }

  .example-card-number {
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
  }

  .example-card-tag-list {
    gap: 8px 16px;
  }

  .example-card-tag-list li {
    font-size: 1rem;
  }
}

@media screen and (width <= 599px) {
	.example-scrollwrapper {
		margin: 0 -5%;
		padding: 0 5% 20px;
	}

	.example-card-diagram {
		min-width: 1000px;
	}
}

@media screen and (width <= 479px) {
	.example-scrollwrapper {
		margin: 0 -20px;
		padding: 0 20px 20px;
	}

	.example-card-diagram {
		min-width: 800px;
	}

  .example-card-diagram-list li {
    font-size: 0.875rem;
  }
}

/* ========================================
   予算が立てやすい3つの理由
======================================== */
.reason {
  padding: 120px 0;
}

.reason-inner {
  width: min(90%, 1200px);
  margin: 0 auto;
}

.reason-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
}

.reason-title span {
  color: var(--color-main);
}

.reason-lead {
  font-size: 1.125rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 60px;
}

.reason-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  padding: 60px;
  background-color: var(--color-gray-02);
  border-radius: 16px;
}

.reason-card {
  background-color: var(--color-white);
  border-radius: 0;
  padding: 40px 30px;
  position: relative;
}

.reason-card-number {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--color-main);
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 50%;
}

.reason-card-title {
  color: var(--color-sub);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 10px;
}

.reason-card-text {
  font-size: 1rem;
  font-weight: 500;
}

.reason-card-text strong {
  font-weight: 700;
}

@media screen and (width <= 1279px) {
  .reason-cards {
    grid-template-columns: 1fr;
  }
}

@media screen and (width <= 767px) {
  .reason {
    padding: 60px 0;
  }

  .reason-title {
    font-size: 1.5rem;
  }

  .reason-cards {
    padding: 48px 20px 32px;
    gap: 50px;
  }

  .reason-lead {
    font-size: 1rem;
    text-align: left;
  }
}

/* ========================================
   構成と金額感ご提示までの流れ
======================================== */
.flow {
  padding: 0 0 120px;
  background-color: var(--color-white);
}

.flow-inner {
  width: min(90%, 1200px);
  margin: 0 auto;
}

.flow-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 88px;
}

.flow-steps {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  position: relative;
}

.flow-step {
  position: relative;
  width: 276px;
  min-height: 304px;
  padding: 0 16px 32px;
  text-align: left;
}

.flow-step::before {
  content: "";
  position: absolute;
  inset: 51px 0 0;
  background-color: var(--color-light-green-02);
  z-index: 0;
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 159px;
  right: -21px;
  width: 12px;
  height: 40px;
  background-color: var(--color-light-green-01);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  z-index: 2;
}

.flow-step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 81px;
  height: 81px;
  background-color: var(--color-sub);
  color: var(--color-white);
  font-family: MuseoModerno, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
  border-radius: 50%;
  z-index: 1;
}

.flow-step-title {
  position: relative;
  z-index: 1;
  color: var(--color-main);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  min-height: 64px;
  text-align: center;
  margin: 91px 0 10px;
}

.flow-step-text {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

@media screen and (width <= 767px) {
  .flow {
    padding: 60px 0;
  }

  .flow-title {
    margin-bottom: 44px;
    font-size: 1.5rem;
  }

  .flow-steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .flow-step {
    width: 100%;
    min-height: auto;
    padding: 32px;
  }

  .flow-step-number {
    width: 64px;
    height: 64px;
    font-size: 1.25rem;
  }

  .flow-step:not(:last-child)::after {
    display: none;
  }

  .flow-step-title {
    margin-top: 56px;
    min-height: auto;
  }
}

@media screen and (width <= 479px) {
  .flow-step {
    padding: 16px;
  }
}

/* ========================================
   よくある質問
======================================== */
.faq {
  padding: 120px 0;
}

.faq-inner {
  width: min(90%, 1200px);
  margin: 0 auto;
}

.faq-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.faq-item {
  background-color: var(--color-gray-02);
  border-radius: 0;
  border: 1px solid #d8dfd9;
  overflow: hidden;
}

.faq-item:nth-child(even) {
  background-color: var(--color-light-green-02);
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 20px 18px;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-main);
  list-style: none;
  position: relative;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-q {
  color: var(--color-main);
  font-family: MuseoModerno, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
}

.faq-question-text {
	flex: 1;
	padding-right: 40px;
	font-size: 1.125rem;
}

.faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  font-size: 1rem;
  border-top: 1px solid #d8dfd9;
}

.faq-a {
  color: var(--color-sub);
  font-family: MuseoModerno, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.faq-answer-text {
  flex: 1;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.faq-answer-text a {
  color: var(--color-main);
  text-decoration: underline;
}

.faq-answer-text a:hover {
  opacity: 0.7;
}

@media screen and (width <= 767px) {
  .faq {
    padding: 60px 0;
  }

  .faq-title {
    margin-bottom: 40px;
    font-size: 1.5rem;
  }

  .faq-question {
    padding: 20px;
  }

  .faq-question::after {
    right: 20px;
    top: 20px;
  }

  .faq-question-text {
    padding-right: 30px;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 20px;
  }
}


/* ========================================
   フッター
======================================== */
.footer-service {
  display: none;
}

/* ========================================================
  レイアウト
======================================================= */
.entry-form {
  display: none;
}

@media screen and (width >= 1700px) {
  .content-wrapper {
    grid-template-columns: 1fr 400px;
    margin: 0 auto;

    .entry-form {
      position: sticky;
      top: 0;
      max-height: 100dvh;
      background-color: #f6f9f0;
      padding: 2rem;
      overflow-y: auto;
    }
  }
}

/* Marketo フォームを読み込むと発生するページ最下部の不要な余白を削除 */
form[novalidate="novalidate"] {
  padding: 0;
}

/* ========================================================
  フォーム
======================================================= */
.entry-form {
  .entry-form-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
  }

  .entry-form-description {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--color-accent-sub);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 0 1.5rem;

    &::before,
    &::after {
      display: block;
      width: 0;
      height: 1.5rem;
      border-left: 1px solid;
      content: "";
      transform-origin: left bottom;
    }

    &::before {
      margin-right: 4px;
      rotate: -30deg;
    }

    &::after {
      margin-left: 4px;
      rotate: 30deg;
    }
  }

  .form-text {
    font-size: 0.875rem;
    margin-top: 1.5rem;
  }

  .mktoForm {
    /* 共通スタイル */
    margin-top: 2rem;

    .mktoFieldWrap .mktoLabel {
      font-weight: 400 !important;
      line-height: 1rem;
      padding-top: 0;

      br {
        display: none;
      }

      &::before {
        font-size: 0.875rem;
        font-weight: 500;
        padding: 0.1rem 0.4rem;
        border-radius: 0.2rem;
        margin-right: 0.5rem;
      }
    }

    .mktoClear {
      display: none;
    }

    .mktoFormCol {
      width: 100%;
    }

    .mktoFormRow {
      margin-bottom: 2rem;
      display: flex;
      gap: 1.5rem;

      &:has(input[type="hidden"]) {
        margin-bottom: 0;
      }
    }

    .mktoFormRow {
      span {
        font-size: 0.875rem;
        line-height: 1.5;
      }

      a {
        color: var(--link-color);
        font-size: 0.875rem;

        &:hover {
          opacity: 1;
          text-decoration: underline;
        }
      }

      .privacy-section-description {
        margin-top: 1rem;
      }
    }

    /* Gutter */
    div.mktoGutter {
      display: block;
      height: 1rem;
    }

    /* 必須ラベル */
    .mktoFieldWrap.mktoRequiredField {
      .mktoLabel {
        .mktoAsterix {
          display: none;
        }

        &::before {
          content: "必須";
          color: var(--color-white);
          background-color: var(--color-accent-sub);
        }
      }
    }

    /* 任意ラベル */
    .mktoFieldWrap:not(.mktoRequiredField) .mktoLabel {
      &::before {
        content: "任意";
        background-color: var(--color-gray-01);
        color: var(--color-white);
      }
    }

    /* 入力欄 */
    .mktoFieldWrap {
      width: 100%;
      display: flex;
      flex-direction: column;

      .mktoField.mktoTextField,
      .mktoField.mktoEmailField,
      .mktoField.mktoTelField,
      textarea.mktoField {
        border-radius: 0.1rem;
        border: 1px solid var(--color-gray-02);
        padding: 1rem;
        font-size: 1rem;
        width: 100%;
        background-color: var(--color-white);

        &::placeholder {
          color: var(--color-gray-01);
        }
      }

      /* テキストエリア */
      textarea.mktoField {
        min-height: 8rem;
        resize: vertical;
      }

      /* チェックボックス */
      .mktoLogicalField.mktoCheckboxList {
        padding: 0;

        label {
          border: 1px solid var(--color-gray-02);
          display: flex;
          align-items: center;
          gap: 0.5rem;
          padding: 1rem;
          margin: 0;
          border-radius: 0.2rem;
          cursor: pointer;
          background-color: var(--color-white);
          user-select: none;

          &::before {
            content: "";
            width: 1.2rem;
            height: 1.2rem;
            border: 1px solid var(--color-gray-01);
            border-radius: 3px;
            background: var(--color-white);
            box-sizing: border-box;
          }
        }

        &.mktoValid label:before {
          content: url(/assets/images/global/icons/checked.svg);
          display: flex;
          align-items: center;
          justify-content: center;
          background: var(--color-dark-blue);
          border-color: var(--color-dark-blue);
        }
      }
    }

    /* エラーメッセージ */
    .mktoFieldWrap {
      &:has(input + .mktoError:not([style*="display: none"])) .mktoField.mktoTextField,
      &:has(.mktoClear + .mktoCustomErrorMsg:not([style*="display: none"])) .mktoField.mktoEmailField,
      &:has(input + .mktoError:not([style*="display: none"])) .mktoField.mktoTelField,
      &:has(textarea + .mktoError:not([style*="display: none"])) textarea.mktoField,
      &:has(.mktoLogicalField + .mktoError:not([style*="display: none"])) .mktoLogicalField.mktoCheckboxList label {
        border: 1px solid var(--attention-color);
        background-color: color-mix(in srgb, var(--attention-color) 10%, var(--color-white));
      }

      /* メールアドレス入力フォームの標準エラーメッセージを非表示 */
      .mktoEmailField + .mktoError {
        display: none !important;
      }

      .mktoErrorMsg,
      .mktoCustomErrorMsg {
        font-size: 0.875rem;
        color: var(--attention-color) !important;
        background: none;
        border: none;
        text-shadow: none;
        box-shadow: none;
        padding: 1rem 0;
        margin: 0;
        display: flex;
        gap: 0.4rem;
        max-width: 100%;
        line-height: 1;
        animation: errorFadeIn 0.3s ease forwards;

        &::before {
          content: url(/assets/images/global/icons/triangle-exclamation.svg);
        }
      }

      .mktoError {
        position: relative;
        right: 0 !important;
        bottom: 0 !important;

        .mktoErrorArrowWrap .mktoErrorArrow {
          display: none;
        }
      }
    }

    /* 送信ボタン */
    .mktoButtonRow {
      width: 100%;

      .mktoButtonWrap.mktoMinimal {
        .mktoButton {
          background-color: var(--color-accent);
          color: var(--color-dark-blue);
          font-size: 1rem;
          font-weight: 700;
          padding: 1rem;
          border-radius: 0.5rem;
          border: none;
          cursor: pointer;
          text-shadow: none;
          width: 100%;
          line-height: 1;
          box-shadow: 0.3rem 0.3rem 0 0 rgb(0 0 0 / 10%);
          display: flex;
          justify-content: center;
          align-items: center;
          gap: 0.5rem;
          transition: opacity 0.3s ease;

          &:hover {
            background-color: var(--color-accent);
            color: var(--color-dark-blue);
            opacity: 0.7;
            box-shadow: 0.3rem 0.3rem 0 0 rgb(0 0 0 / 10%);
          }

          &::after {
            content: url(/assets/images/global/icons/angle-right.svg);
            height: 1.5rem;
            width: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background-color: var(--color-white);
          }
        }
      }
    }
  }
}

@keyframes errorFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
