/* ========================================
   アニマネ LP - style.css
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--color-base: #f8fafa;
	--color-white: #ffffff;
	--color-text: #334155;
	--color-teal: #0d9488;
	--color-teal-bg: #3da99f;
	--color-navy: #1e293b;
	--color-teal-light: #e1f2f0;
	--color-orange: #cb390c;

	--font-family: "BIZ UDPGothic", sans-serif;
	--font-heading: "Murecho", "BIZ UDPGothic", sans-serif;
	--content-width: 1024px;
	--page-width: 1440px;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-family);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.8;
	color: var(--color-text);
	background: var(--color-base);
	min-width: 1040px;
}

/* --- Utility --- */
.color-orange { color: var(--color-orange); }
.color-teal { color: var(--color-teal); }

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

/* --- Shared Section Styles --- */
.section-inner {
	max-width: var(--content-width);
	margin: 0 auto;
}

.section-title {
	font-family: var(--font-heading);
	font-size: 2em;
	font-weight: 800;
	color: var(--color-text);
	text-align: center;
}

.section-title--white {
	color: var(--color-white);
	text-shadow: -1px -1px 1px rgba(0, 50, 50, 0.3);
}

.section-divider {
	width: 60px;
	height: 3px;
	background: var(--color-teal);
	margin: 0.5em auto 0;
}

.section-divider--white {
	background: var(--color-white);
}

/* --- Buttons --- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-family: var(--font-family);
	font-weight: bold;
	cursor: pointer;
	border: none;
	transition: opacity 0.2s;
}

.btn:hover {
	opacity: 0.85;
}

.btn--primary {
	background: var(--color-teal);
	color: var(--color-white);
	font-size: 0.9375em;
	padding: 0.9em 1.8em;
}

.btn--lg {
	font-size: 1.25em;
	padding: 1em 2.8em;
}

.btn--outline {
	background: transparent;
	color: var(--color-teal);
	font-size: 0.9375em;
	padding: 0.9em 1.8em;
	border: 2px solid var(--color-teal);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
	background-color: var(--color-base);
	/* 背景画像は後で差し替え */
	/* background-image: url('./img/bg_header.png'); */
	background-image: url('./img/bg_dot_green.jpg');
	/* background-size: cover;
	background-position: center; */
}

