@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
    --tw-color-primary: #2ec6ba;
}

* {
    font-family: 'Noto Sans JP', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
	font-feature-settings: "palt";
	line-height: 1.7;
	letter-spacing: 1px;
}
#wrapper {
	overflow: hidden;
}
.tracking-tighter {
	letter-spacing: 5px !important;
}
.pt-20 {
    padding-top: 4rem !important;
}
#fv {
	height: 100vh;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
#thanks #fv {
	height: auto;
	min-height: auto;
}
#thanks #wrapper, #sub #wrapper {
	margin-top: 0;
	padding-top: 0 !important;
}
#thanks #fv img {
	position: relative;
	bottom: 20px;
	margin-bottom: -20px;
}
#fv .fukidashi {
	position: relative;
}
#fv .fukidashi::after {
	display: block;
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -15px;
	border: 15px solid transparent;
	border-top: 15px solid #fff;
}
#thanks #fv .fukidashi::after {
	border-top: 15px solid #ffd74a;
}
#fv .benefit-box {
	padding-top: 10px;
}
.txt-pink {
	color: #f87171;
}
.hero-bg {
	background: #2ec6ba;
	position: relative;
}
.hero-bg::before {
	display: block;
	content: '';
	width: 100%;
	height: 100%;
	background: url(../images/bg_hero.webp) no-repeat;
	background-size: cover;
	background-position: center;
	position: absolute;
    top: 0;
    left: 0;
	mix-blend-mode: multiply;
	opacity: 0.35;
}
#thanks .hero-bg::before {
	opacity: 0.2;
}
.hero-bg > div {
	position: relative;
}
.hero-text {
	color: #ffd74a;
	line-height: 1.3em !important;
}
.three-sub > div {
	background: #1f2937;
}
.brd-blue {
	border: 4px solid #2ec6ba;
	box-sizing: border-box;
}
.brd-yellow {
	border: 4px solid #ffd74a !important;
}
.section-title {
    font-size: 1.75rem;
    font-weight: 700;
}
.cta-button {
	background: #ffd74a;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgb(32 144 137), 0 8px 10px -6px rgb(32 144 137);
}

.space-y-8 {
	background: rgba(30, 64, 175, 0.035);
	position: relative;
	border-radius: 1.5rem;
	padding: 20px;
}
.space-y-8 > .flex {
	border-bottom: 1px dashed #ccc;
	padding-bottom: 1rem;
}
.space-y-8 > :not([hidden]) ~ :not([hidden]) {
	margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse))) !important;
	margin-bottom: calc(1rem * var(--tw-space-y-reverse)) !important;
}
.space-y-8 > .last-flex {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
	border: none !important;
}
.space-y-8 > .flex p {
	line-height: 2em;
}
.space-y-8 img, .waku img {
	display: block;
	max-width: 128px;
	position: absolute;
	right: 10px;
	bottom: -15px;
}
.space-y-6 > .flex > div > small {
	display: block;
}
.text-4xl {
	line-height: 3rem !important;
}

.img_center {
	display: block;
	max-width: 256px;
	margin: 0 auto 15px auto;
}
.waku {
	position: relative;
}
.waku .gap-x-4 {
	border-bottom: 1px dashed;
    padding: 0 0 0.75rem 0;
    margin-top: 0 !important;
    margin-bottom: 0.75rem !important;
}
.waku-thumb {
	overflow: hidden;
}
.bg-yellow {
	background: #ffd74a;
}
.merit-box img {
	display: block;
	max-width: 126px;
	max-height: 100px;
	margin: 0 auto;
}

#table-list, #table-list tbody, #table-list tr {
	display: block;
	width: 100%;
}
#table-list th, #table-list td {
	display: block;
	width: 100%;
	text-align: left;
	font-size: 16px;
	padding: 15px 20px;
}
#table-list th {
	background: rgba(30, 64, 175, 0.035);
	border-radius: 0.5rem;
}
#contact_done {
	padding-left: 5%;
	padding-right: 5%;
}
#contact_done p, #contact_done ul {
	font-size: 18px;
	text-align: left;
}
#contact_done p, #contact_done ul {
	margin-bottom: 15px;
}
footer {
	position: static;
}
footer a {
	display: block;
	font-size: 80%;
	margin: 0 auto 20px auto;
	text-align: center;
}

