@charset "utf-8";

/* ====================================
   Modern Reset for UI / Component sites
==================================== */

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

/* Remove default margin & padding */
* {
	margin: 0;
	padding: 0;
}

/* Set default base styles */
html,
body {
	height: 100%;
}

/* Typography resets */
body {
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Reset headings (UIで余白管理するため) */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: inherit;
	font-weight: inherit;
}

/* Reset lists */
ul,
ol {
	list-style: none;
}

/* Reset links */
a {
	color: inherit;
	text-decoration: none;
}

/* Reset buttons */
button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
	background: none;
	border: none;
	outline: none;
}

/* Make images & media responsive */
img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

/* Remove textarea resize */
textarea {
	resize: none;
}

/* Remove table cellspacing */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Remove default quotes on blockquote & q */
blockquote,
q {
	quotes: none;
}

/* Remove default underline gap on inline SVG via baseline */
svg {
	vertical-align: middle;
}

:root {
	--bg: #0b0b0b;
	--bg2: #111;
	--text: #e9e6e2;
	--muted: rgba(233, 230, 226, 0.72);
	--line: rgba(233, 230, 226, 0.22);

	--accent: #b49a86; /* ベージュ */
	--accent2: #d3c6bb;

	--serif-en: "Cormorant Garamond", serif;
	--serif-jp: "Noto Serif", serif;

	--container: 1700px;
	--gutter: 20px;

	--radius: 999px;
	--radius-lg: 24px;

	--header-h: 60px;
	--header-h-sp: 40px;

	--shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: auto;
}

