@charset "utf-8";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Hiragino Sans', 'Helvetica Neue', Arial, sans-serif;
	line-height: 1.6;
	color: #333;
}

header {
	background: #000;
	color: #f7f7f7;
	padding: 1rem 0;
	box-shadow: 1px 0px 8px #433e634d;
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

nav ul {
	display: flex;
	list-style: none;
	gap: 2rem;
}

nav a {
	color: #f7f7f7;
	text-decoration: none;
}

.sp {
	display: none;
}

.pc {
	display: block;
}

p {
	font-size: 0.9rem;
	color: #666;
}

/* ヘッダー */
.site-header {
	padding: 1rem;
	position: sticky;
	top: 0;
	z-index: 1000;
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
}

.logo {
	font-weight: bold;
}

.desktop-nav ul {
	display: flex;
	list-style: none;
	gap: 2rem;
}

.desktop-nav a {
	text-decoration: none;
}

.hamburger {
	display: none;
	flex-direction: column;
	gap: 4px;
	background: none;
	border: none;
}

.hamburger span {
	width: 24px;
	height: 2px;
	background: #f7f7f7;
}

.mobile-nav {
	display: none;
	flex-direction: column;
	background: white;
	position: absolute;
	top: 60px;
	right: 1rem;
	border: 1px solid #ccc;
}

.mobile-nav ul {
	list-style: none;
	padding: 1rem;
}

.mobile-nav a {
	text-decoration: none;
	color: black;
	display: block;
	padding: 0.5rem 0;
}

.inner {
	width: 1200px;
	margin: 0 auto;
}

.sinner {
	width: 900px;
	margin: 0 auto;
}

/* ヒーロー */
.hero {
	background:
		linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2)),
		url('./img/bk.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: white;
	padding: 4rem 2rem;
}

.hero-inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
}

.hero-text {
	width: 60%;
}

.hero-text h1 {
	font-size: 2.8rem;
	margin-bottom: 1.4rem;
	line-height: 1.3;
	letter-spacing: 0.2rem;
}

.hero-text p {
	margin-bottom: 1.5rem;
}

.outlined-text {
	font-size: 3.5rem;
	font-weight: bold;
	color: white;
	text-shadow:
		3px 3px 0 #000,
		-1px -1px 0 #000,
		1px -1px 0 #000,
		-1px 1px 0 #000,
		1px 1px 0 #000;
}

.subtext {
	font-size: 1.3rem;
	color: #000;
	font-weight: bold;
	margin: 1rem 0;
}

.circle {
	width: 160px;
	height: 160px;
	background-color: #1f0c99;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.circle-text .label {
	display: block;
	font-size: 0.9rem;
	color: #f6ed14;
	font-weight: bold;
	margin: 0 0 0.5rem;
}

.circle-text .number {
	display: block;
	font-size: 2.5rem;
	font-weight: bold;
	color: yellow;
	line-height: 1;
}

.circle-row {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 1rem;
}

.hero-form {
	flex: 1;
	min-width: 300px;
	background: #ffffffde;
	border-radius: 5px;
}

@media (max-width: 768px) {
	.desktop-nav {
		display: none;
	}

	.hamburger {
		display: flex;
	}

	.mobile-nav.active {
		display: flex;
	}

	.hero-inner {
		flex-direction: column;
		gap: 3rem;
	}

	.hamburger.open span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}

	.hamburger.open span:nth-child(2) {
		opacity: 0;
	}

	.hamburger.open span:nth-child(3) {
		transform: rotate(-45deg) translate(5px, -5px);
	}

	.hamburger span {
		transition: all 0.3s ease;
	}
}


main {
	margin: 0 auto;
	padding: 0;
}

section {
	margin: 0 0 3rem;
}

h1,
h2,
h3 {
	margin-bottom: 1.2rem;
	line-height: 1.4;
}

h2 {
	font-size: 2rem;
}

h2 span {
	font-size: 1.2rem;
}

h3 span {
	font-size: 1rem;
}

h3 {
	font-size: 1.6rem;
}

