/* ============================================================
           Variables (Sass-like CSS Variables)
           ============================================================ */

:root {
	--color-bg: #f0f9f6;
	--color-white: #ffffff;
	--color-primary: #6ee7b7;
	--color-primary-dark: #059669;
	--color-secondary: #7dd3fc;
	--color-text-main: #0f172a;
	--color-text-muted: #475569;
	--color-border: #e2e8f0;
	--color-emerald-light: #d1fae5;
	--font-main: "Noto Sans JP", "Quicksand", sans-serif;
	--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
	--transition-speed: 0.3s;
}

/* =========================================
   global/_variables.scss
========================================= */

/* Breakpoints (ブレイクポイント) */

/* スマホ用 */

/* タブレット用（もし必要なら） */

/* Colors (テーマカラー) */

/* その他 */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td {
	border: 0;
	font-size: 100%;
	font-weight: normal;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}

header,
footer,
nav,
section,
article,
main,
aside,
figure,
figcaption {
	display: block;
}

ol,
ul {
	list-style: none;
}

img {
	height: auto;
	max-width: 100%;
	vertical-align: middle;
}

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

button {
	background: transparent;
	border: none;
	box-shadow: none;
	cursor: pointer;
	font: inherit;
	margin: 0;
	padding: 0;
}

input,
select,
textarea {
	color: inherit;
	font: inherit;
	vertical-align: top;
}

/* ============================================================
           Reset & Base Styles
           ============================================================ */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background-color: var(--color-bg);
	color: var(--color-text-main);
	font-family: var(--font-main);
	line-height: 1.8;
	overflow-x: hidden;
	-webkit-tap-highlight-color: transparent;
}

a {
	color: inherit;
	text-decoration: none;
	transition: all var(--transition-speed);
}

ul {
	list-style: none;
}

button {
	background: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
}

.container {
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 1.5rem;
	width: 100%;
}

/* =========================================
   project/_error.scss (または _index.scss)
   404ページ・予備ページ用のスタイル
========================================= */

.error-main {
	min-height: 60vh;
	padding: 10rem 1.5rem 6rem;
	text-align: center;
}

.error-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 32px;
	margin: 0 auto;
	max-width: 600px;
	padding: 4rem 2rem;
}

.error-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.error-title {
	color: #0f172a;
	font-size: 1.75rem;
	font-weight: 800;
	margin-bottom: 1rem;
}

.error-message {
	color: #475569;
	line-height: 1.6;
	margin-bottom: 2.5rem;
}

.error-btn {
	background: #059669;
	border-radius: 99px;
	color: #ffffff;
	display: inline-block;
	font-weight: 700;
	padding: 1rem 2.5rem;
	text-decoration: none;
	transition: all 0.3s; /* ホバー時のアクション（Sassのネストを活用） */
}

.error-btn:hover {
	background: #6ee7b7;
	box-shadow: 0 10px 15px rgba(5, 150, 105, 0.2);
	transform: translateY(-2px);
}

/* =========================================
   project/_glossary.scss
   用語集ページ用のスタイル
========================================= */

.page-glossary {
	background-color: #f0f9f6;
}

/* Hero Section */

.glossary-hero {
	background: linear-gradient(to bottom, #ffffff, #f0f9f6);
	padding: 10rem 0 4rem;
	text-align: center;
}

.glossary-hero .hero-title {
	color: #0f172a;
	font-size: clamp(2rem, 5vw, 2.5rem);
	font-weight: 800;
	margin-bottom: 1rem;
}

.glossary-hero .hero-desc {
	color: #475569;
	line-height: 1.8;
	margin-bottom: 3rem;
}

/* Search Bar */

.search-container {
	margin: 0 auto;
	max-width: 600px;
	position: relative;
}

.search-input {
	background: #ffffff;
	border: 2px solid #e2e8f0;
	border-radius: 99px;
	font-family: inherit;
	font-size: 1rem;
	outline: none;
	padding: 1.25rem 1.5rem 1.25rem 3.5rem;
	transition: all 0.3s;
	width: 100%;
}

.search-input:focus {
	border-color: #6ee7b7;
	box-shadow: 0 10px 25px rgba(110, 231, 183, 0.15);
}

.search-icon {
	align-items: center;
	color: #475569;
	display: flex;
	left: 1.25rem;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

/* Content Area */

.glossary-content {
	padding: 4rem 0 6rem;
}

.category-group {
	margin-bottom: 5rem;
}

.group-label {
	align-items: center;
	color: #059669;
	display: flex;
	font-size: 1.75rem;
	font-weight: 800;
	gap: 1rem;
	margin-bottom: 2rem;
}

.group-label span {
	background: #059669;
	border-radius: 99px;
	color: #ffffff;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 0.2rem 0.8rem;
}

.group-label::after {
	background: #e2e8f0;
	content: "";
	flex: 1;
	height: 1px;
}

/* Cards Grid */

.term-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.term-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 32px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	height: 100%; /* カードの高さを揃える */
	padding: 2.5rem;
	transition: all 0.3s;
}

.term-card:hover {
	border-color: #6ee7b7;
	box-shadow: 0 20px 40px -10px rgba(5, 150, 105, 0.1);
	transform: translateY(-8px);
}

.term-card:hover .ask-ai-label {
	opacity: 1;
	transform: translateX(4px);
}

.term-reading {
	color: #475569;
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	margin-bottom: 1.25rem;
}

.term-name {
	color: #0f172a;
	font-size: 1.35rem;
	font-weight: 800;
	margin-bottom: 0.5rem;
}

.term-excerpt {
	color: #475569;
	flex-grow: 1; /* 余白を埋めてボタンを一番下へ押し下げる */
	font-size: 0.95rem;
	line-height: 1.7;
	margin-bottom: 1.5rem;
}

.ask-ai-label {
	align-items: center;
	color: #059669;
	display: flex;
	font-size: 0.85rem;
	font-weight: 700;
	gap: 0.5rem;
	margin-top: auto;
	opacity: 0.7;
	transition: all 0.3s;
}

.ask-ai-label svg {
	height: 16px;
	width: 16px;
}

/* Toast Notification */

#toast {
	background: #0f172a;
	border-radius: 99px;
	bottom: 2rem;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
	color: #ffffff;
	font-size: 0.9rem;
	font-weight: 700;
	left: 50%;
	line-height: 1.5;
	padding: 1.25rem 2rem;
	position: fixed;
	text-align: center;
	transform: translateX(-50%) translateY(100px);
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: 1000;
}

