@charset "utf-8";

/* ================================================================
   Responsive - Eco Creative Site
   ================================================================ */

/* --- Main layout: content full width, then side below --- */
#header::after {
	content: "";
	display: table;
	clear: both;
}

ul.oe_menu {
	float: none;
	clear: both;
}

#wrapper #main,
#main {
	display: flex;
	flex-direction: column;
	width: 100%;
	clear: both;
}

#wrapper #main::after,
#main.clr::after {
	display: none;
	content: none;
}

#wrapper #main > #content,
#wrapper #content {
	order: 1;
	float: none;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	flex: 0 0 auto;
}

#wrapper #main > #side,
#wrapper #side {
	order: 2;
	float: none;
	width: 100%;
	max-width: 100%;
	flex: 0 0 auto;
}

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

html {
	min-width: 0;
}

#wrapper {
	max-width: 980px;
	width: 100%;
	box-sizing: border-box;
}

ul.oe_menu {
	max-width: 980px;
	width: 100%;
	box-sizing: border-box;
}

ul.oe_menu > li {
	width: 20%;
}

#footer .footerNav {
	max-width: 960px;
	width: 100%;
	box-sizing: border-box;
	padding: 0 10px;
}

#wrapper #content {
	width: 100%;
	box-sizing: border-box;
}

#wrapper #side {
	width: 100%;
	box-sizing: border-box;
}

.nav-toggle {
	display: none;
}

/* Tablet */
@media (max-width: 980px) {
	ul.oe_menu div {
		width: 100%;
		left: 0;
		box-sizing: border-box;
	}

	ul.oe_menu div.first {
		background-position: 50% 0;
	}

	ul.oe_menu div.second {
		background-position: 65% 0;
	}

	ul.oe_menu li .first ul,
	ul.oe_menu li .second ul {
		width: 100%;
	}

	ul.oe_menu div.first ul li,
	ul.oe_menu div.second ul li {
		width: 31%;
		margin-right: 3.5%;
	}

	#wrapper #content,
	#wrapper #side {
		width: 100%;
		max-width: none;
	}

	#wrapper #side {
		margin-top: 30px;
	}

	.book_content {
		width: 48%;
		margin-right: 4%;
	}

	.book_content:nth-child(2n) {
		margin-right: 0;
	}

	.book_content:nth-child(2n+1) {
		clear: left;
	}

	.posL,
	.posR {
		float: none;
		width: 100% !important;
		margin-bottom: 15px;
	}

	.gaiyou .rinen .posL,
	.gaiyou .rinen .posR,
	.gaiyou .inada .posR,
	.gaiyou .inada .posL,
	.haruka .obi-copy .posL,
	.haruka .obi-copy .posR,
	.haruka .mokuji .posL,
	.haruka .mokuji .posR,
	#aboutsite .posL {
		width: 100% !important;
	}

	.haruka .obi-copy,
	.haruka .mokuji > .clr {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.haruka .mokuji {
		padding: 0 16px 16px;
	}

	#wrapper #content .logbox {
		width: 100%;
	}
}