h4 {
	font-size: 1.2rem;
	margin-bottom: 0.6rem;
}

.textc {
	text-align: center;
}

.section-center {
	background: #f5f5f5;
	padding: 4rem 2rem;
	text-align: center;
	margin: 0 -2rem;
}

.section-light {
	background: #f7f7f7;
	padding: 10px;
}

.section-center h1 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.form-vertical {
	max-width: 600px;
	margin: 2rem auto;
}

.form-vertical input,
.form-vertical select,
.form-vertical button {
	width: 100%;
	padding: 0.8rem;
	margin: 0.5rem 0;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.form-vertical button {
	background: #333;
	color: white;
	cursor: pointer;
}

.trouble {
	position: relative;
	overflow: hidden;
	background-color: rgba(255, 255, 255, 0.5);
	margin: 6rem 0 0 !important;
	padding-bottom: 4rem;
}

.trouble::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -20px;
	/* 下に300pxずらす */
	width: 100%;
	height: 600px;
	/* 画像の高さ（調整可） */
	background: url(./img/bk3.png) bottom center no-repeat;
	background-size: cover;
	pointer-events: none;
	z-index: -9;
}

.trouble .card-border {
	background: #ffffff8f;
}

.weare {
	background: #1f0c99;
	color: #f6ed14;
	position: relative;
	padding: 3rem 0;
	text-align: center;
}

.weare::after {
	content: "";
	position: absolute;
	bottom: -50px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 80px solid transparent;
	border-right: 80px solid transparent;
	border-top: 50px solid #1f0c99;
}

.weare h2 {
	opacity: 0;
	transform: scale(0.95);
}

.weare h2.animate {
	animation: popZoomSmooth 1.6s cubic-bezier(0.22, 1, 0.36, 1) 1 forwards;
	opacity: 1;
}

@keyframes popZoomSmooth {
	0% {
		transform: scale(0.95);
		opacity: 0;
	}

	40% {
		transform: scale(1.08);
		opacity: 1;
	}

	70% {
		transform: scale(0.98);
	}

	100% {
		transform: scale(1);
		opacity: 1;
	}
}

.trouble img {
	max-width: 100%;
}