#toast.show {
	transform: translateX(-50%) translateY(0);
}

/* =========================================
   project/_goods.scss
   おすすめアイテムページ用のスタイル
========================================= */

/* アニメーション用のイージング変数 */

.page-goods {
	background-color: #f0f9f6;
}

/* Hero Section */

.goods-hero {
	background: linear-gradient(to bottom, #ffffff, #f0f9f6);
	padding: 10rem 0 4rem;
	text-align: center;
}

.goods-hero .hero-badge {
	background: #ffffff;
	border: 1px solid #6ee7b7;
	border-radius: 99px;
	color: #059669;
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	padding: 0.4rem 1rem;
}

.goods-hero .hero-title {
	color: #0f172a;
	font-size: clamp(2rem, 5vw, 2.75rem);
	font-weight: 800;
	margin-bottom: 1.5rem;
}

.goods-hero .hero-desc {
	color: #475569;
	font-size: 0.95rem;
	line-height: 1.8;
	margin: 0 auto;
	max-width: 700px;
}

.goods-content {
	padding-bottom: 6rem;
}

/* Section Title */

.section-title {
	align-items: center;
	color: #0f172a;
	display: flex;
	font-size: 1.5rem;
	font-weight: 800;
	gap: 0.75rem;
	margin: 5rem 0 2rem;
}

.section-title svg {
	color: #059669;
}

/* Item Grid Layout */

.item-grid {
	display: grid;
	gap: 2.5rem;
	grid-template-columns: 1fr;
	margin-bottom: 5rem;
}

.item-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 40px;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 2.5rem;
	position: relative;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.item-card:hover {
	border-color: #6ee7b7;
	box-shadow: 0 30px 60px -12px rgba(5, 150, 105, 0.12);
	transform: translateY(-5px);
}

.item-visual {
	align-items: center;
	background: #f0f9f6;
	border-radius: 24px;
	color: #059669;
	display: flex;
	height: 80px;
	justify-content: center;
	margin-bottom: 1.5rem;
	width: 80px;
}

.item-tag {
	color: #059669;
	display: block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
}

.item-title {
	color: #0f172a;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.4;
	margin-bottom: 1rem;
}

.item-desc {
	color: #475569;
	font-size: 0.9rem;
	line-height: 1.7;
	margin-bottom: 1.5rem;
}

/* Brain Science Box */

.brain-box {
	background: #f8fafc;
	border: 1px solid #f1f5f9;
	border-radius: 20px;
	flex-grow: 1;
	margin-bottom: 2rem;
	padding: 1.25rem;
	position: relative;
}

.brain-box::before {
	background: #059669;
	border-radius: 4px;
	color: #ffffff;
	content: "BRAIN SCIENCE";
	font-size: 0.6rem;
	font-weight: 800;
	left: 1.25rem;
	padding: 0.1rem 0.6rem;
	position: absolute;
	top: -8px;
}

.brain-text {
	color: #0f172a;
	font-size: 0.85rem;
	font-weight: 500;
	line-height: 1.6;
}

/* Amazon Button */

.amazon-btn {
	align-items: center;
	background: #232f3e;
	border-radius: 16px;
	color: #ffffff !important;
	display: flex;
	font-size: 0.9rem;
	font-weight: 700;
	gap: 0.5rem;
	justify-content: center;
	margin-top: auto;
	padding: 1rem;
	transition: all 0.3s;
}

.amazon-btn svg {
	color: #ff9900;
	height: 16px;
	width: 16px;
}

.amazon-btn:hover {
	background: #1a242f;
	transform: scale(1.02);
}

/* =========================================
   project/_roadmap.scss
   ロードマップページ用のスタイル
========================================= */

.page-roadmap {
	background-color: #f0f9f6;
}

/* Hero Section */

.roadmap-hero {
	background: linear-gradient(to bottom, #ffffff, #f0f9f6);
	padding: 10rem 0 4rem;
	text-align: center;
}

.roadmap-hero .hero-title {
	color: #0f172a;
	font-size: clamp(2rem, 5vw, 2.5rem);
	font-weight: 800;
	margin-bottom: 1rem;
}

.roadmap-hero .hero-desc {
	color: #475569;
	font-size: 0.95rem;
	line-height: 1.8;
	margin: 0 auto;
	max-width: 600px;
}

/* Roadmap Timeline Area */

.timeline {
	padding: 2rem 0 8rem 2rem;
	position: relative;
}

.timeline::before {
	background: #d1fae5;
	border-radius: 99px;
	content: "";
	height: 100%;
	left: 7px;
	position: absolute;
	top: 0;
	width: 4px;
}

.phase-item {
	margin-bottom: 5rem;
	position: relative;
	width: 100%;
}

.phase-item:last-child {
	margin-bottom: 0;
}

.phase-dot {
	align-items: center;
	background: #6ee7b7;
	border: 6px solid #ffffff;
	border-radius: 50%;
	box-shadow: 0 4px 10px rgba(5, 150, 105, 0.15);
	color: #ffffff;
	display: flex;
	font-size: 0.75rem;
	font-weight: 700;
	height: 32px;
	justify-content: center;
	left: -27px;
	position: absolute;
	top: 5px;
	width: 32px;
	z-index: 2;
}

.phase-content {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 32px;
	box-shadow: 0 20px 40px -15px rgba(5, 150, 105, 0.08); /* 長い単語が含まれてもはみ出さないようにガード */
	overflow-wrap: break-word;
	padding: 2.5rem;
	transition: all 0.3s;
}

.phase-content:hover {
	border-color: #6ee7b7;
	transform: translateX(10px);
}

.phase-header {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: space-between;
	margin-bottom: 1.5rem; /* 400px以下で縦並びに変更 */
}

.phase-title {
	color: #0f172a;
	flex: 1;
	font-size: 1.5rem;
	font-weight: 800;
	min-width: 180px; /* 400px以下で min-width を解除 */
}

.phase-time {
	background: #f0f9f6;
	border-radius: 99px;
	color: #059669;
	font-size: 0.8rem;
	font-weight: 700;
	padding: 0.4rem 1rem;
	white-space: nowrap;
}

.phase-desc {
	color: #0f172a;
	font-size: 1rem;
	line-height: 1.7;
	margin-bottom: 2rem;
	opacity: 0.9;
}

/* 問題のグリッド部分を修正 */

.phase-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr; /* デフォルトは 1 列 */
}

.phase-points {
	background: #f8fafc;
	border-radius: 24px;
	padding: 1.5rem;
}

.phase-points h4 {
	align-items: center;
	color: #059669;
	display: flex;
	font-size: 0.9rem;
	font-weight: 700;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.phase-points ul {
	font-size: 0.9rem;
	list-style: none;
}

.phase-points li {
	color: #475569;
	line-height: 1.6;
	margin-bottom: 0.75rem;
	padding-left: 1.5rem;
	position: relative;
}

.phase-points li::before {
	color: #6ee7b7;
	content: "●";
	font-size: 0.8rem;
	left: 0;
	position: absolute;
}

.brain-tip {
	background: rgba(110, 231, 183, 0.05);
	border-left: 4px solid #6ee7b7;
	border-radius: 20px;
	display: flex;
	gap: 1rem;
	margin-top: 1.5rem;
	padding: 1.25rem;
}

.brain-tip .brain-icon {
	flex-shrink: 0;
	font-size: 1.5rem;
}

.brain-tip div {
	color: #475569;
	font-size: 0.85rem;
	line-height: 1.6;
}

.brain-tip strong {
	color: #059669;
	display: block;
	margin-bottom: 0.25rem;
}

/* =========================================
   project/_happy-life.scss
   お酒なしの喜びページ用のスタイル
========================================= */

.page-happy-life {
	background-color: #f0f9f6;
}

/* Hero Section */

.happy-hero {
	background: linear-gradient(to bottom, #ffffff, #f0f9f6);
	padding: 10rem 0 6rem;
	position: relative;
	text-align: center;
}

.happy-hero .hero-badge {
	background: #d1fae5;
	border-radius: 99px;
	color: #059669;
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	padding: 0.5rem 1.25rem;
}

.happy-hero .hero-title {
	color: #0f172a;
	font-size: clamp(1.8rem, 5vw, 3rem);
	font-weight: 800;
	line-height: 1.4;
	margin-bottom: 2rem;
}

.happy-hero .hero-title span {
	color: #059669;
}

.happy-hero .hero-desc {
	color: #475569;
	font-size: 1rem;
	line-height: 1.8;
	margin: 0 auto;
	max-width: 720px;
}

/* Quote Section */

.quote-section {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 40px;
	box-shadow: 0 20px 40px -10px rgba(5, 150, 105, 0.05);
	margin-bottom: 6rem;
	padding: 4rem 2rem;
	text-align: center;
}

.quote-section .quote-text {
	color: #0f172a;
	font-size: clamp(1.1rem, 3vw, 1.4rem);
	font-weight: 700;
	line-height: 1.6;
	margin-bottom: 1rem;
}

.quote-section .quote-author {
	color: #475569;
	font-size: 0.9rem;
}

/* Benefits Grid */

.benefits-grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	margin-bottom: 8rem;
}

.benefit-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 40px;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 3rem;
	transition: all 0.3s;
}

.benefit-card:hover {
	border-color: #6ee7b7;
	box-shadow: 0 20px 40px -10px rgba(5, 150, 105, 0.1);
	transform: translateY(-8px);
}

.benefit-card .benefit-icon {
	display: block;
	font-size: 3rem;
	margin-bottom: 1.5rem;
}

.benefit-card h3 {
	color: #059669;
	font-size: 1.4rem;
	font-weight: 800;
	margin-bottom: 1.25rem;
}

.benefit-card p {
	color: #475569;
	font-size: 0.95rem;
	line-height: 1.8;
}

/* Morning Routine Section */

.morning-routine {
	align-items: center;
	background: linear-gradient(135deg, #059669, #1e293b);
	border-radius: 50px;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	margin-bottom: 8rem;
	padding: 4rem 3rem;
	text-align: center;
}

.morning-routine .routine-content {
	max-width: 700px;
	width: 100%;
}

.morning-routine .routine-title {
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 800;
	margin-bottom: 1.5rem;
}

.morning-routine .routine-desc {
	font-size: 1.1rem;
	margin-bottom: 3rem;
	opacity: 0.9;
}

.timeline-mockup {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	text-align: left;
	width: 100%;
}

.timeline-item {
	align-items: center;
	backdrop-filter: blur(5px);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	display: flex;
	gap: 1.5rem;
	padding: 1.25rem 2rem;
}

.timeline-item .time {
	color: #6ee7b7;
	flex-shrink: 0;
	font-size: 1.1rem;
	font-weight: 700;
}

.timeline-item .text {
	font-size: 1rem;
}

/* Slow Dopamine Highlight */

.slow-dopamine-section {
	margin-bottom: 8rem;
	text-align: center;
}

.slow-dopamine-section .section-label {
	color: #0f172a;
	font-size: 2rem;
	font-weight: 800;
	margin-bottom: 1.5rem;
}

.slow-dopamine-section .section-intro {
	color: #475569;
	line-height: 1.8;
	margin-bottom: 3rem;
}

.slow-list {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	list-style: none; /* スマホ等で縦に並ぶときの挙動 */
}

.slow-item {
	align-items: center;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 99px;
	color: #0f172a;
	display: flex;
	font-size: 0.9rem;
	font-weight: 700;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	transition: all 0.3s;
}

.slow-item:hover {
	background: #f0f9f6;
	border-color: #6ee7b7;
}

/* Note Promo Section */

.note-promo {
	align-items: center;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 40px;
	border-top: 8px solid #2cb696;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
	margin: 4rem 0 8rem;
	padding: 3.5rem;
	position: relative;
	text-align: center;
}

.note-promo .note-icon {
	font-size: 3.5rem;
	margin-bottom: 1.5rem;
}

.note-promo .note-title {
	color: #0f172a;
	font-size: clamp(1.4rem, 4.5vw, 1.75rem);
	font-weight: 800;
	line-height: 1.4;
	margin-bottom: 1.25rem;
}

.note-promo .note-desc {
	color: #475569;
	font-size: 1rem;
	line-height: 1.8;
	margin-bottom: 2.5rem;
	max-width: 680px;
}

.note-promo .note-btn {
	align-items: center;
	background: #2cb696;
	border-radius: 99px;
	color: #ffffff;
	display: inline-flex;
	font-weight: 700;
	gap: 0.75rem;
	padding: 1.25rem 3rem;
	text-decoration: none;
	transition: all 0.3s;
}

.note-promo .note-btn:hover {
	background: #249d81;
	box-shadow: 0 10px 25px rgba(44, 182, 150, 0.3);
	transform: scale(1.05);
}

/* =========================================
   project/_ai-tips.scss
   AI活用術ページ用のスタイル
========================================= */

/* アニメーション用のイージング変数 */

.page-ai-tips {
	background-color: #f0f9f6;
}

/* Hero Section */

.tips-hero {
	background: linear-gradient(to bottom, #ffffff, #f0f9f6);
	padding: 10rem 0 4rem;
	text-align: center;
}

.tips-hero .hero-title {
	color: #0f172a;
	font-size: clamp(2rem, 5vw, 2.5rem);
	font-weight: 800;
	margin-bottom: 1rem;
}

.tips-hero .hero-desc {
	color: #475569;
	font-size: 0.95rem;
	line-height: 1.8;
	margin: 0 auto;
	max-width: 600px;
}

/* Concept Card */

.concept-card {
	background: linear-gradient(135deg, #059669, #1e293b);
	border-radius: 40px;
	box-shadow: 0 20px 40px rgba(5, 150, 105, 0.15);
	color: #ffffff;
	margin-bottom: 4rem;
	padding: 3rem;
	text-align: center;
}

.concept-card .concept-title {
	font-size: 1.5rem;
	font-weight: 800;
	margin-bottom: 1.25rem;
}

.concept-card .concept-text {
	font-size: 1rem;
	line-height: 1.8;
	opacity: 0.95;
}

/* Skip Area */

.skip-notice {
	align-items: center;
	backdrop-filter: blur(8px);
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid #6ee7b7;
	border-radius: 20px;
	display: flex;
	font-size: 0.85rem;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: 4rem;
	padding: 1rem 1.5rem;
}

.skip-notice .skip-text {
	align-items: center;
	color: #0f172a;
	display: flex;
	font-weight: 700;
	gap: 0.5rem;
}

.skip-notice .skip-link {
	color: #e11d48; /* 注意を引くための赤系アクセント */
	font-weight: 800;
	text-decoration: underline;
	transition: opacity 0.3s;
}

.skip-notice .skip-link:hover {
	opacity: 0.7;
}

/* Manual Mode Section */

.manual-section .section-label {
	color: #059669;
	font-size: 1.5rem;
	font-weight: 800;
	margin-bottom: 2rem;
}

/* Prompt Card */

.prompt-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 32px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
	margin-bottom: 5rem;
	padding: 2.5rem;
}

.prompt-card .prompt-title {
	font-weight: 800;
	margin-bottom: 1rem;
}

.prompt-card .prompt-intro {
	color: #475569;
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
}

.prompt-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	margin-bottom: 1.5rem;
	padding: 1.5rem;
}

.prompt-text {
	color: #475569;
	font-size: 0.95rem;
	line-height: 1.7;
	white-space: pre-wrap;
}

.copy-btn {
	align-items: center;
	background: #f1f5f9;
	border: none;
	border-radius: 16px;
	color: #0f172a;
	cursor: pointer;
	display: flex;
	font-family: inherit;
	font-weight: 700;
	gap: 0.5rem;
	justify-content: center;
	padding: 1.25rem;
	transition: all 0.3s;
	width: 100%;
}

.copy-btn:hover {
	background: #059669;
	color: #ffffff;
	transform: translateY(-2px);
}

.copy-btn:active {
	transform: scale(0.98);
}

/* Bridge Section */

.conversion-bridge {
	padding: 4rem 0;
	text-align: center;
}

.conversion-bridge .bridge-title {
	color: #e11d48;
	font-size: 1.25rem;
	font-weight: 800;
	margin-bottom: 1.5rem;
}

.conversion-bridge .bridge-title span {
	display: block;
	margin-top: 0.5rem;
}

.conversion-bridge .bridge-desc {
	color: #475569;
	line-height: 1.8;
	margin: 0 auto;
	max-width: 600px;
}

/* Note Promo Section */

.note-promo {
	background: #ffffff;
	border: 2px solid #059669;
	border-radius: 40px;
	box-shadow: 0 30px 60px -12px rgba(5, 150, 105, 0.15);
	margin-bottom: 8rem;
	padding: 4rem 2rem;
	position: relative;
	text-align: center;
}

.note-promo .promo-title {
	font-size: clamp(1.5rem, 4vw, 1.75rem);
	font-weight: 800;
	line-height: 1.4;
	margin-bottom: 1.5rem;
}

.note-promo .promo-desc {
	color: #475569;
	font-size: 1rem;
	line-height: 1.8;
	margin-bottom: 3rem;
}

/* Comparison Table */

.comparison-table {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr 1fr;
	margin: 2rem 0 4rem;
	text-align: left;
}

.comp-item {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 24px;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 2rem;
}

.comp-item.pro {
	background: rgba(110, 231, 183, 0.1);
	border-color: #6ee7b7;
}

.comp-item .comp-tag {
	color: #475569;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.comp-item .comp-tag.pro {
	color: #059669;
}

.comp-item .comp-text {
	color: #0f172a;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.4;
}

.comp-item .comp-text small {
	color: #475569;
	display: block;
	font-size: 0.8rem;
	font-weight: 500;
	margin-top: 0.4rem;
}

.comp-item .comp-text.pro {
	color: #0f172a;
}

/* Note Action Button */

.note-btn {
	align-items: center;
	background: #059669;
	border-radius: 99px;
	box-shadow: 0 10px 20px rgba(5, 150, 105, 0.2);
	color: #ffffff;
	display: inline-flex;
	font-weight: 700;
	gap: 0.75rem;
	padding: 1.25rem 3.5rem;
	text-decoration: none;
	transition: all 0.3s;
}

.note-btn:hover {
	background: #6ee7b7;
	box-shadow: 0 15px 30px rgba(5, 150, 105, 0.3);
	transform: translateY(-3px) scale(1.02);
}

.update-notice {
	background: #f1f5f9;
	border-radius: 16px;
	color: #475569;
	display: inline-block;
	font-size: 0.8rem;
	line-height: 1.5;
	margin-top: 2rem;
	padding: 1rem 1.5rem;
}

/* Toast Notification */

#toast {
	background: #0f172a;
	border-radius: 99px;
	bottom: 2rem;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
	color: #ffffff;
	font-size: 0.9rem;
	font-weight: 700;
	left: 50%;
	padding: 1rem 2rem;
	position: fixed;
	transform: translateX(-50%) translateY(100px);
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: 1000;
}

#toast.show {
	transform: translateX(-50%) translateY(0);
}