/* Mobile */
@media (max-width: 768px) {
	#wrapper {
		padding: 0 20px;
	}

	.page-mv {
		min-height: 220px;
		margin-bottom: 20px;
	}

	.page-mv_inner {
		padding: 48px 16px;
	}

	.page-mv_divider {
		margin: 14px auto;
	}

	.haruka-catch {
		font-size: 18px;
		line-height: 1.7;
		margin-bottom: 24px;
	}

	body:not(.home) #header {
		padding: 8px 0 16px;
	}

	body:not(.home) ul.oe_menu {
		margin: 20px 0 20px;
	}

	#header #title {
		text-align: left;
		width: 100%;
		padding-right: 54px;
		box-sizing: border-box;
	}

	#header h1 {
		text-align: left;
		width: 100%;
	}

	#header .site-title {
		text-align: left;
		width: 100%;
	}

	#header h1 span,
	#header .site-title-text {
		display: block;
		text-align: left;
		font-size: 10px;
		line-height: 1.5;
		margin-bottom: 10px;
		word-break: break-word;
	}

	#header h1 br,
	#header .site-title-text + br {
		display: none;
	}

	#header h1 br.site-title-br-sp,
	#header .site-title-text .site-title-br-sp {
		display: block;
	}

	#header h1 a,
	#header .site-title a {
		display: block;
		text-align: left;
	}

	#header h1 a img,
	#header .site-title a img {
		width: 65%;
		max-width: 280px;
		height: auto;
		margin: 0;
	}

	#header #gNav {
		position: static;
	}

	#header #gNav .oe_wrapper {
		position: static;
		padding-top: 0;
	}

	.nav-toggle {
		display: block;
		position: fixed;
		top: 12px;
		right: 20px;
		z-index: 1001;
		width: 48px;
		height: 48px;
		margin: 0;
		padding: 0;
		border: none;
		border-radius: 50%;
		background: linear-gradient(145deg, #5ACAD7 0%, #3F91A3 100%);
		cursor: pointer;
		box-shadow: 0 4px 16px rgba(63, 145, 163, 0.35);
		transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
	}

	.nav-toggle:active {
		transform: scale(0.96);
	}

	.nav-toggle-bar {
		position: absolute;
		left: 50%;
		width: 20px;
		height: 2px;
		margin-left: -10px;
		background: #fff;
		border-radius: 2px;
		transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
	}

	.nav-toggle-bar:nth-child(1) {
		top: 16px;
	}

	.nav-toggle-bar:nth-child(2) {
		top: 23px;
	}

	.nav-toggle-bar:nth-child(3) {
		top: 30px;
	}

	.nav-toggle.is-open {
		background: linear-gradient(145deg, #3F91A3 0%, #567199 100%);
		box-shadow: 0 4px 18px rgba(86, 113, 153, 0.4);
	}

	.nav-toggle.is-open .nav-toggle-bar {
		background: #fff;
	}

	.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
		top: 23px;
		transform: rotate(45deg);
	}

	.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
		opacity: 0;
	}

	.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
		top: 23px;
		transform: rotate(-45deg);
	}

	#gNav #oe_overlay {
		display: none !important;
	}

	.nav-overlay {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(44, 62, 69, 0.4);
		z-index: 999;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 0.35s ease, visibility 0s linear 0.35s;
	}

	.nav-overlay.is-visible {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transition: opacity 0.35s ease, visibility 0s linear 0s;
	}

	body.nav-open {
		overflow: hidden;
	}

	ul.oe_menu {
		position: fixed;
		top: 68px;
		left: 20px;
		right: 20px;
		width: auto;
		max-width: none;
		float: none;
		margin: 0;
		padding: 8px;
		max-height: calc(100vh - 84px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		z-index: 1000;
		background: rgba(255, 255, 255, 0.97);
		-webkit-backdrop-filter: blur(16px);
		backdrop-filter: blur(16px);
		border: 1px solid rgba(156, 185, 215, 0.35);
		border-radius: 16px;
		box-shadow:
			0 20px 50px rgba(63, 145, 163, 0.18),
			0 8px 20px rgba(0, 0, 0, 0.06);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(-12px) scale(0.98);
		transform-origin: top center;
		transition:
			opacity 0.35s ease,
			transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
			visibility 0s linear 0.35s;
	}

	#gNav.is-open ul.oe_menu {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0) scale(1);
		transition:
			opacity 0.35s ease,
			transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
			visibility 0s linear 0s;
	}

	ul.oe_menu > li {
		display: block;
		width: 100%;
		float: none;
		height: auto;
		min-height: 0;
		background: transparent;
		border-bottom: none;
		background-image: none;
		border-radius: 10px;
		overflow: hidden;
	}

	ul.oe_menu > li:last-child {
		background: transparent;
		background-image: none;
	}

	ul.oe_menu > li > a,
	ul.oe_menu > li > .nav-text {
		display: flex;
		align-items: center;
		width: 100%;
		height: auto;
		min-height: 48px;
		padding: 14px 16px;
		justify-content: flex-start;
		box-sizing: border-box;
		font-size: 15px;
		font-weight: 600;
		color: #2c3e45;
		letter-spacing: 0.04em;
		line-height: 1.45;
		border-radius: 10px;
		transition: background 0.2s ease, color 0.2s ease;
		font-family: "Zen Old Mincho", serif;
	}

	ul.oe_menu > li > a:active {
		background: rgba(90, 202, 215, 0.14);
		color: #0091D9;
	}

	ul.oe_menu > li.selected > a,
	ul.oe_menu > li.selected > .nav-text {
		color: #0091D9;
		background: rgba(90, 202, 215, 0.1);
	}

	ul.oe_menu .nav-text br {
		display: none;
	}

	ul.oe_menu > li.has-sub > .nav-text {
		cursor: pointer;
		position: relative;
		padding-right: 48px;
	}

	ul.oe_menu > li.has-sub.is-open > .nav-text {
		color: #3F91A3;
		background: rgba(90, 202, 215, 0.08);
	}

	ul.oe_menu > li.has-sub > .nav-text::after {
		content: "";
		position: absolute;
		right: 18px;
		top: 50%;
		width: 8px;
		height: 8px;
		margin-top: -2px;
		border-right: 2px solid #3F91A3;
		border-bottom: 2px solid #3F91A3;
		transform: translateY(-50%) rotate(45deg);
		transition: transform 0.25s ease, margin-top 0.25s ease;
	}

	ul.oe_menu > li.has-sub.is-open > .nav-text::after {
		margin-top: 2px;
		transform: translateY(-50%) rotate(-135deg);
	}

	ul.oe_menu > li.has-sub > div.first,
	ul.oe_menu > li.has-sub > div.second {
		display: grid !important;
		grid-template-rows: 0fr;
		position: static;
		width: 100%;
		padding: 0 8px;
		background-image: none !important;
		background-color: transparent;
		box-sizing: border-box;
		overflow: hidden;
		transition: grid-template-rows 0.4s ease, padding 0.4s ease;
	}

	ul.oe_menu > li.has-sub.is-open > div.first,
	ul.oe_menu > li.has-sub.is-open > div.second {
		grid-template-rows: 1fr;
		padding: 0 8px 8px;
	}

	ul.oe_menu > li.has-sub > div.first > ul,
	ul.oe_menu > li.has-sub > div.second > ul {
		overflow: hidden;
		min-height: 0;
		opacity: 0;
		transition: opacity 0.3s ease 0.05s;
	}

	ul.oe_menu > li.has-sub.is-open > div.first > ul,
	ul.oe_menu > li.has-sub.is-open > div.second > ul {
		opacity: 1;
	}

	ul.oe_menu div.first ul,
	ul.oe_menu div.second ul,
	ul.oe_menu div.first ul.clr,
	ul.oe_menu div.second ul.clr {
		display: block;
		width: 100%;
		float: none;
		padding: 0;
		background: none;
		border-radius: 0;
		box-sizing: border-box;
	}

	ul.oe_menu div.first ul li,
	ul.oe_menu div.second ul li {
		display: block;
		float: none;
		clear: both;
		width: 100%;
		margin-right: 0;
		margin-bottom: 0;
	}

	ul.oe_menu div.first ul li a,
	ul.oe_menu div.second ul li a {
		display: block;
		width: 100%;
		box-sizing: border-box;
		padding: 10px 8px;
		background: transparent;
		border-radius: 0;
		box-shadow: none;
		border-bottom: none;
		font-size: 13px;
		font-weight: 600;
		color: #2c3e45;
		line-height: 1.5;
		text-decoration: none;
		transition: color 0.2s ease;
		font-family: "Zen Old Mincho", serif;
	}

	ul.oe_menu div.first ul li a:active,
	ul.oe_menu div.second ul li a:active {
		color: #0091D9;
	}

	ul.oe_menu div ul li a img {
		display: block;
		width: 70%;
		max-width: 200px;
		height: auto;
		margin: 6px auto 0;
		border-radius: 4px;
	}

	#main {
		margin-top: 10px;
	}

	body.home .mv {
		min-height: 44vh;
		min-height: 44dvh;
		margin-top: 0;
		margin-bottom: 28px;
		padding-top: 72px;
		box-sizing: border-box;
	}

	body.home .mv-br-sp {
		display: block;
	}

	body.home .mv_lead {
		line-height: 1.85;
	}

	body.home .mv_credit {
		margin-top: 4px;
	}

	body.home .mv_inner {
		padding: 28px 20px 32px;
	}

	body.home .mv_title img {
		width: min(410px, 78vw);
	}

	body.home #main {
		margin-top: 0;
	}

	.banner img,
	.banner a img {
		max-width: 100%;
		height: auto;
	}

	#booksArea .book_content,
	.book_content {
		float: left;
		width: 48%;
		margin-right: 4%;
		margin-bottom: 30px;
		clear: none;
	}

	#booksArea .book_content:nth-child(2n),
	.book_content:nth-child(2n) {
		margin-right: 0;
	}

	#booksArea .book_content:nth-child(2n+1),
	.book_content:nth-child(2n+1) {
		clear: left;
	}

	.book_content.is-collapsed .book_desc {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 4;
		line-clamp: 4;
		overflow: hidden;
	}

	.book_content.is-open .book_desc,
	.book_content.is-animating .book_desc {
		display: block;
		-webkit-line-clamp: unset;
		line-clamp: unset;
		-webkit-box-orient: unset;
	}

	.book_content.is-open .book_desc {
		overflow: visible;
	}

	.book_content.is-open,
	.book_content.is-animating {
		height: auto !important;
		min-height: 0 !important;
	}

	.book_desc {
		overflow: hidden;
		transition: max-height 0.45s ease;
	}

	.book_desc_more.is-visible {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 5px;
		margin-top: 8px;
		padding: 6px 12px;
		border: 1px solid #3F91A3;
		border-radius: 4px;
		background: #fff;
		color: #3F91A3;
		font-size: 11px;
		line-height: 1.4;
		text-decoration: none;
		cursor: pointer;
		box-sizing: border-box;
		transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	}

	.book_desc_more-icon {
		font-size: 11px;
		line-height: 1;
	}

	.book_desc_more.is-visible:hover,
	.book_desc_more.is-visible:focus {
		background: #5ACAD7;
		border-color: #5ACAD7;
		color: #fff;
	}

	#wrapper #content h1,
	#wrapper #content h2,
	#booksArea h2 {
		display: block;
		font-size: 21px;
		padding: 24px 0 16px;
		margin-bottom: 10px;
		line-height: 1.5;
	}

	#wrapper #content h1 span,
	#wrapper #content h2 span,
	#booksArea h2 span {
		display: inline-block;
		vertical-align: middle;
		margin-right: 8px;
	}

	#wrapper #content h2:has(.more_btn),
	#booksArea h2:has(.more_btn) {
		padding-right: 0;
	}

	h1 .more_btn,
	h2 .more_btn {
		display: block;
		margin-left: 0;
		margin-top: 10px;
		font-size: 14px;
	}

	.radio_youtube dl {
		display: block;
		height: 300px;
		overflow-y: scroll;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
		background: transparent;
		box-sizing: border-box;
		padding: 0;
	}

	.radio_youtube dl dt {
		float: none;
		width: auto;
		display: inline-flex;
		padding: 6px 10px;
		margin: 0 0 10px;
	}

	.radio_youtube dl dd {
		padding: 0 0 16px;
		margin: 0 0 16px;
		min-width: 0;
	}

	#topics_list {
		height: auto;
		max-height: none;
		overflow: visible;
	}

	.blognews_list li {
		flex-direction: column;
		gap: 10px;
		padding: 16px 0;
	}

	.blognews_date {
		flex: 0 0 auto;
		align-self: flex-start;
	}

	.blognews_title {
		font-size: 15px;
	}

	.posL,
	.posR {
		float: none;
		width: 100% !important;
		margin-bottom: 15px;
	}

	#wrapper #side .bannerArea {
		justify-content: space-between;
		gap: 10px;
	}

	#wrapper #side .bannerArea a,
	#wrapper #side .bannerArea a.banner-sns {
		flex: 0 1 calc(50% - 5px);
		width: calc(50% - 5px);
	}

	.banner-sns-lead {
		font-size: 11px;
	}

	.banner-sns-link {
		font-size: 13px;
	}

	#footer .footerNav li {
		float: none;
		display: inline-block;
		margin: 0 5px 8px;
	}

	#footer .footerNav ul {
		text-align: center;
	}

	#footer .footerNav li:nth-child(even) {
		display: none;
	}

	.contact table th,
	.contact table td {
		display: block;
		width: 100% !important;
		box-sizing: border-box;
	}

	.onlineshop-link a {
		width: 100%;
		max-width: 100%;
		font-size: 18px;
		box-sizing: border-box;
	}

	.youkou h2 {
		font-size: 22px;
	}

	.kounyu_haruka ul {
		background: none;
	}

	.kounyu_haruka li strong {
		font-size: 18px;
	}

	.haruka .mainImage {
		display: block;
		position: relative;
		height: auto;
		overflow: visible;
		padding-top: 26px;
		margin-bottom: 24px;
	}

	.haruka .mainImage > img {
		height: auto;
	}

	.haruka .mainImage > img.haruka-cover {
		flex: none;
		width: 100%;
		height: auto;
		max-height: none;
		object-fit: cover;
		object-position: left center;
	}

	.haruka .mainImage > img.himawari {
		position: absolute;
		top: 0;
		right: 16px;
		flex: none;
		width: 140px;
		max-width: none;
		height: auto;
		z-index: 2;
		object-fit: cover;
		box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
	}

	.haruka p.overview {
		letter-spacing: 0.04em;
		line-height: 1.85;
		text-align: left;
	}

	.haruka .obi-copy .box {
		padding: 0 16px 20px;
	}

	.haruka .voice {
		padding: 20px 16px;
	}

	.haruka .mokuji {
		padding: 0 16px 16px;
	}

	#wrapper #content.haruka .box.voice > h2.haruka-voice-title {
		display: block !important;
		font-size: 20px;
		text-align: center !important;
		padding: 0 !important;
		border-top: none !important;
	}

	.haruka .voice p {
		text-align: center;
	}

	#breadcrumb {
		overflow: hidden;
	}

	#wrapper #content .logbox {
		height: auto;
		max-height: 300px;
	}
}

@media (max-width: 480px) {
	body {
		font-size: 12px;
	}

	.youkou h2 {
		font-size: 18px;
	}

	.youkou h3 {
		font-size: 18px;
	}

	.kounyu_haruka h2 {
		font-size: 22px;
	}
}

/* --- sp / sp_none --- */
@media (min-width: 769px) {
	.sp {
		display: none !important;
	}
}

@media (max-width: 768px) {
	.sp_none {
		display: none !important;
	}
}