.hero__inner {
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 2em 0 3.25em;
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.hero__content {
	position: relative;
}

/* Media Area - absolute behind text, bottom-aligned with notepad */
.hero__media {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 50%;
	height: 100%;
	/* aspect-ratio: 512 / 464; */
	z-index: 1;
}

.hero__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Sub Copy Band - full-width teal strip */
.hero__sub-band {
	background: var(--color-white) url("./img/boa_min_Trimming.png") right center no-repeat;
	background-size: auto 142%;
	/* background-size: 40% auto; */
	color: var(--color-teal);
	/* padding: 1.5em 0 1.75em; */
	padding-top: 1em;
	font-weight: bold;
	box-shadow: 0 0 1em 0 rgba(0, 0, 0, 0.25);
}

.hero__sub-band-inner {
	max-width: var(--content-width);
	margin: 0 auto;
}

.hero__ruby {
	font-size: 0.85em;
	/* color: var(--color-white); */
}

.hero__sub {
	display: flex;
	flex-direction: column;
	font-size: 1.75em;
	line-height: 1.3;
	margin-bottom: 0.25em;
}

.hero__sub-line {
	font-family: var(--font-heading);
	font-weight: 800;
	letter-spacing: 0;
	position: relative;
}

.hero__sub-line[data-text] span{
	position: relative;
	z-index: 2;
}
.hero__sub-line[data-text]::after{
	content: attr(data-text);
	position: absolute;
	top: 0;
	left: 0;
	color: transparent;
	paint-order: stroke;
	z-index: 1;
	-webkit-text-stroke: 10px var(--color-white);
}

.hero__sub sub{
	margin-left: 0.5em;
	vertical-align: middle;
	font-size: 0.65em;
	font-family: var(--font-family);
	font-weight: normal;
}
.hero__sub sub::before,
.hero__sub sub::after{ content: "-";}

/* Text content - above media */
.hero__catch-block,
.hero__notepad {
	position: relative;
	z-index: 2;
}

/* Catch Block */
.hero__catch-block {
	margin-top: 0.75em;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hero__price-line {
	display: inline-block;
	align-self: flex-start;
	font-family: var(--font-heading);
	font-size: 1.5em;
	font-weight: 800;
	color: var(--color-white);
	background: var(--color-orange);
	padding: 0.25em 1em .4em .75em;
	margin-top: 0.5em;
	line-height: 1.5;
	text-shadow: -1px -1px 3px rgba(100, 0, 0, 0.5);
	position: relative;
}

.hero__price-line b{
	font-size: 1.75em;
	margin-left: 0.1em;
	letter-spacing: 2px;
}
.hero__price-line b strong{
	margin-left: 0.1em;
}
.hero__price-line b span{
	font-size: 0.6em;
	letter-spacing: 0;
	margin-left: 0.25em;
}
.hero__price-line .tax{
	position: absolute;
	top: 1em;
	right: 1.25em;
	font-size: 0.55em;
	font-family: var(--font-family);
}

.hero__catch {
	font-family: var(--font-heading);
	font-size: 2.5em;
	font-weight: 800;
	line-height: 1.4;
	/* letter-spacing: 1px; */
}

/* 行ラッパー */
.hero__catch-line {
	display: block;
}
.hero__catch-line + .hero__catch-line{
	margin-top: 0.3em;
}

/* 縁取りテキスト（data-text疑似要素で2重縁取り） */
.hero__catch-stroke {
	position: relative;
	margin-left: 0.2em;
	color: var(--color-orange);
}

.hero__catch-stroke::before,
.hero__catch-stroke::after {
	content: attr(data-text);
	position: absolute;
	top: 0;
	left: 0;
	color: transparent;
	paint-order: stroke;
}

/* 外側: オレンジ縁（最背面） */
.hero__catch-stroke::before {
	z-index: -2;
	-webkit-text-stroke: 20px var(--color-orange);
}

/* 内側: 白縁 */
.hero__catch-stroke::after {
	z-index: -1;
	-webkit-text-stroke: 10px var(--color-white);
}

/* キーワードラベル */
.hero__catch-hl {
	background: var(--color-teal);
	color: var(--color-white);
	font-size: 0.7em;
	padding: 0.2em 0.35em .25em;
	font-weight: inherit;
	display: inline-block;
	text-shadow: -2px -2px 0 rgba(0, 0, 0, 0.15);
	box-shadow: .2em .2em 0 0 rgba(0, 0, 0, 0.35);
}
.hero__catch-hl > span{
	font-size: 0.75em;
}

.hero__catch-hl + .hero__catch-hl {
	margin-left: 0.3em;
}

/* Notepad */
.hero__notepad {
	margin-top: 1.75em;
	background: var(--color-white);
	padding: 1.75em;
	max-width: 490px;
	display: flex;
	flex-direction: column;
}

.hero__note {
	display: flex;
	gap: .75em;
}
.hero__note + .hero__note{
	margin-top: 0.75em;
	padding-top: 0.75em;
	border-top: 1px dashed var(--color-teal);
}

.hero__note-icon {
	flex-shrink: 0;
	color: var(--color-teal);
	margin-top: 0.15em;
}

.hero__note p {
	font-size: 1.25em;
	font-weight: 600;
	line-height: 1.5;
	color: var(--color-text);
}


/* CTA Area - full-width band with translucent white overlay */
.hero__cta {
	background: rgba(255, 255, 255, 0.75);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1em;
	padding: 2.5em 0;
	box-shadow: 0 0 1em 0 rgba(0, 0, 0, 0.15);
}

.hero__cta-note {
	font-size: 0.875em;
	color: var(--color-text);
	text-align: center;
	max-width: 600px;
	opacity: 0.7;
}

/* ========================================
   Intro Section
   ======================================== */
.intro {
	background: var(--color-teal-bg);
}

.intro__inner {
	display: flex;
	max-width: var(--content-width);
	margin: 0 auto;
}

.intro__photo {
	width: 40%;
	flex-shrink: 0;
	overflow: hidden;
}

.intro__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.intro__body {
	flex: 1;
	padding: 3em 3em 3em 2.5em;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.intro__title {
	font-family: var(--font-heading);
	font-size: 1.5em;
	font-weight: 800;
	color: var(--color-white);
	text-shadow: -1px -1px 1px rgba(0, 50, 50, 0.3);
	margin-bottom: 0.8em;
}

.intro__text {
	font-size: 0.9375em;
	font-weight: 700;
	line-height: 1.8;
	color: var(--color-white);
	text-shadow: -1px -1px 1px rgba(0, 50, 50, 0.3);
}

.intro__text + .intro__text {
	margin-top: 0.8em;
}

.intro__text b {
	background: var(--color-white);
	color: var(--color-text);
	font-size: 1.25em;
	padding: 0.05em 0.3em;
	margin: 0 0.1em;
	text-shadow: none;
}

/* ========================================
   Features Section
   ======================================== */
.features {
	background: var(--color-base);
	padding: 3.75em 0;
}

.features__row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5em;
	margin-top: 2em;
}

.features__row:first-of-type {
	margin-top: 2.5em;
}

.feature-card {
	background: var(--color-white);
	display: flex;
	flex-direction: column;
}

.feature-card__img {
	width: 100%;
	height: auto;
	min-height: 183px;
	background: #d9d9d9;
}

.feature-card__heading {
	display: flex;
	align-items: center;
	gap: 0.5em;
	background: var(--color-teal-bg);
	padding: 0.5em 0.75em;
}

.feature-card__category-icon {
	width: 36px;
	height: 36px;
	background: var(--color-white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-teal);
	flex-shrink: 0;
	box-shadow: -1px -1px 1px 0 rgba(0, 50, 50, 0.3);
}

.feature-card__title {
	font-family: var(--font-heading);
	font-size: 1.25em;
	font-weight: 800;
	color: var(--color-white);
	text-shadow: -1px -1px 1px rgba(0, 50, 50, 0.3);
}

.feature-card__desc {
	font-size: 0.875em;
	color: var(--color-text);
	line-height: 1.7;
	text-align: justify;
	padding: 0.75em 1em 1em;
	flex-grow: 1;
	border-left: 0.5em solid var(--color-teal-bg);
	border-right: 0.5em solid var(--color-teal-bg);
	border-bottom: 0.5em solid var(--color-teal-bg);
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
	background: var(--color-teal-bg);
	padding: 5em 0;
}

.pricing__card {
	background: var(--color-white);
	padding: 2.5em;
	margin-top: 2.5em;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	flex-direction: column;
	gap: 1.5em;
	box-shadow: 0 2px 12px rgba(26, 25, 24, 0.03);
}

.pricing__columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2em;
}

.pricing__col {
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	padding: 2em;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.pricing__label {
	font-size: 1.125em;
	font-weight: 600;
}

.pricing__amount {
	font-family: var(--font-heading);
	font-size: 2.5em;
	font-weight: 800;
	color: var(--color-text);
}

.pricing__yen {
	font-size: 0.6em;
}

.pricing__unit {
	font-size: 0.4em;
	font-weight: 400;
}

.pricing__price-change {
	display: flex;
	align-items: baseline;
	gap: 0.2em;
}

.pricing__price-change s {
	text-decoration: none;
	position: relative;
}

.pricing__price-change s::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	width: 100%;
	border-top: 8px double var(--color-text);
}

.pricing__arrow {
	font-size: 1.5em;
	color: var(--color-text);
}

.pricing__amount--free {
	color: var(--color-orange);
}

.pricing__payment {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5em;
}

.pricing__payment-label {
	display: flex;
	align-items: center;
	gap: 0.35em;
	font-size: 0.9375em;
	font-weight: 600;
	color: var(--color-text);
}

.pricing__payment-icon {
	flex-shrink: 0;
	color: #64748b;
}

.pricing__payment-note {
	font-size: 0.8125em;
	color: #64748b;
}

.pricing__campaign {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	padding: 0.5em 1em;
	background: var(--color-orange);
}

.pricing__campaign-icon {
	color: var(--color-white);
	flex-shrink: 0;
}

.pricing__campaign span {
	font-size: 0.9375em;
	font-weight: bold;
	color: var(--color-white);
}

.pricing__terms {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.5em;
}

.pricing__terms li {
	font-size: 1em;
}

.pricing__terms li::before {
	content: "・";
}


/* ========================================
   Demo CTA Section
   ======================================== */
.demo {
	background: var(--color-base);
	padding: 5em 0;
}

.demo__desc {
	font-size: 1em;
	text-align: center;
	line-height: 1.7;
	margin-top: 1.5em;
}

.demo__columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2em;
	margin-top: 2em;
}