body {
	margin: 0;
	color: var(--text);
	background: radial-gradient(1200px 600px at 50% 0%, #1a1a1a 0%, var(--bg) 60%) fixed;
	font-family: var(--serif-jp);
	letter-spacing: 0.15em;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}
a {
	color: inherit;
	text-decoration: none;
}
button,
input,
select,
textarea {
	font: inherit;
}

/* anchor offset (固定ヘッダー想定) */
section[id] {
	scroll-margin-top: calc(var(--header-h) + 20px);
}

.c-container {
	width: min(var(--container), 100% - (var(--gutter) * 2));
	margin-inline: auto;
}

/* =========================================
  Header
========================================= */
.l-header {
	position: fixed;
	top: 0;
	z-index: 50;
	background: rgba(10, 10, 10, 0.6);
	backdrop-filter: blur(5px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	height: var(--header-h);
	width: 100%;

	@media (max-width: 1000px) {
		height: calc(var(--header-h-sp) + 20px);
	}
}

.l-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
}

.l-header__inner img {
	height: 100%;
}

.l-header__logo {
	height: 60px;

	@media (max-width: 1000px) {
		height: var(--header-h-sp);
	}
}

.l-header__logoMark {
	font-family: var(--serif-en);
	letter-spacing: 0.12em;
	font-size: 18px;
}
.l-header__logoSub {
	font-size: 11px;
	letter-spacing: 0.3em;
	color: var(--muted);
}

.l-header__actions {
	display: inline-flex;
	align-items: center;
	gap: 20px;
}

.l-header__iconBtn {
	width: 26px;
	height: 26px;

	@media (max-width: 1000px) {
		width: 22px;
		height: 22px;
	}
}

.l-header__menuBtn {
	display: flex;
	flex-direction: column;
	gap: 6px;
	cursor: pointer;
}

.l-header__menuLine {
	width: 30px;
	height: 1px;
	background: var(--accent);
	transition: 0.3s ease;
}

/* 開いた状態 */
body.is-navOpen .l-header__menuLine:nth-child(1) {
	transform: translateY(4px) rotate(45deg);
}

body.is-navOpen .l-header__menuLine:nth-child(2) {
	transform: translateY(-3px) rotate(-45deg);
}

.l-gnav {
	display: block;
	position: fixed;
	right: 0;
	width: min(420px, 78vw);
	height: calc(100dvh - var(--header-h));
	overflow: auto;
	transform: translateX(100%);
	transition: transform 0.28s ease;
	pointer-events: none;
	visibility: hidden;
	background: rgba(10, 10, 10, 0.92);
	border-left: 1px solid rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(10px);
}

body.is-navOpen .l-gnav {
	transform: translateX(0);
	pointer-events: auto;
	visibility: visible;
}

.l-gnav__inner {
	padding: 22px var(--gutter);
	display: grid;
	gap: 34px;

	@media (max-width: 1000px) {
		padding: 12px var(--gutter);
		gap: 20px;
	}
}

body.is-navOpen {
	overflow: hidden;
}

.l-gnav__link {
	font-family: var(--serif-en);
	letter-spacing: 0.12em;
	font-size: 32px;
	color: var(--accent);
	font-weight: 500;

	@media (max-width: 1000px) {
		font-size: 22px;
	}
}

.l-gnav__link span {
	display: block;
	font-size: 13px;
	color: #fff;

	@media (max-width: 1000px) {
		font-size: 11px;
	}
}

.l-gnav__link:hover {
	color: var(--text);
}

/* right side */
.p-side {
	display: none;
	position: fixed;
	right: 0px;
	bottom: 30px;
	z-index: 60;
	gap: 10px;
	flex-direction: column;
	align-items: center;
}

.p-side__btn {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(0, 0, 0, 0.28);
	display: grid;
	place-items: center;
	color: var(--muted);
}
.p-side__btn:hover {
	color: var(--text);
}

/* SCROLL全体 */
.p-side__scroll {
	margin-top: 38px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
	transition: opacity 0.4s ease;
}

.p-side__scrollText {
	font-size: 16px;
	letter-spacing: 0.25em;
	transform: rotate(90deg);
	transform-origin: center;
	color: rgba(255, 255, 255, 0.7);
	font-family: var(--serif-en);
}

/* 縦ライン */
.p-side__scrollLine {
	position: relative;
	width: 1px;
	height: 70px;
	background: rgba(255, 255, 255, 0.2);
	overflow: hidden;
}

/* 動くライン */
.p-side__scrollLine::after {
	content: "";
	position: absolute;
	left: 0;
	top: -40%;
	width: 100%;
	height: 40%;
	background: rgba(255, 255, 255, 0.8);
	animation: scrollLine 1.8s ease-in-out infinite;
}

/* アニメーション */
@keyframes scrollLine {
	0% {
		top: -40%;
	}
	100% {
		top: 120%;
	}
}
/* =========================================
  Hero
========================================= */
.p-hero {
	position: relative;
	min-height: 520px;
	padding: 160px 0 60px;
	overflow: hidden;
	margin-top: -80px;
}

.p-hero__bg {
	position: absolute;
	inset: 0;
	background: url(../images/mv_bg.jpg) center / cover no-repeat;
	pointer-events: none;
}

.p-hero__inner {
	position: relative;
	text-align: center;
}

.p-hero__brand {
	margin: 40px 0 18px;
	font-size: 16px;
	letter-spacing: 0.38em;
	color: rgba(233, 230, 226, 0.6);
	font-family: var(--serif-en);

	@media (max-width: 1000px) {
		margin: 10px 0 8px;
		font-size: 12px;
	}
}

.p-hero__title {
	margin: 0;
	font-family: var(--serif-en);
	letter-spacing: 0.05em;
	font-weight: 500;
	line-height: 1.05;
	color: var(--accent);
	font-size: clamp(37px, 6vw, 100px);
}

.p-hero__lead {
	margin: 10px 0 0;
	font-size: 26px;
	letter-spacing: 0.5em;

	@media (max-width: 1000px) {
		font-size: 15px;
		letter-spacing: 0.3em;
	}
}

.p-hero__cardWrap {
	margin-top: 36px;
	display: grid;
	place-items: center;
}

.p-hero__cardWrap img {
	width: min(670px, 87vw);
	margin-top: -50px;
	animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
	0% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-18px);
	}
	100% {
		transform: translateY(0);
	}
}