.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.text-large {
    font-size: 1.25rem;
}

.faq {
	-webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 30px;
  border: 2px solid #fff;
  box-sizing: border-box;
	padding: 30px !important;
}
.faq dl {
  margin: 0 auto 1.25em auto;
	padding-bottom: 1.25em;
	border-bottom: 1px dotted #ccc;
}
.faq dl dt {
  color: #2ec6ba;
}
.faq dl dt:after, .faq dl dd:after {
  display: block;
  content: '';
  clear: both;
}
.faq dl dt {
	font-weight: 600;
  margin-right: 2em;
}
.faq dl dd {
  margin: 1em 1em 3em 0;
}
.faq dl:last-child, .faq dl dd:last-child, .faq dl dd div p:last-child {
  margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}
.faq dl dd ul {
	margin-top: 20px;
}
.faq dl dt:before, .faq dl dd:before {
  display: block;
  background: #2ec6ba;
  content: 'Q';
  float: left;
  width: 2em;
  height: 2em;
  font-weight: normal;
  color: #ffffff;
  border-radius: 50%;
  text-align: center;
  box-sizing: border-box;
  border: 1px solid #2ec6ba;
	margin-right: 10px;
}
.faq dl dd:before {
  background: #ffffff;
  content: 'A';
  color: #2ec6ba;
}
.faq dl dt div, .faq dl dd div {
  float: right;
  width: calc(100% - 2.75em);
}

