 /**, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }*/
:root {
		--kec-red:    #f60a20;
		--kec-red-dk: #6e1414;
		--kec-gold:   #FFF;
		--kec-gold-lt:#fef3d0;
		--bg:         #ffffff;
		--bg-sub:     #f8f5f0;
		--text:       #1a1a1a;
		--text-sub:   #333;
		--text-muted: #888;
		--border:     rgba(0,0,0,0.10);
		--border-md:  rgba(0,0,0,0.18);
		--radius-md:  8px;
		--radius-lg:  12px;
}
/*
body {
		font-family: 'Noto Sans JP', sans-serif;
		background: var(--bg-sub);
		color: var(--text);
		line-height: 1.7;
}
*/
#pagetitle.howto-guide {
background-image:url(/pc/img/howto-guide/howto-guide_main.jpg);
}
/* ===== HERO ===== */
.hero {
		background: var(--kec-red);
		padding: 3rem 2rem 2.5rem;
		text-align: center;
		border-bottom: 3px solid var(--kec-gold);
		position: relative;
		overflow: hidden;
}
.hero::before {
		content: '';
		position: absolute;
		inset: 0;
		background: repeating-linear-gradient(
				45deg, transparent, transparent 40px,
				rgba(232,196,74,0.05) 40px, rgba(232,196,74,0.05) 80px
		);
}
.hero .hero-label {
		display: inline-block;
		border: 1px solid var(--kec-gold);
		color: var(--kec-gold);
		font-size: 11px;
		letter-spacing: 3px;
		padding: 4px 16px;
		margin-bottom: 1.1rem;
		font-weight: 500;
		position: relative;
}
.hero .hero-title {
		font-family: 'Noto Serif JP', serif;
		color: #fff;
		font-size: 28px;
		font-weight: 700;
		line-height: 1.6;
		margin-bottom: 0.5rem;
		position: relative;
}
.hero .hero-title span { color: var(--kec-gold); }
.hero .hero-sub {
		color: #FFF;
		font-size: 13px;
		position: relative;
		text-align: center;
}

/* ===== CONTAINER ===== */
.container {
/*
		max-width: 900px;
		margin: 0 auto;
		background: var(--bg);
		*/
}

/* ===== TAG STRIP ===== */
.tag-strip {
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
		padding: 1.2rem 1.5rem 0.8rem;
		background: var(--bg);
		border-bottom: 1px solid var(--border);
		position: sticky;
		top: 0;
		z-index: 10;
}
.tag {
		padding: 5px 12px;
		border-radius: 20px;
		border: 0.5px solid var(--border-md);
		color: var(--text-sub);
		background: var(--bg-sub);
		cursor: pointer;
		transition: background 0.12s, color 0.12s, border-color 0.12s;
		user-select: none;
}
.tag:hover, .tag.active {
		background: var(--kec-red);
		color: var(--kec-gold);
		border-color: var(--kec-red);
}

/* ===== DIVIDER ===== */
.divider { height: 1px; background: var(--border); margin: 0 1.5rem; }

/* ===== SECTION ===== */
.section { padding: 1.5rem 1.5rem 0.25rem; background: var(--bg); }
.section.w { padding: 1.5rem 0rem 0.25rem;}
.section-header {
		display: flex;
		align-items: flex-start;
		gap: 10px;
		margin-bottom: 0.6rem;
}
.section-icon {
		width: 32px; height: 32px;
		background: var(--kec-red);
		border-radius: var(--radius-md);
		display: flex; align-items: center; justify-content: center;
		flex-shrink: 0;
		margin-top: 2px;
}
.section-icon svg { width: 16px; height: 16px; fill: var(--kec-gold); }
.section-meta { flex: 1; }
.section-title-row {
		display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
}
.section-title { font-size: 171.4%; font-weight: bold; color: var(--text); line-height:  1.6}
.section-count {
		color: var(--text-muted);
		background: var(--bg-sub); padding: 2px 8px;
		border-radius: 20px; border: 0.5px solid var(--border);
}
.section-desc {
		color: var(--text-sub);
		line-height: 1.75; padding-bottom: 0.8rem;
}