.flow {
	opacity: 0;
	transform: translateY(60px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.flow.appear {
	opacity: 1;
	transform: translateY(0);
}

.flex-row {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin: 2rem 0;
}

.circle-item {
	width: 100px;
	height: 100px;
	background: #ddd;
	border-radius: 50%;
}

.grid-2col {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem 4rem;
	margin: 6rem 0;
}

.grid-3col {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin: 2rem 0;
}

.grid-2col img {
	width: 100%;
}

.reason-image {
	max-width: 100%;
	width: 90%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.voice .grid-2col {
	margin: 0;
}

.voice .grid-2col > div:first-child {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.voice .card-bg {
	background: #fff;
	opacity: 0.9;
}

.voice {
	background:
		linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)),
		url('./img/bk.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 4rem 1rem;
	color: #444;
}

.voice p,
.voice .card-bg p {
	color: #111;
}

.card-border {
	padding: 2rem;
	border: 1px solid #ddd;
	border-radius: 8px;
}

.card-bg {
	padding: 1.5rem;
	background: #f6f6f6;
	border-radius: 8px;
	margin-bottom: 1rem;
}

.card-bg.with-image {
	display: flex;
	align-items: flex-start;
	padding: 1em;
	background-color: #f9f9f9;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-bg img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	margin: 0 0 1rem;
}

.image-small {
	width: 150px;
	height: 150px;
	flex-shrink: 0;
	overflow: hidden;
	margin-right: 1em;
	display: flex;
	align-items: center;
	justify-content: center;
}

.image-small img {
	max-width: 100%;
	max-height: 100% !important;
	object-fit: cover;
	height: auto;
}

.card-text h3 {
	margin: 0 0 0.5em;
	font-size: 1.2em;
}

.card-text p {
	margin: 0;
	font-size: 0.95em;
	line-height: 1.6;
}


.image-top {
	width: 100%;
	height: 200px;
	background: #ddd;
	margin-bottom: 1rem;
	border-radius: 4px;
}

.section-standard {
	margin: 6rem 0;
}

.grid-3col {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin: 2rem 0;
}

.card-center {
	text-align: center;
	padding: 2rem;
	background: #f9f9f9;
	border-radius: 8px;
}

.card-center h3::before {
	content: counter(step-counter);
	counter-increment: step-counter;
	font-size: 1.6rem;
	font-weight: bold;
	margin-right: 1rem;
}

.grid-3col {
	counter-reset: step-counter;
}

.section-dark {
	background: #1f0c99;
	color: white;
	padding: 4rem 2rem;
	text-align: center;
	margin: 3rem 0 0;
}

.section-dark button {
	background: #f6ed14;
	color: #333;
	padding: 1rem 0;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 1.1rem;
	margin-top: 1rem;
	font-weight: bold;
	width: 260px;
}

.section-dark button a {
	color: #000;
	text-decoration: none;
}

.section-dark p {
	color: #fff;
}

.image-circle {
	width: 80px;
	height: 80px;
	background: #ddd;
	border-radius: 50%;
	margin: 0 auto 1rem;
}

.highlight-underline {
	display: inline-block;
	position: relative;
	font-weight: bold;
	z-index: 0;
}

.highlight-underline::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0.1em;
	width: 100%;
	height: 0.6em;
	background: #fff176;
	/* 蛍光ペン風 */
	z-index: -1;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.6s ease-out;
}

.highlight-underline.appear::before {
	transform: scaleX(1);
}

.tecteam {
	background: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)), url(./img/bk2.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 4rem 1rem;
}

.selected {
	background: #1f0c99;
	margin: 6rem 0 0;
	padding: 4rem 0 6rem;
}

.selected h2 {
	text-align: center;
	color: #fff;
	margin: 0 0 2rem;
}

.reason-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 40px;
	margin: 0 auto;
}

.reason-box {
	background: #f6ed14;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	text-align: left;
	display: flex;
	align-items: center;
	gap: 10px;
}

.reason-box .check {
	font-size: 1.6rem;
	color: #000;
	font-weight: bold;
	flex-shrink: 0;
}

.reason-box p {
	font-size: 1.1rem;
	margin: 0;
	font-weight: bold;
	line-height: 1.5;
	color: #333;
}

.strength-container {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	background: url(./img/strength5.png) #ffffffd6;
	background-repeat: no-repeat;
	background-size: auto 100%;
	background-position: calc(100% + 5rem) center;
	height: 600px;
	padding-left: 1rem;
	padding-right: 40%;
	position: relative;
	border: 1px solid #eee;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.strength-text {
	max-width: 500px;
	padding: 2rem;
	border-radius: 8px;
	z-index: 1;
}

.strength-text h2 {
	font-size: 2rem;
	margin-bottom: 2rem;
}

.strength-text p {
	line-height: 1.8;
}

.fonts {
	font-size: 0.8rem;
}

.cases .card-bg span {
	color: #bb1111;
	font-weight: bold;
	font-size: 1.2rem;
}

footer {
	background: #333;
	color: white;
	padding: 2rem 0;
	margin-top: 4rem;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
	text-align: center;
}

footer p {
	color: #fff;
}

.faq-list {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	border: 1px solid #ddd;
	border-radius: 8px;
	margin-bottom: 1rem;
	overflow: hidden;
	transition: all 0.3s ease;
	background: #f9f9f9;
}

.faq-question {
	width: 100%;
	text-align: left;
	padding: 1rem;
	font-weight: bold;
	border: none;
	background: #fff;
	cursor: pointer;
	outline: none;
}

.faq-question::after {
	content: "▼";
	float: right;
	transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
	transform: rotate(180deg);
}

.faq-answer {
	display: none;
	padding: 1rem;
	background: #f9f9f9;
	border-top: 1px solid #ddd;
}

.faq-item.active .faq-answer {
	display: block;
}

