@charset "utf-8";

/* service/web/（Webサイト制作・分析改善） */
/* ============================================ */
/* clamp基準: .width内=1664~896 / フルワイド要素=1920~896 */
/* ヒーロー・制作実績・FAQ・CTA・関連サービスはサービス詳細LP共通（service-detail.css）を使用 */

/* 強調テキスト */
/* ============================================ */

.service-web__em {
  font-style: normal;
  color: var(--main_c);
}


/* なぜ、プロフィックスが選ばれ続けるのか */
/* ============================================ */

.service-web__reason {
  position: relative;
  z-index: 1; /* 装飾(.service-detail__bg)より前面 */
  padding-bottom: 192px;
  @media (width <= 896px) {
    padding-bottom: 64px;
  }
}
.service-web__reason-wrap {
  position: relative;
  z-index: 1;
}
.service-web__reason-body {
  display: flex;
  align-items: flex-start;
  gap: 48px 32px;
  margin-top: 128px;
  padding-left: 48px;
  @media (width <= 1367px) {
    flex-direction: column;
    margin-top: 64px;
  }
  @media (width <= 896px) {
    gap: 32px;
    margin-top: 40px;
    padding-left: 0;
  }
}
.service-web__reason-lead {
  flex-shrink: 0;
  width: 450px;
  @media (width <= 1367px) {
    width: auto;
  }
}
.service-web__reason-catch {
  font-family: var(--font_display);
  font-weight: 900;
  font-size: var(--fs_xl); /* 40~28 */
  line-height: 1.6;
  letter-spacing: .1em;
}
.service-web__reason-txt {
  margin-top: 32px;
  font-size: var(--fs_ms); /* 18~16 */
  line-height: 1.8;
  @media (width <= 896px) {
    margin-top: 20px;
  }
}
.service-web__reason-list {
  flex: 1;
  min-width: 0;
  width: 100%;
  list-style: none;
}
.service-web__reason-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px 64px;
  padding-top: 35px;
  @media (width <= 896px) {
    flex-direction: column;
    padding-top: 24px;
  }
  /* 項目上の緑ライン */
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: min(228px, 60%);
    height: 1px;
    background: var(--main_c);
    @media (width <= 896px) {
      width: min(120px, 60%);
    }
  }
}
.service-web__reason-item + .service-web__reason-item {
  margin-top: 40px;
  @media (width <= 896px) {
    margin-top: 32px;
  }
}
.service-web__reason-no {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  @media (width <= 896px) {
    align-items: baseline;
    gap: 8px;
    width: auto;
    padding-right: 0;
  }
}
.service-web__reason-no-en {
  flex-shrink: 0;
  display: inline-block;
  writing-mode: vertical-rl;
  font-family: var(--font_en);
  font-weight: 800;
  font-size: calc((14 / 16) * 1rem); /* 14px */
  line-height: 1;
  letter-spacing: .07em;
  color: var(--main_c);
  @media (width <= 896px) {
    writing-mode: horizontal-tb;
  }
}
.service-web__reason-no-num {
  width: 1.5em;
  display: inline-block;
  white-space: nowrap;
  font-family: var(--font_en);
  font-weight: 600;
  font-size: clamp(2rem, 0.1042rem + 3.3854vw, 3.625rem); /* 58~32(1664~896) */
  line-height: 1;
  letter-spacing: .04em;
  color: var(--main_c);
}
.service-web__reason-detail {
  display: flex;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
  @media (width <= 896px) {
    flex-direction: column;
  }
}
.service-web__reason-dl {
  flex: 1;
  min-width: 0;
  padding-right: 30px;
  @media (width <= 896px) {
    padding-right: 0;
  }
}
.service-web__reason-ttl {
  word-break: keep-all;
  font-size: var(--fs_ml); /* 24~20 */
  font-weight: 600;
  line-height: 1.8;
}
.service-web__reason-desc {
  margin-top: 16px;
  font-size: var(--fs_m); /* 16~14 */
  line-height: 1.8;
  letter-spacing: .06em;
}
.service-web__reason-fig {
  flex-shrink: 0;
  width: 300px;
  @media (width <= 1367px) {
    width: 240px;
  }
  @media (width <= 896px) {
    width: 100%;
    margin-top: 20px;
  }
}
.service-web__reason-img {
  display: block;
  width: 100%;
  aspect-ratio: 300 / 154;
  object-fit: cover;
  border-radius: 4px;
}


