/*
CTC Separate Stylesheet
Updated: 2025-01-07
Theme Name: SoftEdge2026
Theme URI: https://soft-edge.jp
Template: understrap
Author: Yuko Shibato
Author URI: https://soft-edge.jp
Description: ソフトエッジ社用デザインテーマ
Version: 1.2.4
*/

:root {
  --bs-body-font-family:
    "Noto Sans Mono",
    "JetBrains Mono",
    "SFMono-Regular",
    "Menlo",
    "Consolas",
    monospace;
	/* Card設定 */
  --card-radius: 9px;
	/* Gradetion設定 */
  --card-accent: 255, 140, 0; /* RGBだけ */
}

@media (max-width: 768px) {
  h1.has-large-font-size,
  h2.has-large-font-size,
  h3.has-large-font-size {
    font-size: 1.6rem !important;
  }
}

@font-face {
  font-family: "MixedFont";
  src: local("JetBrains Mono");
  unicode-range: U+0020-007F; /* 半角英数字・記号 */
}

@font-face {
  font-family: "MixedFont";
  src: local("Noto Sans JP");
  unicode-range: U+3000-30FF, U+4E00-9FFF; /* 日本語 */
}

body {
  font-family: "MixedFont", sans-serif;
  color:#333;
}

a:link {
	text-decoration:none;
}

a {
	color: black;
}
a:hover {
	color:dodgerblue;
}

@media (max-width: 768px) {
article {
	/*padding-right:10px !important;*/
}
}

.navbar {
  /* padding: 1.2rem 0;　*/
}

.navbar-nav.ms-auto a {
  display: inline-block;
  background: #000;
  color: #fff;
  border-radius: 10px;
  padding: 0.5rem 2rem !important;
  font-size: small;
  white-space: nowrap;
}

.navbar-brand img {
    width: 70%;
}
@media screen and (max-width: 768px) {
	.nav-link {
	color:#fff !important;
	border-bottom:1px dashed #666;
	padding:1em 0;
	}
}

.wrapper {
	padding: 0 0 0 0 !important;
}
.navbar {
	padding: 1.2rem 3rem !important;
	transition: box-shadow 0.3s ease, background-color 0.3s ease;
	box-shadow: none;
}
/* スクロール後 */
.navbar.is-scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

@media screen and (max-width: 768px) {
	.navbar {
		padding: 0.8rem !important;
	}
}

.site-footer {
  background: #222;
  color: #ccc;
  padding: 3rem 1rem 2rem;
  font-size: .85rem;
}

.footer-brand {
  font-size: 1.4rem;
  margin-bottom: .3rem;
  color: #fff;
}

.footer-tagline {
  font-size: .9rem;
  color: #aaa;
}

.footer-menu {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.footer-menu a {
  color: #ccc;
  text-decoration: none;
}
@media (max-width: 768px) {
  .footer-menu a {
    flex-direction: column;
    align-items: flex-start;
  }
	.footer-menu {
		display: block;
		justify-content: center;
		gap: inherit;
		list-style: circle;
		padding: 0 0 0 10px;
		margin: 2rem 0 0;
		border-left: 5px solid #555;
		line-height: 2.2rem;
	}
}
.footer-menu a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.footer-area {
  margin-bottom: .2rem;
}

.container-fluid {
	padding: 0 !important;
}

.container2 {
  max-width: 750px;
  margin: auto !important;
}
.container3 {
  max-width: 980px;
  margin: auto !important;
}
.container4 {
  max-width: 780px;
  margin: auto !important;
}
.d-block {
	display:block !important;
	position: relative;
}
.p-ex {
	padding:10rem 1rem;
}
.p-lx {
	padding:7rem 1rem;
}
.p-sx {
	padding:3rem 1rem;
}
@media (max-width: 768px) {
  .p-ex {
	padding:5rem 1rem;
 	margin-bottom:0;
  }
	.p-lx {
		padding:4rem 1rem;
		margin-bottom:0;
	}
	.p-sx {
		padding:1rem 1rem;
		margin-bottom:0;
	}
}


/* pagination 全体 */
.page-numbers {
  display: flex;
  justify-content: center;
  list-style: none;
  padding-left: 0;
  gap: .25rem;
}

/* li */
.page-numbers li {
  display: block;
}

/* link / current */
.page-numbers a,
.page-numbers span {
  display: block;
  padding: .5rem .75rem;
  border: 1px solid #dee2e6;
  border-radius: .25rem;
  color: $color == "dark";
  text-decoration: none;
  background-color: #fff;
}

/* hover */
.page-numbers a:hover {
  background-color: #e9ecef;
}

/* current（Bootstrapの .active 相当） */
.page-numbers .current {
  background-color: lightgray;
  color: $color == "dark"";
  border-color: $color == "dark";
}

/* prev / next */
.page-numbers .prev,
.page-numbers .next {
  font-weight: bold;
}


/* CTA設定 */
.service_card_wrap {
	position: relative;
	display: block;
	width: 100%;
	border-radius: var(--card-radius);
	color: inherit;
	text-decoration: none;
}
.service_card_wrap:link {
	color:#333;
}

.service_card_wrap:hover .service_column {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
	
}

/* 共通グラデ土台 */
.service_card_wrap::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(0 * var(--card-radius));
	height: 8px;
	border-bottom-left-radius: var(--card-radius);
	border-bottom-right-radius: var(--card-radius);
	pointer-events: none;
	z-index: 5;
}