/* =========================================
  Section common
========================================= */
.p-section {
	padding: 70px 0;

	@media (max-width: 1000px) {
		padding: 50px 0;
	}
}

.c-title {
	margin: 0 0 34px;
	font-family: var(--serif-en);
	color: #fff;
	font-weight: 500;
	letter-spacing: 0.05em;
	font-size: clamp(42px, 6.2vw, 100px);
	line-height: 1;

	@media (max-width: 1000px) {
		margin: 10px 0 20px;
	}
}

.c-title::after {
	content: "";
	display: block;
	width: 50%;
	background: var(--accent);
	height: 1px;
	margin-top: 10px;

	@media (max-width: 1000px) {
		width: 180px;
	}
}

.c-title--row span {
	display: block;
}

.c-title--row span:last-child {
	margin-left: 1em;
}

.c-heading {
	font-size: 26px;
	margin-bottom: 20px;

	@media (max-width: 1000px) {
		font-size: 15px;
		line-height: 1.8;
	}
}

.c-title--center {
	text-align: center;
}

.c-text {
	color: var(--muted);
	font-size: 15px;
	line-height: 2;

	@media (max-width: 1000px) {
		font-size: 13px;
		line-height: 1.8;
	}
}

#history .c-text.tx-left {
	text-align: left;

	@media (max-width: 1000px) {
		line-height: 1.8;
	}
}

.c-text p {
	margin: 0 0 10px;
}
.c-text p:last-child {
	margin-bottom: 0;
}

.c-media {
	flex-shrink: 0;
	max-width: 400px;

	@media (max-width: 1000px) {
		max-width: unset;
	}
	
	img{
		width: 100%;
	}
}

/* =========================================
  Two columns base
========================================= */
.p-twoCol {
	display: grid;
	gap: 22px;
}

.p-twoCol__media {
	display: flex;
	gap: 20px;

	@media (max-width: 1000px) {
		flex-direction: column;
	}
}

.p-twoCol__box {
	flex-grow: 1;
}

.p-twoCol__title {
	font-size: 26px;

	@media (max-width: 1000px) {
		font-size: 20px;
	}
}

.p-twoCol__text {
	color: var(--muted);
	font-size: 15px;
	line-height: 2;

	@media (max-width: 1000px) {
		font-size: 13px;
		line-height: 1.8;
	}
}

/* ABOUT */
.p-twoCol--about .c-media--beige {
	width: 100%;
	aspect-ratio: 16/10;
}

/* QUALITY */
#quality {
	background: #222;
}

/* レイアウト */
.p-qualityHybrid {
	display: grid;
	gap: 24px;
}

.p-qualityHybrid__body {
	position: relative;
}

.p-qualityHybrid__body::before {
	content: "";
	position: absolute;
	top: 0;
	inset: 0;
	background: url(../images/quality_bg.svg) center / contain no-repeat;
	opacity: 0.2;
	pointer-events: none;
	z-index: 0;
}

/* 縦に長くなる“燃料”コンテナ（高さはJSが入れます） */
.p-qualityHybrid__scroll {
	position: relative;
}

/* ここが画面に貼り付く */
.p-qualityHybrid__sticky {
	position: sticky;
	top: calc(var(--header-h) + 20px);
	overflow: hidden;
}

/* 横に流れるレール */
.p-qualityHybrid__track {
	height: 100%;
}

/* 横に見せる1枚の幅（好みで調整） */
.p-qualityHybrid__slide {
	position: relative;
	margin-bottom: 50px;
	border-bottom: solid 1px var(--line);
	padding-bottom: 50px;

	@media (max-width: 1000px) {
		margin-bottom: 10px;
		padding-bottom: 20px;
	}
}