/* ===== ARTICLE CARDS ===== */
.cards-grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
		gap: 8px;
		margin-bottom: 0.75rem;
}
.main .cards-grid a::before{ display: none }
.card {
		background: var(--bg);
		border: 0.5px solid var(--border);
		border-radius: var(--radius-lg);
		padding: 12px 14px;
		cursor: pointer;
		transition: border-color 0.15s, background 0.15s;
		display: flex; gap: 10px; align-items: flex-start;
		text-decoration: none;
}
.card:hover { border-color: var(--border-md); background: var(--bg-sub); }
.card-num {
		color: var(--kec-red); font-weight: 700;
		min-width: 22px; margin-top: 2px;
}
.card-body { flex: 1; min-width: 0; }
.card-date { font-size: 14px; color: var(--text-muted); margin-bottom: 3px; display: none;}
.card-title {font-weight: 500; color: var(--text); line-height: 1.55; }
.c.example-box-labelard-arrow { color: var(--text-muted); font-size: 14px; margin-top: 1px; flex-shrink: 0; }

/* ===== EXAMPLE BOX ===== */
.example-box {
		background: var(--bg-sub);
		border: 0.5px solid var(--border);
		border-radius: var(--radius-lg);
		padding: 1rem 1.25rem;
		margin: 0 1.5rem 1.2rem;
}
.example-box-label {
		letter-spacing: 2px; color: var(--kec-red);
		font-weight: 700; margin-bottom: 0.5rem; text-transform: uppercase;
}
.example-box-title {
		font-weight: 700; color: var(--text); margin-bottom: 0.5rem;
}
.example-box-intro {
		color: var(--text-sub); line-height: 1.7; margin-bottom: 0.75rem;
}
.example-tabs { display: flex; gap: 6px; margin-bottom: 0.8rem; flex-wrap: wrap; }
.ex-tab {
		padding: 4px 12px; border-radius: 20px;
		border: 0.5px solid var(--border-md); color: var(--text-sub);
		background: var(--bg); cursor: pointer; transition: all 0.12s;
}
.ex-tab.active, .ex-tab:hover {
		background: var(--kec-red); color: var(--kec-gold); border-color: var(--kec-red);
}
.ex-content { display: none; }
.ex-content.show { display: block; }
.ex-scene { margin-bottom: 1rem; }
.ex-verb {
		display: inline-block; font-weight: 700;
		padding: 2px 7px; border-radius: 3px; margin-bottom: 4.ex-enpx;
}
.verb-give { background: #FAEEDA; color: #854F0B; }
.verb-get  { background: #fde8e8; color: #8b1a1a; }
.verb-have { background: #fef3d0; color: #7a5200; }
.ex-en {
		color: var(--text); font-weight: 500;
		line-height: 1.6; margin-bottom: 2px;
}
.ex-ja { color: var(--text-sub); line-height: 1.5; }
.ex-more-link {
		display: inline-block; color: var(--kec-red);
		text-decoration: none; margin-top: 0.5rem;
		border-bottom: 1px solid var(--kec-red);
}
.main .ex-more-link::before {
 display: none;
}
.ex-more-link:hover { opacity: 0.75; }

/* ===== YOUTUBE SECTION ===== */
.yt-section { padding: 1.5rem 1.5rem 1rem; background: var(--bg); }
.yt-header { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 0.6rem; }
.yt-icon {
		width: 32px; height: 32px; background: var(--kec-red);
		border-radius: var(--radius-md);
		display: flex; align-items: center; justify-content: center;
		flex-shrink: 0; margin-top: 2px;
}
.yt-icon svg { width: 18px; height: 18px; fill: var(--kec-gold); }
.yt-meta { flex: 1; }
.yt-title-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.yt-title { font-size: 171.4%; font-weight: 700; color: var(--text);line-height: 1.6; }
.yt-badge {
		font-weight: 700; padding: 2px 8px;
		border-radius: 20px; background: #fde8e8; color: var(--kec-red);
		border: 0.5px solid #f5b8b8; letter-spacing: 0.5px;
}
.yt-desc { color: var(--text-sub); line-height: 1.75; padding-bottom: 0.8rem; }

.shorts-grid {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
		gap: 10px;
		margin-bottom: 1rem;
}
.short-card {
		text-decoration: none;
		display: flex; flex-direction: column;
		border-radius: var(--radius-lg); overflow: hidden;
		border: 0.5px solid var(--border);
		background: var(--bg);
		transition: border-color 0.15s, transform 0.15s;
}
.main a.short-card:before {
 display: none;
}
.short-card:hover { border-color: var(--kec-red); transform: translateY(-2px); }
.short-thumb {
		position: relative; width: 100%; padding-top: 177.7%;
		overflow: hidden; background: #111;
}
.short-thumb img {
		position: absolute; inset: 0; width: 100%; height: 100%;
		object-fit: cover; display: block;
}
.short-play {
		position: absolute; inset: 0;
		display: flex; align-items: center; justify-content: center;
		background: rgba(0,0,0,0.28); transition: background 0.15s;
}
.short-card:hover .short-play { background: rgba(139,26,26,0.55); }
.short-play svg {
		width: 28px; height: 28px; fill: #fff;
		filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}
.short-pill {
		position: absolute; top: 7px; left: 7px;
		background: var(--kec-red); color: #fff;
		font-size: 9px; font-weight: 700;
		padding: 2px 6px; border-radius: 4px; letter-spacing: 0.5px;
}
.short-info { padding: 8px 10px 10px; }
.short-title {
		font-weight: 500; color: var(--text);
		line-height: 1.5;
		display: -webkit-box; -webkit-line-clamp: 3;
		-webkit-box-orient: vertical; overflow: hidden;
}

.yt-more {
		display: flex; align-items: center; justify-content: center; gap: 6px;
		margin: 0 0 0.5rem;
		padding: 10px;
		border: 0.5px solid var(--kec-red);
		border-radius: var(--radius-lg);
		text-decoration: none; color: var(--kec-red);
		font-weight: 500;
		transition: background 0.12s;
}
.main .yt-more:before {
 display: none;
}
.yt-more:hover { background: #fde8e8; }
.yt-more svg { width: 14px; height: 14px; fill: var(--kec-red); }

/* ===== CTA BAR ===== */
.cta-bar {
		margin: 1rem 1.5rem 1.5rem;
		background: var(--kec-red);
		border-radius: var(--radius-lg);
		padding: 1.2rem 1.5rem;
		display: flex; align-items: center;
		justify-content: space-between;
		gap: 1rem; flex-wrap: wrap;
}
.cta-text { color: rgba(255,255,255,0.88); line-height: 1.65; }
.cta-text strong { color: var(--kec-gold); }
.cta-btn {
		display: inline-block; padding: 9px 20px;
		background: var(--kec-gold); color: var(--kec-red);
		border-radius: 6px; font-weight: 700;
		text-decoration: none; white-space: nowrap; transition: opacity 0.15s;
}
.main .cta-btn:before {
 display: none;
}
.cta-btn:hover { opacity: 0.88; }

/* ===== RESPONSIVE ===== */

/*スマホ版*/
#pagetitle.howto-guide {
background-image:url(/sp/img/howto-guide/howto-guide_main.jpg);
}
.spCont .hero-title { /*font-size: 22px;*/ }
.spCont .cards-grid { grid-template-columns: 1fr; }

.spCont .shorts-grid { grid-template-columns: repeat(2, 1fr); }
.spCont .cta-bar { flex-direction: column; text-align: center; }
.spCont .tag-strip { padding: 0.8rem 1rem 0.6rem; }
.spCont .section, .yt-section { padding: 1.2rem 1rem 0.2rem; }
.spCont .example-box, .yt-more, .cta-bar { margin-left: 1rem; margin-right: 1rem; }
.spCont .divider { margin: 0 1rem; }

.spCont .section-title{
font-size: 144%;
line-height: 1.3;
}
.spCont .yt-title{
font-size: 144%;
line-height: 1.3;
}
.spCont .card-date{
font-size: 20px;
}
.spCont .yt-badge{
display: inline-block;
padding: 4px;
}
.spCont .yt-title-row{
display: block;
}

.spCont .section.w{
 padding: 1.2rem 0rem 0.2rem;
}
.spCont .cta-text{
 text-align: left;
	font-size: 20px;
}

.spCont .tag-strip{
 padding: 40px 0px;
	gap: 15px;
}
.spCont .tag-strip .tag{
 padding: 8px 16px;
}