.web_bg::after {
	background: linear-gradient(
		to right,
		rgba(224, 248, 246, 0.8),
		rgba(230, 246, 97, 0.8), 
		rgba(242, 161, 111, 0.8) 
	);
}

.listing_bg::after {
	background: linear-gradient(
		to right,
		rgba(232, 255, 251, 0.9),
		rgba(159, 241, 255, 0.9),
		rgba(138, 155, 255, 0.9),
		rgba(255, 92, 244, 0.9)
	);
}

.seo_bg::after {
	background: linear-gradient(
		to right,
		rgba(230, 255, 251, 0.95),
		rgba(221, 237, 234, 0.95),
		rgba(191, 214, 232, 0.95),
		rgba(143, 183, 230, 0.95),
		rgba(74, 144, 226, 0.95)
	);
}

.lp_bg::after {
	background: linear-gradient(
		to right,
		rgba(255, 77, 109, 0.9),
		rgba(255, 170, 76, 0.9),
		rgba(255, 222, 89, 0.85)
	);
}

.group_bg::after {
	background: linear-gradient(
		to right,
		rgba(0, 120, 255, 0.85),
		rgba(0, 200, 180, 0.85),
		rgba(120, 230, 200, 0.8)
	);
}

.illust_bg::after {
	background: linear-gradient(
	to right,
		rgba(180, 120, 255, 0.85),
		rgba(255, 120, 200, 0.85),
		rgba(255, 190, 230, 0.8)
	);
}

.service_column {
	position: relative;
	background-size: cover;
	background-position: center;
	border-radius: var(--card-radius);
	overflow: hidden; 
	min-height: 320px;
	z-index: 1;
	transition:
	transform 0.25s ease,
	box-shadow 0.25s ease;
}
.service_cta_web {
	background-image: url(/wp-content/uploads/2026/01/cta_web.png);
}
.service_cta_listing {
	background-image: url(/wp-content/uploads/2026/01/cta_listing.png);
}
.service_cta_seo {
	background-image: url(/wp-content/uploads/2026/01/cta_seo.png);
}
.service_cta_lp {
	background-image: url(/wp-content/uploads/2026/01/cta_lp.png);
}
.service_cta_group {
	background-image: url(/wp-content/uploads/2026/01/cta_group.png);
}
.service_cta_illust {
	background-image: url(/wp-content/uploads/2026/01/cta_illust.png);
}
.service_column .service_body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.75);
	color: #fff;
	z-index: 3;
	border-bottom-left-radius: var(--card-radius);
	border-bottom-right-radius: var(--card-radius);
}

.service_column_title {
	padding-top: 9rem; 
	padding-inline: 1rem;
}

@media (max-width: 768px) {
	.service_column {
		min-height: 260px;
	}
}

/* POST ARCHIVES LIST SETTING */
.post-card {
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.post-card:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.post-card-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.post-card-excerpt {
  color: #666;
  font-size: .8rem;
  line-height: 1.5;
}

.post-card-thumb img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* 中身 */
.post-card-body {
  padding: 1.2rem 1.4rem 1.6rem;
}

.recommend-box {
  max-width: 900px;
  padding: 2.5rem 2rem;
  border: 2px solid #eee;
  border-radius: 16px;
  background-color: #fff;
}

.recommend-title {
  position: relative;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
}

/* 左右のライン */
.recommend-title::before,
.recommend-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 120px;
  height: 4px;
  background-color: #eee;
}
@media (max-width: 480px) {
  .recommend-title::before,
  .recommend-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 4px;
  background-color: #eee;
}
}

.recommend-title::before {
  left: 0;
}

.recommend-title::after {
  right: 0;
}

/* リスト */
.recommend-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0;
}

.recommend-list li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.faq {
  margin: 0 auto;
  padding: 4rem 1rem 0 1rem;
}
.faq-q {
  position: relative;
  padding: 1.2rem 1.5rem;
  border: 2px dotted #bbb;
  border-radius: 12px;
  font-weight: 600;
  background: #fff;
}
.faq-item:last-child {
  margin-bottom: 0;
}
/* 吹き出しのしっぽ */
.faq-q::before {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 40px;
  border-width: 14px 10px 0;
  border-style: solid;
  border-color: #bbb transparent transparent;
}

.faq-q::after {
  content: "";
  position: absolute;
  bottom: -11px;
  left: 41px;
  border-width: 12px 9px 0;
  border-style: solid;
  border-color: #fff transparent transparent;
}

.faq-q-label {
  margin-right: 0.5em;
}

.faq-q-text {
  line-height: 1.6;
}

.faq-a {
  margin-top: 1.2rem;
  padding-left: 0.5rem;
}

.faq-a p {
  margin: 0;
  line-height: 1.8;
  color: #333;
}

.faq-item {
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .faq-q {
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
  }

  .faq-q::before {
    left: 24px;
  }

  .faq-q::after {
    left: 25px;
  }

  .faq-item {
    margin-bottom: 2.2rem;
  }
}