.demo__col {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1em;
}

.demo__col-label {
	font-size: 0.9375em;
	font-weight: bold;
	text-align: center;
}

.demo__col-img {
	width: 100%;
}

.demo__note {
	font-size: 0.85em;
	text-align: center;
	margin-top: 3.5em;
}

/* ========================================
   Tester Section
   ======================================== */
.tester {
	background: var(--color-teal-bg);
	padding: 5em 0;
}

.tester__desc {
	font-size: 1em;
	font-weight: 700;
	color: var(--color-white);
	text-align: center;
	line-height: 1.7;
	max-width: 800px;
	margin: 1.5em auto 0;
	text-shadow: -1px -1px 1px rgba(0, 50, 50, 0.3);
}

.tester__steps {
	display: flex;
	justify-content: center;
	gap: 2em;
	margin-top: 2.5em;
}

.tester__step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1em;
	width: 240px;
}

.tester__step-num {
	width: 48px;
	height: 48px;
	background: var(--color-white);
	color: var(--color-teal);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25em;
	font-weight: bold;
}

.tester__step-title {
	font-family: var(--font-heading);
	font-size: 1.125em;
	font-weight: 800;
	color: var(--color-white);
	text-shadow: -1px -1px 1px rgba(0, 50, 50, 0.3);
}