/* サイト制作の流れ */
/* ============================================ */

.service-web__flow {
  position: relative;
  z-index: 1; /* 装飾(.service-detail__bg)より前面 */
  padding-block: 192px;
  @media (width <= 896px) {
    padding-block: 64px;
  }
}
.service-web__flow-wrap {
  position: relative;
  z-index: 1;
}
.service-web__flow-body {
  margin-top: 64px;
  padding-left: 48px;
  @media (width <= 896px) {
    margin-top: 32px;
    padding-left: 0;
  }
}
.service-web__flow-catch {
  font-family: var(--font_display);
  font-weight: 900;
  font-size: var(--fs_xl); /* 40~28 */
  line-height: 1.6;
  letter-spacing: .1em;
}
.service-web__flow-txt {
  margin-top: 32px;
  font-size: var(--fs_ms); /* 18~16 */
  line-height: 1.8;
  @media (width <= 896px) {
    margin-top: 20px;
  }
}
/* SPは4枚を横スクロールで見せる */
.service-web__flow-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-block: 4px 12px;
  @media (width <= 1367px) {
    margin-inline: -96px -48px;
  }
  @media (width <= 896px) {
    margin-inline: -20px;
  }
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* 旧Edge・IE */
  &::-webkit-scrollbar {
    display: none;
  }
}
.service-web__flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(286px, 1fr));
  grid-auto-flow: column;
  gap: 24px;
  margin-top: 40px;
  list-style: none;
  @media (width <= 1367px) {
    padding-left: 96px;
  }
  @media (width <= 896px) {
    grid-template-columns: repeat(4, 286px);
    gap: 8px;
    margin-top: 24px;
    padding-left: 20px;
  }
}
.service-web__flow-list::after {
  content: none;
  @media (width <= 1367px) {
    content: "";
    grid-column: 5;
    width: 72px;
  }
  @media (width <= 896px) {
    width: 20px;
  }
}
.service-web__flow-card {
  position: relative;
  padding: 40px 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 12px color-mix(in srgb, #000 5%, transparent);
  @media (width <= 896px) {
    padding: 32px 24px;
  }
  &::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 44px;
    left: -12px;
    right: -12px;
    height: 1px;
    background-image: radial-gradient(circle closest-side, var(--main_c) 100%, transparent 100%);
    background-size: 6px 2px;
    background-repeat: repeat-x;
    background-position: left center;
    @media (width <= 896px) {
      top: 36px;
      left: -4px;
      right: -4px;
    }
  }
  &:first-child::before {
    left: 36px;
    @media (width <= 896px) {
      left: 28px;
    }
  }
  &:last-child::before {
    right: calc(100% - 36px);
    @media (width <= 896px) {
      right: calc(100% - 28px);
    }
  }
}
.service-web__flow-dot {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--main_c);
  border-radius: 50%;
}
.service-web__flow-phase {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 24px;
  font-family: var(--font_en);
  font-weight: 800;
  font-size: calc((14 / 16) * 1rem); /* 14px */
  line-height: 1;
  letter-spacing: .07em;
  text-transform: capitalize;
  color: var(--main_c);
  @media (width <= 896px) {
    margin-top: 16px;
  }
}
.service-web__flow-ttl {
  margin-top: 8px;
  font-size: var(--fs_mm); /* 20~16 */
  font-weight: 600;
  line-height: 1.8;
}
.service-web__flow-sub {
  display: block;
  font-size: calc((14 / 20) * 1em); /* 14px */
  font-weight: 400;
  letter-spacing: .06em;
}
.service-web__flow-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  list-style: none;
  @media (width <= 896px) {
    margin-top: 16px;
  }
}
.service-web__flow-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: var(--fs_m); /* 16~14 */
  line-height: 1.8;
  letter-spacing: .06em;
  /* チェックマーク（2辺のボーダーを45度回転して表現） */
  &::before {
    content: "";
    flex-shrink: 0;
    width: 6px;
    height: 11px;
    margin: 7px 7px 0 4px;
    border-right: 2px solid var(--main_c);
    border-bottom: 2px solid var(--main_c);
    rotate: 45deg;
  }
}