@media (max-width: 640px) {
	header .text-2xl {
		font-size: 1.1rem;
		line-height: 1rem;
	}
	header .text-base {
		font-size: 0.8rem;
		line-height: 1.2rem;
        padding: 0.5rem 0.8rem;
	}
	header .py-2 {
		padding-bottom: 0;
	}
	header img {
		max-height: 24px;
	}
	#wrapper {
		padding-top: 0 !important;
	}
	#fv, .hero-bg::before {
		min-height: auto;
        height: calc(90vh - 53px);
        padding-top: 53px !important;
        padding-bottom: 0 !important;
	}
	#thanks #fv {
		height: auto;
		padding-top: 20px !important;
		padding-bottom: 20px !important;
	}
	.hero-bg::before {
		height: 100%;
	}
	#fv {
		display: table;
		width: 100%;
	}
	#fv > div {
		display: table-cell;
		width: 100%;
		vertical-align: middle;
	}
	#fv .mb-2 {
		margin-bottom: 0.25rem !important;
	}
    .section-title {
        font-size: 1.5rem !important;
    }
    .hero-text {
		font-size: 2rem !important;
		margin-bottom: 0.35rem !important;
	}
	.pt-20 {
		padding-top: 1.75rem !important;
	}
	.leading-tight {
		margin-bottom: 0 !important;
	}
	.text-4xl {
		font-size: 2rem !important;
		line-height: 2.35rem !important;
		margin-bottom: 0.5rem;
	}
	#thanks .text-4xl {
		font-size: 1.5rem !important;
	}
	#nayami .text-4xl {
		line-height: 1.5rem !important;
	}
	#nayami .txt-solution {
		font-size: 1.45rem !important;
		line-height: 2rem !important;
		margin-bottom: 0 ! !important;
	}
	.px-8 {
		padding-left: 1.5rem !important;
		padding-right: 1.5rem !important;
	}
	.py-12 {
		padding-top: 2.5rem !important;
		padding-bottom: 2.5rem !important;
	}
	.text-2xl {
		font-size: 1.15rem !important;
		line-height: 1.6rem !important;
		margin-bottom: 0.5rem;
	}
	.px-6 {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}
	.text-lg {
		font-size: 0.75rem !important;
		line-height: 1.25rem !important;
	}
	.gap-3, .gap-4 {
		gap: 0.5rem !important;
	}
	.mb-4 {
		margin-bottom: 0.5rem !important;
	}
	.py-4 {
		padding: 0.75rem !important;
	}
	.text-3xl {
		font-size: 1.5rem !important;
		line-height: 1.5rem !important;
	}
	#thanks .text-3xl {
		line-height: 2rem !important;
	}
	.grid .text-3xl {
		font-size: 1rem !important;
        line-height: 1rem !important;
	}
	.text-sm {
		font-size: 0.6rem !important;
		line-height: 1rem !important;
	}
	.py-3 {
		padding-top: 0.5rem !important;
		padding-bottom: 0.5rem !important;
	}
	#fv form {
		margin-top: 0.5rem !important;
	}
	.mb-6 {
		margin-bottom: 1rem !important;
	}
	input[type="email"] {
		line-height: 1.35rem !important;
        padding-top: 1rem;
        padding-bottom: 1rem;
	}
	.py-7 {
		padding-top: 1.35rem !important;
		padding-bottom: 1.35rem !important;
	}
	.flex p {
		font-size: 1rem;
		line-height: 1.3em !important;
	}
	.space-y-8 img, .waku img {
		max-width: 64px;
		bottom: -60px;
		right: -15px;
	}
	#thanks .waku img {
		max-width: 128px;
		bottom: -45px;
		right: -20px;
	}
	.space-y-16 .waku img, #thanks .py-16 .waku img {
		max-width: 64px;
		bottom: -30px;
        right: 10px;
	}
	.bg-green-100, .bg-\[\#2ec6ba\] {
		position: relative;
	}
	.mb-12 {
		margin-bottom: 2rem !important;
	}
	.merit-box img {
		max-height: 72px;
	}
	.text-xl {
		font-size: 1rem !important;
		line-height: 1.35rem !important;
	}
	.leading-relaxed {
		font-size: 0.85rem !important;
		line-height: 1.35rem !important;
	}
	.leading-relaxed br, .gap-x-4 p br {
		display: none;
	}
	.p-8 {
		padding: 1.5rem !important;
	}
	.py-16 {
		padding-top: 2.35rem !important;
		padding-bottom: 2.35rem !important;
}
	.mb-10 {
		margin-bottom: 1.75rem !important;
	}
	.waku .text-4xl {
		font-size: 1.5rem !important;
		margin-bottom: 0 !important;
	}
	.waku .gap-x-4 {
		column-gap: 0.5rem;
	}
	.waku .text-large {
		font-size: 1rem;
	}
	#reason .gap-x-4 {
		display: block !important;
	}
	#reason .gap-x-4 > span {
	    display: block !important;
		text-align: center !important;
		margin: 0 auto 10px auto !important;
	}
	.p-6 {
		padding: 1rem !important;
	}
	#reason .gap-x-4 p {
		text-align: center;
	}
	.py-16 {
		padding-top: 2.35rem;
		padding-bottom: 2.35rem;
	}
	#closing .text-3xl {
        font-size: 1.25rem !important;
        line-height: 1.75rem !important;
	}
	#thanks #closing .text-3xl {
		font-size: 1.15rem !important;
	}
	#closing .text-2xl {
		font-weight: 600;
	}
	#closing .mb-12 {
		margin: 1rem 0 !important;
	}
	footer p {
		font-size: 0.8rem;
	}
}
@media (max-width: 400px) {
	#thanks #fv .text-4xl {
		font-size: 1.7rem !important;
	}
	#thanks #fv .text-2xl {
		font-size: 1rem !important;
	}
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: #3b82f6;
    z-index: 50;
}
/* メール入力欄の強化（既存スタイルと競合を避ける） */
input[type="email"] {
    font-size: 1.125rem;
    line-height: 1.5;
}

input[type="email"]:focus {
    box-shadow: 0 0 0 6px rgba(255, 215, 74, 0.3);
    border-color: #ffd74a;
}

/* フォーム全体の余白調整 */
#fv form {
    margin-top: 1rem;
}

/* ラストCTA用 */
#last-cta form {
    margin-top: 1rem;
}