/* =========================================
   project/_privacy.scss
   プライバシーポリシーページ用のスタイル
========================================= */

/* アニメーション用のイージング変数 */

.page-privacy {
	background-color: #f0f9f6;
}

/* Hero Section */

.privacy-hero {
	background: linear-gradient(to bottom, #ffffff, #f0f9f6);
	padding: 10rem 0 4rem;
	text-align: center;
}

.privacy-hero .hero-title {
	color: #0f172a;
	font-size: clamp(2rem, 5vw, 2.5rem);
	font-weight: 800;
	margin-bottom: 1rem;
}

.privacy-hero .hero-desc {
	color: #475569;
	font-size: 0.9rem;
	font-weight: 500;
}

/* Privacy Content Area */

.privacy-content {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 40px;
	box-shadow: 0 20px 40px -10px rgba(5, 150, 105, 0.05);
	margin-bottom: 8rem;
	padding: 4rem;
}

.privacy-content section {
	margin-bottom: 4rem;
}

.privacy-content section:last-child {
	margin-bottom: 0;
}

.privacy-content h2 {
	align-items: center;
	color: #059669;
	display: flex;
	font-size: 1.5rem;
	font-weight: 800;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.privacy-content h2::before {
	background: #6ee7b7;
	border-radius: 99px;
	content: "";
	height: 24px;
	width: 4px;
}

.privacy-content p {
	color: #0f172a;
	font-size: 1rem;
	line-height: 1.8;
	margin-bottom: 1.25rem;
}

.privacy-content ul {
	color: #475569;
	list-style: disc;
	margin-bottom: 1.5rem;
	margin-left: 1.5rem;
}

.privacy-content ul li {
	margin-bottom: 0.5rem;
	padding-left: 0.5rem;
}

/* Highlight Box for YMYL */

.highlight-box {
	background: #f0f9f6;
	border-left: 5px solid #6ee7b7;
	border-radius: 20px;
	color: #0f172a;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.6;
	margin: 2rem 0;
	padding: 1.75rem;
}

/* =========================================
   project/_contact.scss
   お問い合わせページ用のスタイル
========================================= */

/* アニメーション用のイージング変数 */

.page-contact {
	background-color: #f0f9f6;
}

/* Hero Section */

.contact-hero {
	background: linear-gradient(to bottom, #ffffff, #f0f9f6);
	padding: 10rem 0 4rem;
	text-align: center;
}

.contact-hero .hero-title {
	color: #0f172a;
	font-size: clamp(2rem, 5vw, 2.5rem);
	font-weight: 800;
	margin-bottom: 1rem;
}

.contact-hero .hero-desc {
	color: #475569;
	font-size: 1rem;
}

/* Contact Form Area (Compatible with Contact Form 7) */

.contact-content {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 40px;
	box-shadow: 0 20px 40px -10px rgba(5, 150, 105, 0.05);
	margin-bottom: 5rem;
	margin-left: auto;
	margin-right: auto;
	max-width: 800px;
	padding: 4rem;
}

/* Form elements styling */

.wpcf7-form p {
	margin-bottom: 1.5rem;
}

.wpcf7-form p:last-of-type {
	margin-bottom: 0;
}

.wpcf7-form label {
	color: #0f172a;
	display: block;
	font-size: 0.9rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.wpcf7-form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.wpcf7-form { /* Input & Textarea */
}

.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-textarea,
.wpcf7-form .wpcf7-select {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	color: #0f172a;
	font-family: inherit;
	font-size: 1rem;
	outline: none;
	padding: 1rem 1.25rem;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	width: 100%;
}

.wpcf7-form .wpcf7-text::-moz-placeholder,
.wpcf7-form .wpcf7-textarea::-moz-placeholder,
.wpcf7-form .wpcf7-select::-moz-placeholder {
	color: #94a3b8;
}

.wpcf7-form .wpcf7-text::placeholder,
.wpcf7-form .wpcf7-textarea::placeholder,
.wpcf7-form .wpcf7-select::placeholder {
	color: #94a3b8;
}

.wpcf7-form .wpcf7-text:focus,
.wpcf7-form .wpcf7-textarea:focus,
.wpcf7-form .wpcf7-select:focus {
	background: #ffffff;
	border-color: #6ee7b7;
	box-shadow: 0 0 0 4px rgba(110, 231, 183, 0.1);
}

.wpcf7-form .wpcf7-textarea {
	line-height: 1.6;
	min-height: 160px;
}

.wpcf7-form { /* Submit Button */
}

.wpcf7-form .wpcf7-submit {
	background: #059669;
	border: none;
	border-radius: 99px;
	box-shadow: 0 10px 20px rgba(5, 150, 105, 0.2);
	color: #ffffff;
	cursor: pointer;
	display: block;
	font-size: 1.1rem;
	font-weight: 700;
	margin-top: 1rem;
	padding: 1.25rem;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	width: 100%;
	-webkit-appearance: none;
}

.wpcf7-form .wpcf7-submit:hover {
	background: #6ee7b7;
	box-shadow: 0 15px 30px rgba(5, 150, 105, 0.3);
	transform: translateY(-2px);
}

.wpcf7-form .wpcf7-submit:active {
	transform: scale(0.98);
}

.wpcf7-form { /* Validation Messages (CF7) */
}

.wpcf7-form .wpcf7-not-valid-tip {
	color: #e11d48;
	font-size: 0.8rem;
	font-weight: 700;
	margin-top: 0.4rem;
}

.wpcf7-form .wpcf7-response-output {
	border: 2px solid #6ee7b7 !important;
	border-radius: 12px !important;
	color: #059669 !important;
	font-size: 0.9rem !important;
	margin: 2rem 0 0 !important;
	padding: 1rem !important;
	text-align: center;
}

/* SNS Alternative */

.alternative-contact {
	margin-bottom: 8rem;
	text-align: center;
}

.alternative-contact .alt-text {
	color: #475569;
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
}

.alternative-contact .sns-button {
	align-items: center;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 99px;
	color: #0f172a;
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 700;
	gap: 0.75rem;
	padding: 1rem 2rem;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.alternative-contact .sns-button:hover {
	background: #f0f9f6;
	border-color: #6ee7b7;
	color: #059669;
	transform: translateY(-2px);
}

.alternative-contact .sns-button svg {
	color: #1da1f2; /* X/Twitter Brand Color */
}

/* --- _layout.scss --- */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background-color: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-main);
	line-height: 1.6;
}

.l-container {
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 1.25rem;
}

.l-main {
	display: flex;
	flex-direction: column;
	gap: 3rem;
	padding: 3rem 0;
}

.l-actions {
	margin-top: 3rem;
	text-align: center;
}

.btn {
	border: none;
	border-radius: 0.5rem;
	cursor: pointer;
	display: inline-block;
	font-family: inherit;
	font-weight: 700;
	padding: 0.75rem 2rem;
	text-align: center;
	text-decoration: none;
	transition: all 0.3s ease;
}

.btn--primary {
	background-color: var(--color-primary);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	color: #fff;
}

.btn--primary:hover {
	background-color: var(--color-primary-dark);
	transform: translateY(-1px);
}

.btn--secondary {
	background-color: #fff;
	border: 1px solid var(--color-border);
	color: var(--color-primary);
}

.btn--secondary:hover {
	background-color: var(--color-primary-light);
}

.btn--outline {
	background: transparent;
	border: 2px solid var(--color-border);
	border-radius: 9999px;
	color: var(--color-text-light);
}

.btn--outline:hover {
	background-color: var(--color-bg);
	color: var(--color-text);
}

.btn--small {
	font-size: 0.75rem;
	padding: 0.5rem 1rem;
}

.btn--full {
	display: block;
	width: 100%;
}

.c-to-top {
	bottom: 97px;
	height: 52px;
	position: fixed;
	right: 10px;
	width: 52px;
	z-index: 20;
}

.c-to-top svg {
	height: 100%;
	width: 100%;
}

/* Post Card Component (BEM: .post-card) */

.post-grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.post-card {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	overflow: hidden;
	transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
	box-shadow: 0 12px 20px rgba(0, 0, 0, 0.05);
	transform: translateY(-4px);
}

.post-card__thumb {
	aspect-ratio: 16/9;
	background-color: var(--color-border);
	background-image: linear-gradient(45deg, #e2e8f0 25%, transparent 25%, transparent 50%, #e2e8f0 50%, #e2e8f0 75%, transparent 75%, transparent);
	background-size: 20px 20px;
	position: relative;
}

.post-card__tag {
	background-color: var(--color-primary);
	border-radius: 0.25rem;
	color: #fff;
	font-size: 0.625rem;
	font-weight: 700;
	left: 1rem;
	padding: 0.25rem 0.5rem;
	position: absolute;
	top: 1rem;
}

.post-card__body {
	padding: 1.5rem;
}

.post-card__meta {
	color: var(--color-text-muted);
	display: block;
	font-size: 0.75rem;
	margin-bottom: 0.5rem;
}

.post-card__title {
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 0.75rem;
}

.post-card__excerpt {
	color: var(--color-text-light);
	font-size: 0.875rem;
	line-height: 1.6;
}

.c-section-title {
	align-items: center;
	display: flex;
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 2rem;
}

.c-section-title::before {
	background-color: var(--color-primary);
	border-radius: 99px;
	content: "";
	height: 0.25rem;
	margin-right: 0.75rem;
	width: 2rem;
}

.c-msg {
	background: var(--color-text);
	border-radius: 0.5rem;
	bottom: 2rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 500;
	left: 50%;
	opacity: 0;
	padding: 1rem 2rem;
	pointer-events: none;
	position: fixed;
	transform: translateX(-50%);
	transition: opacity 0.3s;
	z-index: 1000;
}

.c-msg--visible {
	opacity: 1;
}

/* ============================================================
           Decorations
           ============================================================ */

.hero-bg {
	background: radial-gradient(circle at 15% 15%, var(--color-emerald-light) 0%, transparent 40%), radial-gradient(circle at 85% 85%, #e0f2fe 0%, transparent 40%);
	filter: blur(60px);
	height: 100%;
	left: 0;
	opacity: 0.6;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: -1;
}

/* ============================================================
           Navigation
           ============================================================ */

.navbar {
	padding: 1.5rem 0;
	position: fixed;
	top: 0;
	transition: all var(--transition-speed) var(--ease-out-expo);
	width: 100%;
	z-index: 100;
}

.navbar.scrolled {
	backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.9);
	border-bottom: 1px solid var(--color-border);
	padding: 0.75rem 0;
}

.navbar .container {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.logo {
	align-items: center;
	display: flex;
	font-size: 1.25rem;
	font-weight: 700;
	gap: 0.5rem;
}

.logo-icon {
	align-items: center;
	background: var(--color-white);
	border: 1px solid var(--color-emerald-light);
	border-radius: 50%;
	display: flex;
	font-size: 1.5rem;
	height: 40px;
	justify-content: center;
	width: 40px;
}

.nav-menu {
	display: none;
}

.menu-toggle {
	color: var(--color-text-muted);
	display: block;
	padding: 0.5rem;
}

/* Mobile Menu Overlay */

.mobile-menu {
	align-items: center;
	backdrop-filter: blur(20px);
	background: rgba(255, 255, 255, 0.98);
	display: flex;
	flex-direction: column;
	height: 100vh;
	justify-content: center;
	left: 0;
	opacity: 0;
	position: fixed;
	top: 0;
	transform: translateY(-100%);
	transition: all 0.5s var(--ease-out-expo);
	width: 100%;
	z-index: 90;
}

.mobile-menu.active {
	opacity: 1;
	transform: translateY(0);
}

.mobile-menu ul {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	text-align: center;
}

.mobile-menu-link {
	font-size: 1.5rem;
	font-weight: 700;
}

/* ============================================================
           Footer
           ============================================================ */

footer {
	background: #ffffff;
	border-top: 1px solid var(--color-border);
	padding: 5rem 0 3rem;
	text-align: center;
}

.footer-logo {
	align-items: center;
	display: flex;
	font-size: 1.5rem;
	font-weight: 700;
	gap: 0.5rem;
	justify-content: center;
	margin-bottom: 2rem;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	font-size: 0.9rem;
	font-weight: 700;
	gap: 1.5rem;
	justify-content: center;
	margin-bottom: 2rem;
}

.footer-nav a:hover {
	color: var(--color-primary-dark);
}

.footer-nav-utility {
	color: var(--color-text-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.8rem;
	font-weight: 500;
	gap: 2rem;
	justify-content: center;
	margin-bottom: 2rem;
	text-decoration: underline;
}

.footer-nav-utility a:hover {
	color: var(--color-primary-dark);
}

.disclaimer {
	background: #f8fafc;
	border: 1px solid var(--color-border);
	border-radius: 20px;
	color: var(--color-text-muted);
	font-size: 0.7rem;
	line-height: 1.6;
	margin: 0 auto 3rem;
	max-width: 800px;
	padding: 1.5rem;
	text-align: left;
}

.copyright {
	color: var(--color-text-muted);
	font-size: 0.75rem;
	font-weight: 500;
}

/* ============================================================
           Hero Section
           ============================================================ */

.hero {
	padding: 10rem 0 8rem;
	position: relative;
	text-align: center;
}

.badge {
	background: var(--color-white);
	border: 1px solid var(--color-primary);
	border-radius: 999px;
	color: var(--color-primary-dark);
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	margin-bottom: 2rem;
	padding: 0.4rem 1rem;
}

.hero-title {
	font-size: clamp(2.25rem, 5vw, 4rem);
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 2rem;
}

.hero-title span {
	color: var(--color-primary-dark);
}

.hero-desc {
	color: var(--color-text-muted);
	font-size: clamp(1rem, 2vw, 1.2rem);
	margin: 0 auto 3rem;
	max-width: 800px;
}

.hero-btns {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.btn {
	border-radius: 16px;
	font-weight: 700;
	padding: 1.25rem 2.5rem;
	text-align: center;
	transition: all 0.3s;
}

.btn-primary {
	background: var(--color-primary-dark);
	box-shadow: 0 10px 20px rgba(5, 150, 105, 0.2);
	color: white;
}

.btn-secondary {
	background: white;
	border: 1px solid var(--color-border);
	color: var(--color-text-main);
}

.btn:hover {
	transform: translateY(-3px);
}

.hero {
	padding-top: 12rem; /* 元のPC用スタイルなど */ /* そのクラスの中にスマホ用を書く！ */
}

/* ============================================================
           Chat Section
           ============================================================ */

/* AI Interaction Section */

.section-ai {
	padding: 5rem 0;
}

.section-ai .chat-mockup {
	background: #ffffff;
	border: 1px solid #d1fae5;
	border-radius: 40px;
	box-shadow: 0 20px 40px -10px rgba(5, 150, 105, 0.05);
	margin: 0 auto;
	max-width: 850px;
	padding: 3rem;
}

.chat-bubble {
	align-items: flex-start;
	display: flex;
	gap: 1.25rem;
	margin-bottom: 2.5rem;
}

.chat-bubble.user {
	flex-direction: row-reverse;
}

.chat-bubble { /* モバイル対応：アイコンとテキストを縦に並べる */
}

.ai-avatar,
.user-avatar {
	align-items: center;
	border-radius: 16px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	display: flex;
	flex-shrink: 0;
	font-size: 1.25rem;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.ai-avatar {
	background: #d1fae5;
	border: 1px solid rgba(5, 150, 105, 0.1);
}

.user-avatar {
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
}

.bubble-content {
	font-size: 1rem;
	line-height: 1.8;
	max-width: 85%;
	padding: 1.5rem 2rem;
	position: relative; /* モバイル対応：横幅を100%確保する */
}

.user .bubble-content {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 24px 4px 24px 24px;
	color: #475569;
}

.ai .bubble-content {
	background: rgba(110, 231, 183, 0.08);
	border: 1px solid #d1fae5;
	border-radius: 4px 24px 24px 24px;
	color: #0f172a;
}

.chat-label {
	color: #475569;
	display: block;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
}

.user .chat-label {
	text-align: right;
}

/* アクションリスト（AIの回答内のリスト） */

.action-list {
	border-top: 1px dashed #6ee7b7;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
}

.action-item {
	align-items: flex-start;
	color: #059669;
	display: flex;
	font-size: 0.9rem;
	font-weight: 700;
	gap: 0.75rem;
	line-height: 1.5;
	margin-bottom: 0.75rem;
}

.action-item svg {
	flex-shrink: 0;
	margin-top: 0.2rem;
}

/* ============================================================
           Features Section
           ============================================================ */

.section-features {
	padding: 6rem 0;
}

.section-title {
	font-size: 2rem;
	font-weight: 800;
	margin-bottom: 4rem;
	text-align: center;
}

.feature-grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-card {
	background: white;
	border: 1px solid var(--color-border);
	border-radius: 40px;
	padding: 3rem;
	text-align: center;
	transition: all 0.3s var(--ease-out-expo);
}

.feature-card:hover {
	border-color: var(--color-primary);
	box-shadow: 0 20px 40px -10px rgba(5, 150, 105, 0.1);
	transform: translateY(-8px);
}

.feature-icon {
	color: var(--color-primary-dark);
	margin-bottom: 1.5rem;
}

.feature-card h3 {
	font-size: 1.4rem;
	margin-bottom: 1rem;
}

.feature-card p {
	color: var(--color-text-muted);
	font-size: 0.9rem;
}

/* ============================================================
           Sober Counter Section
           ============================================================ */

.section-counter {
	margin-bottom: 4rem;
	margin-top: -6rem; /* ヒーローセクションに被せる */
	position: relative;
	z-index: 10;
}

.counter-box {
	backdrop-filter: blur(20px);
	background: rgba(255, 255, 255, 0.95);
	border: 2px solid var(--color-emerald-light);
	border-radius: 40px;
	box-shadow: 0 25px 50px -12px rgba(5, 150, 105, 0.15);
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0 auto;
	max-width: 650px;
	min-height: 250px;
	padding: 3rem 2rem;
	text-align: center;
}

/* Input UI */

.input-group {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 1.5rem;
}

.input-group input[type=date] {
	background: #f8fafc;
	border: 1px solid var(--color-border);
	border-radius: 16px;
	color: var(--color-text-main);
	cursor: pointer;
	font-family: inherit;
	font-size: 1rem;
	max-width: 250px;
	outline: none;
	padding: 0.9rem 1.2rem;
	transition: border-color 0.3s;
	width: 100%;
}

.input-group input[type=date]:focus {
	border-color: var(--color-primary);
}

/* Display UI */

.days-count {
	color: var(--color-primary-dark);
	font-size: 1.75rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	margin: 0.5rem 0 1rem;
}

.days-count span {
	color: var(--color-text-main);
	font-size: 5.5rem;
	line-height: 1;
	margin: 0 0.5rem;
}

.motivational-text {
	background: var(--color-bg);
	border-radius: 20px;
	color: var(--color-primary-dark);
	display: inline-block;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	padding: 1rem 1.5rem;
}

.btn-text {
	align-items: center;
	background: none;
	border: none;
	color: var(--color-text-muted);
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 0.85rem;
	gap: 0.4rem;
	justify-content: center;
	text-decoration: underline;
	transition: color 0.3s;
}

.btn-text:hover {
	color: var(--color-primary-dark);
}

.counter-box {
	padding: 4rem 3rem; /* 元のPC用スタイル */
}

/* ============================================================
           YMYL References Section
           ============================================================ */

.section-refs {
	background: #f8fafc;
	border-top: 1px solid var(--color-border);
	padding: 5rem 0;
}

.ref-header {
	align-items: center;
	color: var(--color-text-muted);
	display: flex;
	gap: 0.5rem;
	justify-content: center;
	margin-bottom: 3rem;
}

.ref-header h2 {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ref-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.ref-item {
	background: white;
	border: 1px solid var(--color-border);
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.5rem;
	transition: all 0.3s;
}

.ref-item:hover {
	background: var(--color-bg);
	border-color: var(--color-primary);
}

.ref-title {
	align-items: center;
	color: var(--color-text-main);
	display: flex;
	font-size: 0.9rem;
	font-weight: 700;
	justify-content: space-between;
}

.ref-desc {
	color: var(--color-text-muted);
	font-size: 0.75rem;
}

.u-separate {
	margin-bottom: 24px;
	margin-top: 24px;
}

/* Responsive Utilities */

.br-pc {
	display: block;
}

.br-sp {
	display: none;
}

.inline-block {
	display: inline-block;
}

.overflow-hidden {
	overflow: hidden;
}

.grecaptcha-badge {
	visibility: hidden;
}

@media (min-width: 640px) {

.phase-grid { /* 画面幅に余裕がある時だけ 2 列を許可する */
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.hero-btns {
	flex-direction: row;
	justify-content: center;
}

.input-group {
	flex-direction: row;
	justify-content: center;
}

}

@media (min-width: 768px) {

.item-grid { /* 画面幅が広がっても最大2列までに固定する */
	grid-template-columns: repeat(2, 1fr);
}

}

@media (min-width: 1024px) {

.l-main {
	flex-direction: row;
}

.l-main__content {
	width: 66.6%;
}

.l-main__sidebar {
	width: 33.3%;
}

.nav-menu {
	color: var(--color-text-muted);
	display: flex;
	font-size: 0.875rem;
	font-weight: 700;
	gap: 1.5rem;
}

.nav-link:hover {
	color: var(--color-primary-dark);
}

.nav-link.active {
	color: var(--color-primary-dark);
}

.menu-toggle {
	display: none;
}

}

@media screen and (min-width: 1024px) {

.c-to-top {
	bottom: 40px;
	right: 20px;
}

}

@media (max-width: 640px) {

.term-grid {
	grid-template-columns: 1fr;
}

.term-card {
	padding: 2rem;
}

.ask-ai-label {
	opacity: 1; /* スマホでは最初からクッキリ見せる */
}

.timeline { /* モバイルでは左側の余白を少し詰め、はみ出しを防ぐ */
	padding-left: 1.25rem;
	padding-right: 0;
}

.phase-dot {
	border-width: 4px;
	height: 28px;
	left: -24px; /* 親の padding-left 調整に合わせて位置を微調整 */
	width: 28px;
}

.phase-content { /* モバイルでは内側のパディングを減らし、テキスト領域を確保 */
	padding: 1.5rem 1.25rem;
}

.happy-hero {
	padding-top: 8rem;
}

.benefits-grid {
	grid-template-columns: 1fr;
}

.benefit-card {
	padding: 2.5rem 1.5rem;
}

.morning-routine {
	padding: 3rem 1.5rem;
}

.slow-list {
	align-items: center;
	flex-direction: column;
	gap: 0.75rem;
}

.slow-item {
	font-size: 0.8rem;
	justify-content: center; /* 中身を中央寄せにする */
	max-width: 280px; /* 一番長い要素が収まる程度の幅に固定 */
	padding: 0.6rem 1.2rem; /* 縦並び時に幅を揃えるための設定 */
	width: 100%;
}

.note-promo {
	margin-bottom: 6rem;
	padding: 3rem 1.5rem;
}

.concept-card {
	padding: 2.5rem 1.5rem;
}

.skip-notice {
	flex-direction: column;
	text-align: center;
}

.prompt-card {
	padding: 1.5rem;
}

.note-promo {
	padding: 3.5rem 1.5rem;
}

.comparison-table {
	grid-template-columns: 1fr;
}

.privacy-content {
	border-radius: 32px;
	padding: 2.5rem 1.5rem;
}

.privacy-content h2 {
	font-size: 1.35rem;
}

.contact-content {
	border-radius: 32px;
	padding: 2.5rem 1.5rem;
}

.hero {
	padding-top: 8rem;
}

.section-ai .chat-mockup {
	border-radius: 32px;
	padding: 1.5rem;
}

.chat-bubble {
	align-items: flex-start;
	flex-direction: column !important;
	gap: 0.75rem;
}

.chat-bubble.user {
	align-items: flex-end;
}

.bubble-content {
	font-size: 0.95rem;
	max-width: 100%;
	padding: 1.25rem 1.5rem;
}

.counter-box {
	padding: 2.5rem 1.5rem;
}

.br-pc {
	display: none;
}

.br-sp {
	display: block;
}

}

@media (max-width: 450px) {

.phase-header {
	align-items: flex-start;
	flex-direction: column;
	gap: 0.75rem;
}

}

@media (max-width: 400px) {

.phase-title {
	font-size: 1.35rem; /* タイトルが長すぎても収まりやすく微調整 */
	min-width: 0;
	width: 100%;
}

.timeline-item {
	align-items: flex-start;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.25rem;
}

}