/* 制作期間の目安 */
/* ============================================ */

.service-web__term {
  position: relative;
  margin-top: 64px;
  padding-top: 35px;
  @media (width <= 896px) {
    margin-top: 40px;
    padding-top: 24px;
  }
  /* 見出し上の緑ライン */
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: min(228px, 60%);
    height: 1px;
    background: var(--main_c);
    @media (width <= 896px) {
      width: min(120px, 60%);
    }
  }
}
.service-web__term-ttl {
  font-size: calc((24 / 16) * 1rem); /* 24px */
  font-weight: 600;
  line-height: 1.8;
  color: var(--main_c);
}
.service-web__term-scroll {
  margin-top: 32px;
  overflow-x: auto;
  /* スクロール発生時に右側へ余白が出ないよう、右のみ画面端までブレードアウトしてpaddingで元の幅を保つ（左は固定列の下にスクロール内容が見えるため広げない） */
  @media (width <= 1367px) {
    margin-right: -48px;
    padding-right: 48px;
  }
  @media (width <= 896px) {
    margin-top: 24px;
    margin-right: -20px;
    padding-right: 20px;
  }
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* 旧Edge・IE */
  &::-webkit-scrollbar {
    display: none;
  }
}
.service-web__term-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: clip;
  @media (width <= 896px) {
    border-radius: 8px;
  }
}
.service-web__term-th {
  padding: 16px 24px;
  background: var(--main_c);
  color: #fff;
  font-size: var(--fs_m); /* 16~14 */
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: .06em;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  @media (width <= 896px) {
    padding: 12px 16px;
  }
}
.service-web__term-phase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 4px;
  font-family: var(--font_en);
  font-weight: 800;
  font-size: calc((12 / 16) * 1rem); /* 12px */
  line-height: 1;
  letter-spacing: .08em;
  text-transform: capitalize;
}
.service-web__term-phase-ttl {
  display: block;
}
.service-web__term-head {
  word-break: keep-all;
  width: 20%;
  padding: 16px 24px;
  background: var(--bg_c);
  border-bottom: 1px solid var(--line_c);
  font-weight: 400;
  text-align: left;
  vertical-align: middle;
  @media (width <= 896px) {
    min-width: 143px;
    padding: 12px 16px;
  }
}
.service-web__term-head-num {
  display: block;
  font-size: var(--fs_m); /* 16~14 */
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: .06em;
}
.service-web__term-head-note {
  display: block;
  font-size: calc((12 / 16) * 1rem); /* 12px */
  line-height: 1.6;
}
.service-web__term-td {
  padding: 16px 24px;
  background: #fff;
  border-bottom: 1px solid var(--line_c);
  font-size: var(--fs_m); /* 16~14 */
  font-weight: 600;
  letter-spacing: .06em;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  @media (width <= 896px) {
    padding: 12px 16px;
  }
}
/* 最終行は下線を消して角を丸める */
.service-web__term-row:last-child {
  .service-web__term-head {
    border-bottom: 0;
    border-bottom-left-radius: 16px;
  }
  .service-web__term-td {
    border-bottom: 0;
  }
  .service-web__term-td:last-child {
    border-bottom-right-radius: 16px;
  }
}
/* 1列目を固定して残りを横スクロールさせる */
.service-web__term-th--head,
.service-web__term-head {
  position: sticky;
  left: 0;
  z-index: 1;
}
.service-web__term-caution {
  margin-top: 16px;
  list-style: none;
}
.service-web__term-caution-item {
  display: flex;
  gap: 4px;
  font-size: calc((12 / 16) * 1rem); /* 12px */
  line-height: 1.8;
  letter-spacing: .08em;
  color: #6b7269;
  &::before {
    content: "※";
    flex-shrink: 0;
  }
}


/* 自社開発CMS「Camel」 */
/* ============================================ */

