/* =========================
RESPONSIVE 完全修正版
========================= */

/* tablet */
@media (max-width: 1024px) {
	body {
		overflow-x: hidden;
	}

	#header {
		position: relative;
		height: auto;
	}

	#header .inner {
		height: auto;
		padding: 22px 18px;
		flex-direction: column;
		gap: 14px;
	}

	.logo,
	.logo a {
		font-size: 32px;
		text-align: center;
	}

	.nav-list {
		flex-wrap: wrap;
		justify-content: center;
		gap: 18px;
		padding: 0;
	}

	.shop-btn {
		padding: 12px 28px;
	}

	#hero {
		position: relative;
		height: auto;
		min-height: 700px;
		padding-top: 0;
		overflow: hidden;
		display: flex;
		flex-direction: column;
	}

	.hero-inner {
		height: auto;
		position: relative;
		z-index: 30;
	}

	.hero-copy {
		position: relative;
		left: auto;
		top: auto;
		transform: none;
		width: 92%;
		margin: 36px auto 0;
		text-align: center;
	}

	.hero-copy h2 {
		font-size: clamp(54px, 13vw, 86px);
	}

	.hero-btn {
		justify-content: center;
		flex-wrap: wrap;
		margin-top: 26px;
	}

	.hero-image {
		position: relative;
		right: auto;
		top: auto;
		width: min(118%, 760px);
		margin: -20px auto 0;
		z-index: 10;
	}

	.hero-image img {
		width: 100%;
		height: auto;
		display: block;
	}

	.hero-rays {
		right: -480px;
		top: 120px;
		width: 900px;
		height: 900px;
	}
     #news
          {
			padding-top: 50px;
		  }

	.top-news-bar {
		margin-top: 24px;
	}

	.intro-inner {
		grid-template-columns: 1fr;
	}

	.works-card {
		grid-template-columns: repeat(2, 1fr);
	}

	.works-btn-wrap {
		grid-column: 1 / -1;
	}

	.new-book {
		grid-template-columns: 1fr;
	}

	.new-book-image {
		max-width: 560px;
		margin: 0 auto;
	}

	.book-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* smartphone */
@media (max-width: 600px) {
	body {
		overflow-x: hidden;
	}

	#header {
		position: relative;
	}

	#header .inner {
		padding: 24px 14px 20px;
	}

	.logo,
	.logo a {
		font-size: 30px;
		line-height: 1.1;
	}

	.logo span {
		font-size: 13px;
		margin-top: 8px;
	}

	.nav-list {
		gap: 14px;
		padding: 0;
	}

	.nav-list a {
		font-size: 12px;
	}

	.shop-btn {
		margin-top: 4px;
		font-size: 14px;
		padding: 12px 30px;
	}

	/* HERO */
	#hero {
		position: relative;
		height: 640px;
		min-height: 640px;
		padding-top: 0;
		overflow: hidden;
		background: #fff8fb;
	}

	.hero-background {
		background-position: center top;
		background-size: cover;
	}

	.hero-inner {
		position: relative;
		z-index: 40;
		height: auto;
	}

	.hero-copy {
		position: relative;
		left: auto;
		top: auto;
		transform: none;
		width: 100%;
		margin: 0 auto;
		padding-top: 20px;
		text-align: center;
		z-index: 50;
	}

	.hero-copy h2 {
		display: none;
	}

	.hero-btn {
		position: relative;
		z-index: 60;
		display: flex;
		justify-content: center;
		flex-wrap: nowrap;
		gap: 14px;
		margin-top: 50%;
	}

	.btn {
		width: 145px;
		height: 60px;
		font-size: 17px;
	}


	.hero-image {
		position: absolute;
		left: 70%;
		right: auto;
		top: 92px;
		bottom: auto;
		width: 240%;
		max-width: none;
		margin: 0;
		transform: translateX(-50%);
		z-index: 20;
	}

	.hero-image img {
		width: 100%;
		height: auto;
		display: block;
	}

	.hero-rays {
		right: -420px;
		top: 80px;
		width: 760px;
		height: 760px;
	}

	.top-news-bar {
		grid-template-columns: 1fr;
		gap: 6px;
		margin-top: 0;
		padding: 16px 18px;
	}

	.top-news-link {
		text-align: left;
		color: #ff5c87;
	}

	/* ABOUT */
	#intro-banner {
		padding: 60px 0;
	}

	.intro-inner {
		width: 90%;
		grid-template-columns: 1fr;
	}

	.intro-about {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 22px;
	}

	.about-icon img {
		margin: 0 auto;
	}

	.intro-about,
	.intro-sns {
		padding: 30px 22px;
		border-radius: 28px;
	}

	.intro-title {
		font-size: 34px;
	}

	.sns-grid {
		grid-template-columns: 1fr;
	}

	/* ILLUST / WORKS */
	.works-section {
		padding: 70px 0;
	}

	.works-heading span {
		font-size: 26px;
	}

	.works-card {
		grid-template-columns: 1fr;
		padding: 22px;
	}

	.work-item,
	.work-item.large {
		min-height: 220px;
	}

	/* BOOK */
	#book {
		padding: 80px 0;
	}

	.book-title span {
		font-size: 34px;
	}

	.new-book {
		padding: 24px;
		gap: 24px;
	}

	.new-book-content h3 {
		font-size: 24px;
	}

	.shop-links {
		flex-direction: column;
	}

	.shop-links a {
		width: 100%;
	}

	.book-grid {
		grid-template-columns: 1fr;
	}

	/* FOOTER */
	#footer {
		margin-top: 70px;
		padding: 80px 0 40px;
	}

	.footer-logo h2 {
		font-size: 48px;
	}

	.footer-message {
		font-size: 18px;
	}

	.page-top {
		right: 20px;
		top: 20px;
		width: 48px;
		height: 48px;
	}

	/* LOADING */
	.loading-panda {
		width: 170px;
	}

	.loading-inner h2 {
		font-size: 38px;
	}
}

@supports not (height: 100dvh) {
	#loading {
		height: 100vh;
	}
}

.loading-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.loading-inner {
	position: relative;
	z-index: 2;
	text-align: center;
}