@charset "UTF-8";
/*
 * 税理士紹介ドットコム リニューアル案 base.css
 *
 * 1. Variables
 * 2. Reset
 * 3. Base
 * 4. Layout
 * 5. Section head
 * 6. Buttons
 * 7. Icons
 * 7b. Backgrounds（有機的な図形・透かし文字・メッシュグラデーション。caretsuku と同じ作り）
 * 8. Utilities（スクロールで出てくる演出 .rv を含む）
 */

/* Variables
----------------------------------------------------------- */
:root {
	--c-main: #1a9aab;
	--c-main-dk: #117b8a;
	--c-main-lt: #e8f5f7;
	--c-navy: #1d3346;
	--c-text: #2b3640;
	--c-sub: #5f6b75;
	--c-line: #dde4e8;
	--c-bg: #f5f8f9;
	--c-cta: #e8743b;
	--c-cta-dk: #cf5f28;
	--c-white: #fff;
	--font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	--w-in: 1120px;
	--sec-pad: 96px;
	--sec-pad-sp: 64px;
	--head-size: 30px;
	--head-size-sp: 23px;
	--gap-head: 44px;
	--gap-head-sp: 32px;
	--gap-body: 24px;
	--radius: 6px;
	--g-main: linear-gradient(180deg, #27b6c7 0%, #1a9aab 55%, #138897 100%);
	--g-cta: linear-gradient(180deg, #ffa25a 0%, #f47a33 55%, #e5631f 100%);
	--g-navy: linear-gradient(135deg, #0f6f7d 0%, #1a9aab 100%);
	--sh-main: 0 6px 16px rgba(17, 123, 138, .16);
	--sh-cta: 0 6px 16px rgba(229, 99, 31, .2);
	--sh-card: 0 10px 30px rgba(29, 51, 70, .06);
	--sh-hover: 0 14px 34px rgba(29, 51, 70, .09);
}

/* Reset
----------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
table {
	margin: 0;
	padding: 0;
}

ul,
ol {
	list-style: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
}

/* Base
----------------------------------------------------------- */
html {
	scroll-behavior: smooth;
}

body {
	background: var(--c-white);
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.8;
	color: var(--c-text);
}

/* Layout
----------------------------------------------------------- */
.in {
	width: 100%;
	max-width: calc(var(--w-in) + 48px);
	margin: 0 auto;
	padding: 0 24px;
}

.sec {
	padding: var(--sec-pad) 0;
}

.sec.bg {
	background: var(--c-bg);
}

@media screen and ( max-width:760px ) {
	.in {
		padding: 0 18px;
	}

	.sec {
		padding: var(--sec-pad-sp) 0;
	}
}

/* Section head
----------------------------------------------------------- */
.sec_head {
	margin-bottom: var(--gap-head);
	text-align: center;
}

.sec_head .label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 3px;
	color: var(--c-main-dk);
}

.sec_head .label::before,
.sec_head .label::after {
	content: "";
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--c-cta);
}

.sec_head h2 {
	font-size: var(--head-size);
	font-weight: 900;
	line-height: 1.5;
	color: var(--c-navy);
}

.sec_head .lead {
	margin-top: 14px;
	font-size: 15px;
	color: var(--c-sub);
}

.sec_head.white .label,
.sec_head.white h2 {
	color: var(--c-white);
}

.sec_head.white .lead {
	color: rgba(255, 255, 255, .82);
}

@media screen and ( max-width:760px ) {
	.sec_head {
		margin-bottom: var(--gap-head-sp);
	}

	.sec_head h2 {
		font-size: var(--head-size-sp);
	}

	.sec_head .lead {
		font-size: 14px;
		text-align: left;
	}
}

/* Buttons
----------------------------------------------------------- */
.btn {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 15px 22px 15px 30px;
	border: 0;
	border-radius: 999px;
	background: var(--g-main);
	box-shadow: var(--sh-main);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .5px;
	color: var(--c-white);
	transition: transform .15s, box-shadow .15s, filter .2s;
}

.btn:hover {
	box-shadow: 0 10px 22px rgba(17, 123, 138, .2);
	filter: brightness(1.05);
	transform: translateY(-2px);
}

.btn:active {
	box-shadow: 0 2px 6px rgba(17, 123, 138, .15);
	transform: translateY(1px);
}

.btn.cta {
	background: var(--g-cta);
	box-shadow: var(--sh-cta);
}

.btn.cta:hover {
	box-shadow: 0 10px 22px rgba(229, 99, 31, .26);
}

.btn.cta:active {
	box-shadow: 0 2px 6px rgba(229, 99, 31, .18);
}

/* CTA はときどき光が走る */
.btn.cta::before {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	width: 40%;
	height: 100%;
	background: linear-gradient(110deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 100%);
	transform: skewX(-20deg);
	animation: btn_shine 4s ease-in-out infinite;
}

.btn.line {
	padding: 13px 20px 13px 28px;
	border: 1.5px solid var(--c-main);
	background: var(--c-white);
	box-shadow: none;
	color: var(--c-main-dk);
	text-shadow: none;
}

.btn.line:hover {
	background: var(--c-main-lt);
	box-shadow: none;
	filter: none;
}

.btn.line:active {
	box-shadow: none;
}

.btn .free {
	flex-shrink: 0;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--c-white);
	font-size: 12px;
	line-height: 1.3;
	letter-spacing: 1px;
	color: var(--c-cta-dk);
	text-shadow: none;
}