.grid-2col.company {
	display: flex;
	gap: 2rem;
	align-items: flex-start;
}

.grid-2col.company > div:first-child {
	width: 40%;
	flex-shrink: 0;
}

.grid-2col.company > div:first-child img {
	width: 100%;
	height: auto;
	display: block;
}

.grid-2col.company > div:last-child {
	width: 60%;
}

.company h3 strong {
	color: #1f0c99;
}

.company-info table td:first-child {
	width: 200px;
	font-weight: bold;
	vertical-align: top;
}

.company-info table td {
	padding: 8px;

}

iframe .hsfc-Button {
	background-color: red !important;
}

.map-placeholder {
	margin: 3rem 0;
	width: 100%;
	height: 300px;
	overflow: hidden;
}

.map-placeholder iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.hsfc-Step .hsfc-Step__Content {
	padding: 10px !important;
}

#hs-form-virality-container {
	display: none !important;
}

@media (max-width: 768px) {
	.sp {
		display: block;
	}

	.pc {
		display: none;
	}

	.grid-2col {
		grid-template-columns: 1fr;
		gap: 1rem;
		margin: 3rem 0;
	}

	.grid-3col {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}

	.grid-3col .card-bg img {
		height: 120px;
		margin: 0 0 0.5rem;
	}

	.grid-2col .card-bg img {
		height: 140px;
	}

	.flex-row {
		flex-direction: column;
		align-items: center;
		gap: 0.5rem;
		margin: 1rem 0;
	}

	nav {
		flex-direction: column;
		gap: 1rem;
	}

	nav ul {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}

	.inner {
		width: 95%;
		margin: 0 auto;
	}

	.sinner {
		width: 90%;
		margin: 0 auto;
	}

	.hero-text h1 {
		font-size: 1.8rem;
		margin-bottom: 1.2rem;
		line-height: 1.4;
		text-align: center;
	}

	.hero-text {
		width: 100%;
	}

	.hero-text p {
		text-align: center;
	}

	.subtext {
		font-size: 1rem;
		text-align: left;
	}

	.circle-row {
		gap: 1%;
		justify-content: space-between;
	}

	.circle {
		width: calc(100% / 4 - 1%);
		aspect-ratio: 1 / 1;
		font-size: 1rem;
		height: auto;
		margin: 0;
		padding: 0;
	}

	.hero-form {
		width: 100%;
	}
	.fonts{
		font-size: 0.7rem;
	}

	.circle-text .number {
		font-size: 1.6rem;
		font-weight: bold;
	}

	.circle-text .label {
		font-size: 0.75rem;
		margin: 0 0 0.25rem;
	}

	h2 {
		font-size: 1.3rem;
	}

	h2 span,
	h3 span {
		font-size: 0.85rem;
	}

	h3 {
		font-size: 1.1rem;
	}

	h4 {
		font-size: 1rem;
	}

	p {
		font-size: 0.75rem;
	}

	.section-standard {
		margin: 5rem 0;
	}

	.card-text p {
		font-size: 0.8rem;
	}

	.hero {
		padding: 3rem 0 2rem;
		background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.3)), url('./img/bk.jpg');
		background-size: cover;
		background-repeat: no-repeat;
	}

	.card-bg {
		padding: 1rem;
		margin: 0;
	}

	.card-border {
		padding: 1rem;
	}

	.section-dark {
		padding: 2rem 0;
	}

	.section-dark button {
		width: 80%;
		padding: 0.8rem 0;
		font-size: 0.9rem;
		border-radius: 50px;
	}

	.company-info table td,
	.company-info table th {
		font-size: 0.8rem;
	}

	.company-info table td:first-child {
		width: 7em;
	}

	.weare {
		padding: 2rem 0;
		text-align: center;
	}

	.weare::after {
		bottom: -25px;
		border-left: 40px solid transparent;
		border-right: 40px solid transparent;
		border-top: 25px solid #1f0c99;
	}

	.weare h2 {
		margin-bottom: 0;
	}

	.cases .card-bg span {
		font-size: 0.9rem;
	}

	.strength-text h2 {
		font-size: 1.3rem;
	}

	.strength-container {
		background: #fff;
		height: auto;
		padding: 1rem;
	}

	.strength-text {
		max-width: auto;
		padding: 0.5rem;
	}

	.tecteam {
		padding: 2rem 1rem;
	}

	.tecteam img {
		max-width: 100%;
	}

	.card-text h3 {
		font-size: 1.1rem;
	}

	.voice {
		padding: 2rem;
	}

	.voice h2 {
		text-align: center;
	}

	.grid-2col.company {
		grid-template-columns: 1fr;
		flex-direction: column;
	}

	.grid-2col.company > div:first-child,
	.grid-2col.company > div:last-child {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.hero-form {
		opacity: 0;
		pointer-events: none;
		max-height: 0;
		overflow: hidden;
		transition: opacity 0.6s ease, max-height 0.6s ease;
	}

	.hero-form.visible {
		opacity: 1;
		pointer-events: auto;
		max-height: 1000px;
	}

	.show-form-btn {
		display: block;
		margin: 0 auto;
		font-weight: bold;
		padding: 1rem 1.5rem;
		font-size: 1rem;
		background-color: #be0b0b;
		color: #fff;
		border: none;
		border-radius: 3px;
		cursor: pointer;
		width: 80%;
	}
}