/* PC 2カラム */
@media (min-width: 900px) {
	.p-qualityHybrid {
		grid-template-columns: 1fr 1.25fr;
		gap: 40px;
		align-items: start;
	}

	.p-qualityHybrid__body {
		position: sticky;
		top: calc(var(--header-h) + 20px);
		align-self: start;
	}
}

/* SPではハイブリッド解除して縦並び */
@media (max-width: 899px) {
	.p-qualityHybrid {
		grid-template-columns: 1fr;
	}
	.p-qualityHybrid__sticky {
		position: static;
		height: auto;
		overflow: visible;
	}
	.p-qualityHybrid__track {
		display: grid;
		transform: none !important;
		gap: 18px;
	}
	.p-qualityHybrid__slide {
		width: 100%;
		height: auto;
	}
}

/* =========================================
  HISTORY
========================================= */
#history .c-heading,
#history .c-text {
	text-align: center;
}

#history .c-title::after {
	width: 100px; /* 好きな長さに変更 */
	margin-left: auto;
	margin-right: auto;
}

.p-history__pill {
	margin: 60px auto 100px;
	width: min(900px, 100%);
	border-radius: var(--radius);
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.06);
	padding: 20px 18px;
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 14px;
	align-items: center;

	@media (max-width: 1000px) {
		border-radius: 20px;
		grid-template-columns: 70px 1fr;
		align-items: start;
		margin: 30px auto 60px;
	}
}

.p-history__pillIcon {
	width: 140px;
	height: 140px;
	border-radius: 999px;
	background: var(--accent2);
	opacity: 0.9;
	background: url("../images/east_tail_logo.jpg") center / cover no-repeat;

	@media (max-width: 1000px) {
		width: 70px;
		height: 70px;
	}
}

.p-history__pillTitle {
	margin: 0 0 2px;
	font-size: 24px;
	letter-spacing: 0.18em;

	@media (max-width: 1000px) {
		font-size: 16px;
	}

	span {
		display: inline-block;
		font-size: 15px;

		@media (max-width: 1000px) {
			display: block;
			font-size: 12px;
		}
	}
}

.p-history__pillText {
	margin: 0;
	font-size: 13px;
	color: var(--muted);
	line-height: 1.7;
}

.p-history__rows {
	display: grid;
	gap: 68px;
}
.p-historyRow {
	display: grid;
	gap: 16px;
}
.p-historyRow__label {
	font-size: 26px;
	margin-bottom: 20px;

	@media (max-width: 1000px) {
		margin-bottom: 4px;
		font-size: 20px;
	}
}

.p-parallaxDivider {
	position: relative;
	overflow: hidden;
	height: 300px; /* 任意 */

	@media (max-width: 1000px) {
		height: 180px;
	}
}

.p-parallaxDivider__bg {
	position: absolute;
	inset: -25% 0; /* 動かしても切れないように */
	background: url(../images/history_bg.jpg) center / cover no-repeat;
	will-change: transform;
}

/* 暗幕（必要なら） */
.p-parallaxDivider__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.25);
}

/* =========================================
  NEWS
========================================= */
#news .c-title::after {
	width: 100px;
	margin-left: auto;
	margin-right: auto;
}

#news .c-heading,
#news .c-text {
	text-align: center;
}

.p-news {
	position: relative;
	overflow: hidden;
}
.p-news__bg {
	position: absolute;
	left: 0;
	right: 0;
	top: -80px;
	height: 260px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8)), radial-gradient(500px 220px at 50% 30%, rgba(255, 255, 255, 0.08), transparent 60%);
	pointer-events: none;
	opacity: 0.9;
}
.p-news .c-container {
	position: relative;
}
.p-news__sub {
	margin: 0 0 18px;
	text-align: center;
	color: var(--muted);
	font-size: 12px;
	letter-spacing: 0.2em;
}