.tester__step-desc {
	font-size: 0.875em;
	font-weight: 700;
	color: var(--color-white);
	text-align: center;
	line-height: 1.6;
	text-shadow: -1px -1px 1px rgba(0, 50, 50, 0.3);
}

.tester__benefit {
	font-size: 1em;
	color: #ffffff;
	text-align: center;
	margin-top: 2.5em;
	text-shadow: -1px -1px 1px rgba(0, 50, 50, 0.3);
}

.tester__benefit b {
	font-size: 1.1em;
}

.tester__period {
	font-size: 0.875em;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.6);
	text-align: center;
	margin-top: 0.8em;
}

/* ========================================
   Footer Section
   ======================================== */
.footer {
	background: var(--color-navy);
}

.footer__inner {
	display: flex;
	max-width: var(--content-width);
	margin: 0 auto;
}

.footer__photo {
	width: 33.333%;
	flex-shrink: 0;
	overflow: hidden;
}

.footer__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.footer__body {
	flex: 1;
	padding: 3em 3em 3em 2.5em;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.footer__title {
	font-family: var(--font-heading);
	font-size: 1.5em;
	font-weight: 800;
	color: var(--color-white);
	text-align: left;
	margin-bottom: 0.8em;
}

.footer__profile-text {
	font-size: 0.9375em;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.6);
	text-align: left;
}

.footer__copyright {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5em;
	padding: 1.2em 0;
	background: var(--color-white);
}

.footer__copyright-logo {
	width: 80px;
	height: auto;
}


/* ========================================
   Contact Section
   ======================================== */
.contact {
	background: var(--color-base);
	padding: 5em 0;
}

.contact__desc {
	font-size: 1em;
	text-align: center;
	line-height: 1.7;
	margin-top: 1.5em;
}

.contact__form-area {
	max-width: 640px;
	margin: 2.5em auto 0;
}

/* フォーム */
.contact__form {
	display: flex;
	flex-direction: column;
	gap: 1.5em;
}

.contact__form-group label {
	display: block;
	font-weight: bold;
	margin-bottom: 0.4em;
}

.contact__required {
	color: #c33;
}

.contact__form-group input[type="text"],
.contact__form-group input[type="email"],
.contact__form-group textarea {
	display: block;
	width: 100%;
	padding: 0.6em 0.8em;
	font-size: 1em;
	font-family: inherit;
	border: 1px solid #ccc;
	background-color: var(--color-white);
	color: var(--color-text);
	box-sizing: border-box;
}

.contact__form-group textarea {
	resize: vertical;
	min-height: 10em;
}

.contact__form-group input::placeholder,
.contact__form-group textarea::placeholder {
	color: #aaa;
}

/* CAPTCHA */
.contact__captcha-row {
	display: flex;
	align-items: center;
	gap: 0.8em;
	margin-bottom: 0.4em;
}

.contact__captcha-row img {
	border: 1px solid #ccc;
}

.contact__captcha-refresh {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.4em;
	height: 2.4em;
	padding: 0;
	border: 1px solid #ccc;
	background: #f6f6f6;
	color: var(--color-text);
	cursor: pointer;
}

.contact__captcha-hint {
	font-size: 0.85em;
	color: #666;
	margin: 0.3em 0 0.5em;
}

.contact__captcha-group input[type="text"] {
	max-width: 200px;
}

/* 送信ボタン */
.contact__form-submit {
	text-align: center;
	margin-top: 0.5em;
}

.contact__form-submit .btn {
	padding: 0.8em 3em;
}

/* 成功メッセージ */
.contact__success {
	text-align: center;
	padding: 2em 1em;
}

.contact__success-title {
	font-size: 1.2em;
	font-weight: bold;
	color: var(--color-teal);
	margin-bottom: 1em;
}

/* エラーメッセージ */
.contact__errors {
	padding: 1em;
	margin-bottom: 1.5em;
	background-color: #fef2f2;
	border: 1px solid #fca5a5;
}

.contact__errors ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.contact__errors li {
	color: #b91c1c;
	padding: 0.2em 0;
}

/* 文字数カウンター */
.contact__char-count {
	text-align: right;
	font-size: 0.8em;
	color: #888;
	margin: 0.3em 0 0;
}

.contact__char-limit-msg {
	display: none;
}

.contact__char-count.at-limit {
	color: #c33;
	font-weight: bold;
}

.contact__char-count.at-limit .contact__char-limit-msg {
	display: inline;
}

.contact__form-group textarea.at-limit {
	border-color: #c33;
	outline-color: #c33;
}

/* 注記 */
.contact__note {
	margin-top: 2em;
	font-size: 0.85em;
	color: #666;
}

/* テスターセクション内リンク */
.tester__step-link {
	color: var(--color-white);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}