@media (min-width: 769px) {
	.show-form-btn {
		display: none;
	}

	.hero-form {
		display: block !important;
		opacity: 1 !important;
		pointer-events: auto;
	}
}
@media (min-width: 769px) and (max-width: 1024px) {
	.inner {
		width: 90%;
	}

	.sinner {
		width: 95%;
	}

	.hero-inner {
		flex-direction: column;
		gap: 2rem;
	}

	.hero-text,
	.hero-form {
		width: 100%;
	}

	.hero-text h1 {
		font-size: 2.3rem;
		text-align: center;
	}

	.subtext {
		font-size: 1.1rem;
		text-align: center;
	}

	.grid-2col {
		gap: 2rem;
		margin: 3rem 0;
	}

	.grid-3col {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
	.circle-row{
		gap:3%;
		justify-content: space-between;
	}

	.circle {
		width: calc(100% / 4 - 3%);
		aspect-ratio: 1 / 1;
		font-size: 1.2rem;
		height: auto;
	}

	.circle-text .number {
		font-size: 2rem;
	}

	.circle-text .label {
		font-size: 0.85rem;
	}

	.flex-row {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 1.5rem;
	}

	.strength-container {
        background-position: calc(100% + 5rem) center;
        height: auto;
        padding: 2rem;
        background-size: 80%;
    }

	.grid-2col.company {
		display:grid;
	}

	.grid-2col.company > div:first-child,
	.grid-2col.company > div:last-child {
		width: 100%;
	}

	.section-dark button {
		width: 60%;
		font-size: 1rem;
		padding: 1rem;
	}
}
.fixed-cta {
  display: none !important;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1f0c99;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.cta-button {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem 0;
  font-size: 0.85rem;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #160a70;
}

.cta-button i {
  font-size: 1rem;
  margin-right: 0.5rem;
}


@media screen and (max-width: 1024px) {
  .fixed-cta {
    display: none;
  }
	.fixed-cta.visible {
  display: flex !important;
}
}
#privacy h1{
	font-size: 2rem;
	text-align: center;
}
#privacy h2, #privacy h3{
	font-size:1.2rem;
}
#privacy p, #privacy ul li, #privacy ol li{
	font-size:0.9rem;
	color:#777;
	margin: 0 0 1rem;
}
#privacy ul li{
	list-style: disc;
	margin-left: 1rem;
}
#privacy ol li{
	list-style: decimal;
	margin-left:1rem;
}
#privacy .link1 a{
background: #1f0c99;
    color: #fff;
    padding: 1rem;
    display: block;
    min-width: 280px;
    text-decoration: none;
    text-align: center;
    width: fit-content;
    margin: 2rem auto;
    border-radius: 8px;
}