.service-web__cms {
  position: relative;
  z-index: 1; /* 装飾(.service-detail__bg)より前面 */
  padding-block: 192px;
  background: color-mix(in srgb, #fff 60%, transparent);
  -webkit-backdrop-filter: blur(47px);
  backdrop-filter: blur(47px);
  @media (width <= 896px) {
    padding-block: 64px;
  }
}
.service-web__cms-wrap {
  position: relative;
  z-index: 1;
}
.service-web__cms-body {
  display: flex;
  align-items: center;
  gap: 56px;
  margin-top: 64px;
  margin-right: calc((50cqw - 50vw));
  padding-left: 48px;
  @media (width <= 1025px) {
    flex-direction: column;
    align-items: stretch;
    margin-right: 0;
    padding-left: 0;
  }
  @media (width <= 896px) {
    margin-top: 32px;
    gap: 40px;
  }

}
.service-web__cms-contents {
  flex: 1;
  min-width: 0;
}
.service-web__cms-visual {
  flex-shrink: 0;
  width: calc((851 / 1664) * 100cqw);
  @media (width <= 1025px) {
    order: -1;
    width: auto;
    max-width: 600px;
    margin-right: calc(50cqw - 50vw);
    margin-left: auto;
  }
  img {
    width: 100%;
    max-width: none;
  }
}
.service-web__cms-visual-img {
  display: block;
  width: 100%;
}
.service-web__cms-catch {
  word-break: keep-all;
  font-family: var(--font_display);
  font-weight: 900;
  font-size: var(--fs_xl); /* 40~28 */
  line-height: 1.6;
  letter-spacing: .1em;
}
.service-web__cms-txt {
  margin-top: 32px;
  font-size: calc((18 / 16) * 1rem); /* 18px */
  line-height: 1.8;
  @media (width <= 896px) {
    margin-top: 20px;
  }
}
.service-web__cms-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 40px;
  list-style: none;
  @media (width <= 896px) {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
}
.service-web__cms-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px;
  background: #fff;
  border-radius: 16px;
  @media (width <= 896px) {
    padding: 24px;
  }
}
.service-web__cms-icon {
  width: 100%;
  max-width: 90px;
  margin-inline: auto;
  img {
    display: block;
    width: 100%;
    max-width: none;
  }
}
.service-web__cms-ttl {
  margin-top: 10px;
  word-break: keep-all;
  font-size: var(--fs_ms); /* 18~16 */
  font-weight: 600;
  text-align: center;
  color: #2e3438;
}
.service-web__cms-desc {
  margin-top: 10px;
  font-size: var(--fs_m); /* 16~14 */
  line-height: 1.8;
  letter-spacing: .06em;
}
.service-web__cms-bnr {
  margin-top: 40px;
  @media (width <= 896px) {
    margin-top: 24px;
  }
}
.service-web__cms-bnr-link {
  display: block;
}
.service-web__cms-bnr-img {
  display: block;
  width: 100%;
}
/* その他のCMS */
.service-web__cms-other {
  margin-top: 64px;
  padding-left: 48px;
  @media (width <= 1025px) {
    padding-left: 0;
  }
  @media (width <= 896px) {
    margin-top: 48px;
  }
}
.service-web__cms-other-heading {
  padding: 16px 0 16px 24px;
  border-left: 2px solid var(--main_c);
  font-size: var(--fs_l); /* 32~24 */
  font-weight: 700;
  line-height: 1.375;
  @media (width <= 896px) {
    padding-block: 4px;
  }
}
.service-web__cms-other-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 24px;
  list-style: none;
  @media (width <= 896px) {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.service-web__cms-other-item {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--main_c);
  border-radius: 24px;
  @media (width <= 896px) {
    padding: 24px;
    border-radius: 16px;
  }
}
.service-web__cms-other-ttl {
  word-break: keep-all;
  font-size: var(--fs_ms); /* 18~16 */
  font-weight: 600;
  line-height: 2;
  color: var(--main_c);
}
.service-web__cms-other-desc {
  margin-top: 10px;
  font-size: var(--fs_m); /* 16~14 */
  line-height: 1.8;
  letter-spacing: .06em;
}


/* CTAエリア（中身は共通の .service-detail__cta） */
/* ============================================ */

.service-web__cta-area {
  position: relative;
  z-index: 1; /* 装飾(.service-detail__bg)より前面 */
  padding-block: 192px;
  @media (width <= 896px) {
    padding-block: 64px;
  }
}
.service-web__cta-wrap {
  position: relative;
  z-index: 1;
}