.p-news__list {
	width: min(900px, 100%);
	margin: 60px auto 0;
	display: grid;
	gap: 12px;

	@media (max-width: 1000px) {
		margin: 40px auto 0;
	}
}

.p-newsItem {
	display: grid;
	grid-template-columns: 1fr 24px;
	gap: 12px;
	align-items: center;
	padding: 44px 36px 44px 130px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.05);
	position: relative;

	@media (max-width: 1000px) {
		gap: 0px;
		padding: 34px 16px 34px 20px;
	}
}

.p-newsItem__meta {
	font-size: 15px;
	color: rgba(233, 230, 226, 0.7);
	letter-spacing: 0.12em;
	position: absolute;
	font-family: var(--serif-en);
	top: 5px;
	left: 5px;
}

.p-newsItem__box {
	position: relative;
	font-size: 15px;
}

.p-newsItem__title {
	font-size: 18px;
	margin-bottom: 10px;
}

.p-newsItem__text {
	color: var(--muted);

	@media (max-width: 1000px) {
		font-size: 13px;
	}
}

.p-newsItem__arrow {
	text-align: right;
	color: var(--accent);
	font-size: 20px;
	line-height: 1;
}
.p-newsItem:hover {
	background: rgba(255, 255, 255, 0.08);
}

/* =========================================
  CONTACT
========================================= */

#contact {
	background: #141414;
}

#contact .c-title::after {
	width: 100px;
	margin-left: auto;
	margin-right: auto;
}

#contact .c-heading,
#contact .c-text {
	text-align: center;
}

.p-contact__sub {
	margin: 0 0 22px;
	text-align: center;
	color: var(--muted);
	font-size: 12px;
	letter-spacing: 0.2em;
}

.p-form {
	width: min(900px, 100%);
	margin: 60px auto 0;
	display: grid;
	gap: 30px;
}

.p-form__label {
	display: block;
	margin: 0 0 6px;
	font-size: 14px;
	color: rgba(233, 230, 226, 0.78);
	letter-spacing: 0.12em;
}

.p-form__label .required {
	color: var(--accent);
	font-size: 11px;
	display: inline-block;
	margin-left: 0.5em;
}

.p-form__input,
.p-form__select,
.p-form__textarea {
	width: 100%;
	background: rgba(255, 255, 255, 0.92);
	color: #111;
	padding: 15px 20px;

	@media (max-width: 1000px) {
		padding: 16px 12px;
	}
}

.p-form__textarea {
	resize: vertical;
	min-height: 150px;
}

.p-form__actions {
	display: grid;
	place-items: center;
	margin-top: 6px;
}

.c-btn {
	min-width: 260px;
	border: none;
	border-radius: var(--radius);
	padding: 22px 18px;
	background: var(--accent);
	color: #1a1a1a;
	letter-spacing: 0.14em;
	cursor: pointer;
	font-weight: 700;

	@media (max-width: 1000px) {
		min-width: 220px;
		padding: 15px 18px;
	}
}

.c-btn:hover {
	filter: brightness(1.05);
}

/* =========================================
  Footer
========================================= */
.l-footer {
	padding: 26px 0 36px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(0, 0, 0, 0.35);
}
.l-footer__inner {
	display: grid;
	gap: 16px;
	justify-items: center;
	text-align: center;
}
.l-footer__logo {
	display: inline-flex;
	flex-direction: column;
	gap: 2px;
	width: 160px;
	margin: 0 auto;

	@media (max-width: 1000px) {
		width: 130px;
	}
}
.l-footer__left { float: left;}
.r-footer { float: right; }


.l-footer__logoMark {
	font-family: var(--serif-en);
	letter-spacing: 0.12em;
	font-size: 16px;
}
.l-footer__logoSub {
	font-size: 10px;
	letter-spacing: 0.3em;
	color: var(--muted);
}