.btn .arw {
	position: relative;
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .25);
	transition: transform .2s;
}

.btn .arw::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 44%;
	width: 7px;
	height: 7px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: translate(-50%, -50%) rotate(45deg);
}

.btn.line .arw {
	background: var(--c-main-lt);
}

.btn:hover .arw {
	transform: translateX(3px);
}

.more_link {
	margin-top: 40px;
	text-align: center;
}

@keyframes btn_shine {
	0%,
	65% {
		left: -60%;
	}

	100% {
		left: 130%;
	}
}

/* Icons
----------------------------------------------------------- */
.ic_sprite {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
}

.ic {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border-radius: 14px;
	background: var(--c-main-lt);
	color: var(--c-main-dk);
}

.ic svg {
	width: 60%;
	height: 60%;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Backgrounds
----------------------------------------------------------- */
/* .blob は左右の端にだけはみ出させる。上下にはみ出すとセクションの境目で平らに切れて見えるため、top / bottom は 0 以上にする */
.blob {
	position: absolute;
	border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
	background: var(--c-main-lt);
	pointer-events: none;
}

.wm {
	position: absolute;
	left: 0;
	right: 0;
	overflow: hidden;
	font-family: "Outfit", var(--font);
	font-size: 170px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 4px;
	white-space: nowrap;
	color: rgba(26, 154, 171, .06);
	user-select: none;
	pointer-events: none;
}

.wm.white {
	color: rgba(255, 255, 255, .07);
}

/* メッシュグラデーション＋ザラつき。中身は .in を z-index で上に載せる */
.mesh {
	position: relative;
	overflow: hidden;
}

.mesh::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	opacity: .45;
	mix-blend-mode: overlay;
	pointer-events: none;
}

.mesh > .in {
	position: relative;
	z-index: 1;
}

.mesh_light {
	background:
		radial-gradient(at 8% 12%, #d3eff1 0, transparent 45%),
		radial-gradient(at 92% 10%, #e2f1f8 0, transparent 40%),
		radial-gradient(at 85% 88%, #c6e7ea 0, transparent 50%),
		radial-gradient(at 15% 90%, #ecf7f7 0, transparent 45%),
		#e8f4f5;
}

.mesh_sky {
	background:
		radial-gradient(at 10% 10%, #e5f4f8 0, transparent 45%),
		radial-gradient(at 90% 15%, #d6eef0 0, transparent 40%),
		radial-gradient(at 80% 90%, #ddf0f4 0, transparent 50%),
		radial-gradient(at 12% 88%, #f0f9f8 0, transparent 45%),
		#edf6f7;
}

.mesh_teal {
	background:
		radial-gradient(at 12% 18%, #2fb5c2 0, transparent 45%),
		radial-gradient(at 88% 8%, #7fd3dc 0, transparent 40%),
		radial-gradient(at 78% 85%, #0b4f68 0, transparent 50%),
		radial-gradient(at 8% 92%, #1f8f9c 0, transparent 45%),
		radial-gradient(at 50% 50%, #17707c 0, transparent 70%),
		#146271;
	color: var(--c-white);
}

.mesh_deep {
	background:
		radial-gradient(at 15% 10%, #1b6f78 0, transparent 45%),
		radial-gradient(at 85% 5%, #0f5c6a 0, transparent 40%),
		radial-gradient(at 80% 95%, #072b36 0, transparent 50%),
		radial-gradient(at 10% 90%, #0d4553 0, transparent 45%),
		#0c3f4b;
}

@media screen and ( max-width:760px ) {
	.wm {
		font-size: 64px;
	}
}

/* Utilities
----------------------------------------------------------- */
.rv {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s, transform .7s cubic-bezier(.2, .7, .2, 1);
}

.rv.is_in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.rv {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.btn.cta::before {
		animation: none;
	}
}

[hidden] {
	display: none !important;
}

.pr_tag {
	display: inline-block;
	padding: 1px 6px;
	border: 1px solid var(--c-sub);
	border-radius: 2px;
	font-size: 11px;
	line-height: 1.5;
	color: var(--c-sub);
}

.sp_only {
	display: none;
}

@media screen and ( max-width:760px ) {
	.pc_only {
		display: none;
	}

	.sp_only {
		display: block;
	}
}