.l-footer__nav {
	display: flex;
	gap: 80px;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
	border-top: solid 1px var(--line);
	padding-top: 30px;

	@media (max-width: 1000px) {
		gap: 30px;
	}
}

.l-footer__nav a {
	font-family: var(--serif-en);
	font-size: 12px;
	letter-spacing: 0.14em;
	color: var(--muted);
}

.l-footer__nav a:hover {
	color: var(--text);
}

.l-footer__copy {
	color: rgba(233, 230, 226, 0.55);
	letter-spacing: 0.12em;
	margin-top: 40px;
}

/* =========================================
  Responsive (PC)
========================================= */
@media (min-width: 900px) {
	:root {
		--header-h: 80px;
		--gutter: 28px;
	}

	.l-gnav {
		display: block;
	}

	.p-side {
		display: flex;
	}

	.p-section {
		padding: 90px 0 140px;
	}

	.p-twoCol {
		grid-template-columns: 1.15fr 0.85fr;
		align-items: center;
		gap: 40px;
	}

	/* ABOUT: 左画像 / 右テキスト */
	.p-twoCol--about {
		grid-template-columns: 1.05fr 0.95fr;
	}
	.p-twoCol--about .c-media--beige {
		aspect-ratio: 4/3;
		border-radius: 14px;
	}

	/* QUALITY: 左タイトル感 / 右画像 */
	.p-quality__head {
		grid-template-columns: 1fr;
		margin-bottom: 28px;
	}
	.p-twoCol--quality {
		grid-template-columns: 1fr 280px;
		align-items: start;
	}

	.p-quality__blocks {
		grid-template-columns: 1fr 1fr;
		gap: 28px;
	}

	/* HISTORY: 交互レイアウト */
	.p-historyRow {
		grid-template-columns: 1fr 1fr;
		gap: 80px;
	}

	.p-historyRow__body {
		width: 80%;
	}

	.p-historyRow--reverse .p-historyRow__media {
		grid-column: 2;
		grid-row: 1;
	}

	.p-historyRow--reverse .p-historyRow__body {
		grid-column: 1;
		grid-row: 1;
		width: 80%;
		margin-left: auto;
	}

	.l-footer__inner {
		position: relative;
	}
/*	.l-footer__left {
		justify-self: start;
	}
*/
	}

.wpcf7 fieldset.hidden-fields-container { border: none; padding: 0; margin: 0; }
input.wpcf7-not-valid, textarea.wpcf7-not-valid, select.wpcf7-not-valid { background: #FCC; }
.screen-reader-response { width: min(900px, 100%); margin: 60px auto 0; color: #F00;}
.wpcf7-not-valid-tip { display: block; color: #F00; padding-top: 10px;}
.wpcf7-form.invalid.p-form .wpcf7-response-output,
.wpcf7-form.failed.p-form .wpcf7-response-output { text-align: center; font-weight: bold; color: #B94A48; background-color: #F2DEDE;   border: 1px solid #EED3D7; padding: 20px 40px; margin:0 0 30px;}

.wpcf7-form.sent.p-form .wpcf7-response-output { text-align: center; font-weight: bold; color: #3A87AD; background-color: #D9EDF7; border: 1px solid #BCE8F1; padding: 20px 40px; margin:0 0 30px;}

#privacy-policy h2 { font-size: 140%; font-weight: bold; }
#privacy-policy p { margin-bottom: 20px; }

#tokushoho table theda { text-align: center;}
#tokushoho table theda tr td:nth-child(1) { width: 30% !important;}
#tokushoho table theda tr td:nth-child(2) { width: 70% !important;}

.fs-120 { font-size:120%; }
.fs-140 { font-size:140%; }
.fs-160 { font-size:160%; }
.mb20 { margin-bottom: 20px !important;}
.mb40 { margin-bottom: 40px !important;}
.mb60 { margin-bottom: 60px !important;}
.tac { text-align: center;}


