/*!
Theme Name: suzume
Theme URI: http://underscores.me/
Author: ONT Inc.
Author URI: https://ont.co.jp
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: suzume
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

suzume is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;700;900&display=swap');

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	/*color: #404040;*/
	color: #ffffff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

iframe {
	display: block;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
	gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# EDIT ONT
--------------------------------------------------------------*/
/* カスタムプロパティ
--------------------------------------------- */
:root {
	--color-border: #c9c9c9;
	/*--color-background: #fff;*/
	--color-background: #212121;
	--color-background-secondary: #f1f1f1;
	--color-background-accent: #eaf1e6;
	--color-primary: #bfb8c1;
	--color-secondary: #888;
	--color-tertiary: #FBF6F0;
	--color-navy: #002C6A;
	--color-light: #777;
	--color-dark: #bfb8c1;
	--color-grey: #888;
	--color-danger: #ff2020;
	--color-btn-primary: #97acb5;
	--color-btn-primary-text: #fff;
	--color-btn-primary-hover: #97acb5;
	--color-btn-border: #97acb5;
	--color-btn-border-hover: #97acb5;
	--container-width: 1200px; /* コンテナーの幅 */
	--container-max-width: 80%;
	--font-main: 'Zen Old Mincho', 'Hiragino Mincho Pro', '游明朝','Yu Mincho', serif;
	--btn-border-radius: 34px;
	--box-content-border-radius: 24px;
	--content-gap-sm: 2.25rem;
	--content-gap-lg: 4.75rem;
	--header-height: 80px;
	--border-radius-rounded: 24px;
	--fontawesome: "Font Awesome 6 Pro";
	--fontawesome-brands: "Font Awesome 6 Brands";
	}

@media screen and (min-width: 992px) {
	:root {
		--container-max-width: calc(100% - 180px);
		--content-gap-sm: 4.75rem;
		--content-gap-lg: 10.25rem;
	}
}

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

a,
a:visited {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

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

.post,
.page {
  margin: 0;
}

ul {
	margin: 0;
}

.page ul {
	padding-left: 1.25rem;
}

/*--------------------------------------------------------------
# レイアウト崩れ防止
--------------------------------------------------------------*/
/* footerが常に画面最下部にいるように固定
--------------------------------------------- */
#page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-footer {
	margin-top: auto;
}

/*--------------------------------------------------------------
# アニメーション
--------------------------------------------------------------*/
.animate span:not(.swiper-pagination-bullet) {
	opacity: 0;
}

/*--------------------------------------------------------------
# 汎用
--------------------------------------------------------------*/
html {
	font-size: 16px;
}

body {
	font-family: var(--font-main);
	font-weight: 400;
	background: var(--color-background);
	line-height: 2em;
}

p:not(:last-child) {
	margin-bottom: .75em;
}

.page h1,
.page h2,
.page h3,
.page h4,
.page h5,
.page h6,
p {
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1.5em;
}

@media screen and (min-width: 768px) {
	.align-right {
		text-align: right;
	}
}

/* コンテンツの幅
--------------------------------------------- */
.container {
	width: var(--container-width);
	max-width: var(--container-max-width);
	margin-right: auto;
	margin-left: auto;
	padding: 3.5rem 0;
}

.home .container {
	padding: 0;
}

.home section {
	padding-top: 7.25rem;
}

.home section#about {
	padding-top: 5rem;
}

@media screen and (min-width: 992px) {
	.container {
		padding: 8.25rem 0;
	}

	.home section,
	.home section#about {
		padding-top: 8.5rem;
	}
	
}

/* Grid
--------------------------------------------- */
.grid {
	display: grid;
	grid-gap: 2.25rem;
	gap: 2.25rem;
}

.grid > * {
	width: 100%;
	overflow: hidden;
}

@media screen and (min-width: 992px) {
	.grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Flex
--------------------------------------------- */
.flex {
	display: flex;
	grid-gap: 2.25rem;
	gap: 2.25rem;
}

/* 画像背景
--------------------------------------------- */
.bg-img {
	background: center center / cover no-repeat;
	width: 100%;
	max-width: 100%;
	min-height: 240px;
}

/* ボタン
--------------------------------------------- */
.btn {
	display: inline-block;
	transition: all .2s ease-out;
}

.btn:not(:first-child) {
	margin-top: 2.25rem;
}

.btn-primary,
.btn-primary:visited {
	color: var(--color-btn-border);
	text-align: center;
	width: fit-content;
	min-width: 200px;
	max-width: 100%;
	margin: auto;
	padding: .5em 0;
	border: 1px solid var(--color-btn-border);
}

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

.btn-arrow,
.btn-arrow:hover,
.btn-arrow:visited {
	color: var(--color-btn-primary);
}

.btn-arrow::before {
	content: '\f0da';
	font-family: var(--fontawesome);
	font-weight: 700;
	padding-right: .5rem;
	transition: all .2s ease-out;
}

.btn-arrow:hover::before {
	padding-right: .35rem;
	padding-left: .15rem;
}

/* ボタン(アンダーライン)
--------------------------------------------- */
.text-link {
	text-decoration: underline;
	margin-right: .25em;
	margin-left: .25em;
}

.text-link:hover {
	text-decoration: underline;
}

/* ボタン(戻る)
--------------------------------------------- */
.btn-back,
.btn-back:visited {
	display: block;
	color: var(--color-btn-primary);
	width: fit-content;
	margin-top: 3rem;
}

.btn-back::before {
	content: '\f0d9';
	font-family: var(--fontawesome);
	font-weight: 700;
	padding-right: .5rem;
	padding-left: .5rem;
	transition: all .2s ease-out;
}

.btn-back:hover::before {
    padding-right: .65rem;
	padding-left: .35rem;
}

/*--------------------------------------------------------------
# HEADER
--------------------------------------------------------------*/
.site-header {
	position: fixed;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: transparent;
	width: 100%;
	height: var(--header-height);
	transition: all ease .2s;
	z-index: 11;
}

/* サイトロゴ
--------------------------------------------- */
.site-title a,
.site-title img {
	display: block;
}

.site-header .site-branding {
	display: block;
	height: calc(100% - .5rem);
	padding: 1.25rem;
}

.site-header .site-branding .site-title,
.site-header .site-branding .site-title a,
.site-header img {
	height: 100%;
	display: block;
}

.home .site-header .site-branding img {
	height: 100%;
}

.site-header.scrolled .logo_dark {
	display: inline-block;
}

/* PCナビゲーション
--------------------------------------------- */
.menu-item a,
.menu-item a:visited {
	color: var(--color-dark);
	transition: all .2s ease-out;
}

.menu-item a:hover {
	color: var(--color-btn-primary);
}

.pc.main-navigation ul {
	align-items: center;
	padding-right: 1rem;
}

.pc.main-navigation ul li:not(:last-child) {
	margin-right: 1.25rem;
}

.pc.main-navigation .menu-item a,
.pc.main-navigation .menu-item a:visited {
	position: relative;
	display: block;
	font-weight: 700;
	font-size: .9rem;
	color: var(--color-dark);
	transition: all .2s ease-out;
}

.pc.main-navigation .menu-item a:hover {
	color: var(--color-btn-primary);
}

/* ご注文 */
.main-navigation .menu-item.nav-order a {
	color: var(--color-btn-primary-text) !important;
	background: var(--color-btn-primary);
	padding: .5em 1.75em;
	letter-spacing: .1em;
	transition: all .2s ease-out;
}

.main-navigation .menu-item.nav-order a:hover {
	color: var(--color-background);
	background: var(--color-btn-primary-hover);
}

.sp.main-navigation .menu-item.nav-order a {
	border: 1px solid var(--color-dark);
	justify-content: center;
	width: 100%;
	margin-top: .75rem;
	padding: .5em 1.75em;
	border: none;
	letter-spacing: .1em;
	transition: all .2s ease-out;
}

/* ハンバーガーアイコン
--------------------------------------------- */
.menu-btn {
	position: relative;
	display: flex;
	height: var(--header-height);
	width: var(--header-height);
	justify-content: center;
	align-items: center;
	z-index: 90;
	transition: 0.2s;
	cursor: pointer;
}

#menu-btn-check:checked ~ .menu-btn {
	background: initial;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
	content: "";
	display: block;
	height: 3px;
	width: 25px;
	background-color: var(--color-primary);
	position: absolute;
	transition: transform 0.3s;
	z-index: 99;
}
.menu-btn span:before {
	bottom: 8px;
}
.menu-btn span:after {
	top: 8px;
}

#menu-btn-check:checked ~ .menu-btn span {
	background-color: initial;
}

#menu-btn-check:checked ~ .menu-btn span::before {
	background-color: var(--color-primary);
	bottom: 0;
	transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
	background-color: var(--color-primary);
	top: 0;
	transform: rotate(-45deg);
}

#menu-btn-check {
	display: none;
}
  
/* ドロワー
--------------------------------------------- */
.menu-content .logo_dark {
	display: block;
	width: 80px;
	max-width: 100%;
	height: auto;
	margin-bottom: 1.25rem;
}

.menu-content {
	position: fixed;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: var(--color-background);
	color: var(--color-primary);
	width: 300px;
	max-width: 80%;
	height: 100%;
	padding-top: var(--header-height);
	top: 0;
	right: -100%;
	z-index: 80;
	transition: all 0.5s;
}

#menu-btn-check:checked ~ .menu-content {
	right: 0;
}

#nav-close {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 0;
	transition: 0.4s ease-in-out;
}

#menu-btn-check:checked ~ #nav-close {
	display: block;
	opacity: 0.6;
}

@media screen and (min-width: 768px) {
	.menu-content {
		max-width: 480px;
	}
}
  
/* ドロワーメニュー
--------------------------------------------- */
.menu-content > div {
	width: 400px;
	max-width: 80%;
}

.menu-content .main-navigation ul {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
}

.menu-content ul li a {
	display: flex;
	align-items: center;
	font-weight: 700;
	color: var(--color-dark);
	line-height: 2.25em;
	width: fit-content;
	margin-right: 0.25rem;
	padding: 0.25em;
	box-sizing: border-box;
}

.menu-content .logo {
	display: block;
	width: 30%;
	margin: 2.25rem auto 0;
}

/*--------------------------------------------------------------
# FOOTER
--------------------------------------------------------------*/
.site-footer .container {
	padding: 8.75rem 0 2.25rem;
}

.site-footer .site-title {
	width: 80px;
	max-width: 100%;
	height: auto;
	margin-bottom: 1rem;
}

.site-footer .flex {
	justify-content: space-between;
	align-items: flex-end;
}

.site-footer copyright {
	font-size: .9rem;
}

@media screen and (max-width: 767px) {
	.site-footer .site-title {
		margin-right: auto;
		margin-left: auto;
	}

	.site-footer .flex {
		flex-direction: column;
		align-items: center;
	}
}

/* ナビゲーション
--------------------------------------------- */
.bottom-menu ul {
	display: flex;
	list-style: none;
	flex-wrap: wrap;
	font-size: .8rem;
	font-weight: 700;
	margin: 0;
	padding: 0;
}

.bottom-menu ul li:not(:last-child) {
	margin-right: .5rem;
	padding-right: .5rem;
	border-right: 1px solid var(--color-dark);
}

.bottom-menu ul li {
	line-height: 1.25em;
}

@media screen and (max-width: 767px) {
	.bottom-menu ul {
		justify-content: center;
	}

	.bottom-menu ul li {
		margin-bottom: .75em;
	}
}

/*--------------------------------------------------------------
# Opening '25.05.23
--------------------------------------------------------------*/
.opening {
	animation: opening 8s ease 2.4s normal forwards;
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #2b2b2b;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	pointer-events: none !important;
	z-index: 99999999999999999;
}

.opening-content {
	animation: openingContent 2.4s ease 0s normal forwards;
	width: 240px;
	max-width: 50%;
	height: auto;
}

.opening-content > img {
	object-fit: contain;
	width: 100%;
	height: 100%;
}

@keyframes opening {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

@keyframes openingContent {
	0% {
		opacity: 0;
	}
	20% {
		opacity: 1;
	}
	75% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

/*--------------------------------------------------------------
# Swiper
--------------------------------------------------------------*/
/* ファーストビュー
--------------------------------------------- */
.first-view {
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

.swiper-slide,
.swiper-slide > div {
	width: 100%;
	height: 100%;
}

.swiper-slide-active img,
.swiper-slide-duplicate-active img,
.swiper-slide-prev img {
	animation: zoomOut 5s ease 0s normal both;
}

.swiper-slide img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

@keyframes zoomOut {
	0% {
	  transform: scale(1.05);
	}
	100% {
	  transform: scale(1);
	}
}

/*--------------------------------------------------------------
# フロントページ汎用
--------------------------------------------------------------*/
.home h2 {
	margin-bottom: 2.25rem;
}

.home .text-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.home .flex > .bg-img  {
	margin-top: 1.75rem;
}

@media screen and (min-width: 992px) {
	.home h2 {
		font-size: 2.25rem;
	}
}

/*--------------------------------------------------------------
# (フロントページ)
--------------------------------------------------------------*/
/*.home #feature h2 {
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	margin-bottom: 0;
}*/

/*1-------------------------------------------------------------*/
.home #feature-1 .text {
	margin-top: 1.25rem;
}

.home #feature-1 .bg-img {
	/*background-image: url(img/front-page/feature.webp);*/
	background-image: url(img/front-page/feature-1.jpg);
	aspect-ratio: 16 / 9;
	max-height: 400px;
	margin-left: 2.25rem;
}

@media (min-width: 992px) {
	.home #feature-1 .grid > .container {
		margin-right: initial;
	}

	.home #feature-1 .bg-img {
		margin-top: auto;
		margin-left: initial;
	}
}

/*2-------------------------------------------------------------*/
.home #feature-2 .text {
	margin-top: 1.25rem;
}

.home #feature-2 .bg-img {
	background-image: url(img/front-page/feature-2.jpg);
	aspect-ratio: 16 / 9;
	max-height: 400px;
	margin-left: 2.25rem;
}

@media (min-width: 992px) {
	.home #feature-2 .grid > .container {
		margin-right: initial;
	}

	.home #feature-2 .bg-img {
		margin-top: auto;
		margin-left: initial;
	}
}
/*3-------------------------------------------------------------*/
.home #feature-3 .text {
	margin-top: 1.25rem;
}

.home #feature-3 .bg-img {
	background-image: url(img/front-page/feature-3.jpg);
	aspect-ratio: 16 / 9;
	max-height: 400px;
	margin-left: 2.25rem;
}

@media (min-width: 992px) {
	.home #feature-3 .grid > .container {
		margin-right: initial;
	}

	.home #feature-3 .bg-img {
		margin-top: auto;
		margin-left: initial;
	}
}
/*4-------------------------------------------------------------*/
.home #feature-4 .text {
	margin-top: 1.25rem;
}

.home #feature-4 .bg-img {
	background-image: url(img/front-page/feature-4.jpg);
	aspect-ratio: 16 / 9;
	max-height: 400px;
	margin-left: 2.25rem;
}

@media (min-width: 992px) {
	.home #feature-4 .grid > .container {
		margin-right: initial;
	}

	.home #feature-4 .bg-img {
		margin-top: auto;
		margin-left: initial;
	}
}
/*5-------------------------------------------------------------*/
.home #feature-5 .text {
	margin-top: 1.25rem;
}

.home #feature-5 .bg-img {
	background-image: url(img/front-page/feature-5.jpg);
	aspect-ratio: 16 / 9;
	max-height: 400px;
	margin-left: 2.25rem;
}

@media (min-width: 992px) {
	.home #feature-5 .grid > .container {
		margin-right: initial;
	}

	.home #feature-5 .bg-img {
		margin-top: auto;
		margin-left: initial;
	}
}
/*6-------------------------------------------------------------*/
.home #feature-6 .text {
	margin-top: 1.25rem;
}

.home #feature-6 .bg-img {
	background-image: url(img/front-page/feature-6.jpg);
	aspect-ratio: 16 / 9;
	max-height: 400px;
	margin-left: 2.25rem;
}

@media (min-width: 992px) {
	.home #feature-6 .grid > .container {
		margin-right: initial;
	}

	.home #feature-6 .bg-img {
		margin-top: auto;
		margin-left: initial;
	}
}
/*7-------------------------------------------------------------*/
.home #feature-7 .text {
	margin-top: 1.25rem;
}

.home #feature-7 .bg-img {
	background-image: url(img/front-page/feature-7.jpg);
	aspect-ratio: 16 / 9;
	max-height: 400px;
	margin-left: 2.25rem;
}

@media (min-width: 992px) {
	.home #feature-7 .grid > .container {
		margin-right: initial;
	}

	.home #feature-7 .bg-img {
		margin-top: auto;
		margin-left: initial;
	}
}
.home #feature-7 h3 {
	margin-top: 1.75rem;
}

.home #highlight {

  /* 下線の色だけ指定した変数を使用 */
  border-bottom: 2px solid var(--color-btn-primary);

  /* テキストと下線の間に余白 */
  padding-bottom: 4px;

  /* 下線を文字幅に限定する */
  display: inline-block;
}
/*8-------------------------------------------------------------*/
.home #feature-8 .text {
	margin-top: 1.25rem;
}

.home #feature-8 .bg-img {
	background-image: url(img/front-page/feature-8.jpg);
	aspect-ratio: 16 / 9;
	max-height: 400px;
	margin-left: 2.25rem;
}

@media (min-width: 992px) {
	.home #feature-8 .grid > .container {
		margin-right: initial;
	}

	.home #feature-8 .bg-img {
		margin-top: auto;
		margin-left: initial;
	}
}
/*--------------------------------------------------------------*/


/*--------------------------------------------------------------
# howto(フロントページ)
--------------------------------------------------------------*/

/* STEPエリア全体のレイアウト設定 */
.home #howto .howto-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.25rem;
  margin-top: 2.25rem;
}

/* 各STEPボックスのデザイン */
.home #howto .step-item {
  background-color: var(--color-btn-primary); /* メインカラーに統一 */
  color: var(--color-btn-primary-text);       /* 白文字で可読性を確保 */
  padding: 2rem 1.5rem;
  border-radius: var(--box-content-border-radius); /* 共通の角丸 */
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 柔らかい影 */
  transition: all 0.3s ease;
}

/* タイトル部分（STEP x + 見出し） */
.home #howto .step-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* 各STEPの説明文 */
.home #howto .step-item p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* モバイル向け調整 */
@media screen and (max-width: 767px) {
  .home #howto .step-item {
    padding: 1.75rem 1.25rem;
  }
}
/* howto 各ステップの画像背景設定 */
.home #howto #howto-step1 .bg-img {
  background-image: url(img/front-page/howto_step1.jpg);
}

.home #howto #howto-step2 .bg-img {
  background-image: url(img/front-page/howto_step2.jpg);
}

.home #howto #howto-step3 .bg-img {
  background-image: url(img/front-page/howto_step3.jpg);
}

.home #howto #howto-step4 .bg-img {
  background-image: url(img/front-page/howto_step4.jpg);
}

/* 背景画像サイズとレイアウト */
.home #howto .step-item .bg-img {
  background: center center / cover no-repeat;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--box-content-border-radius);
  margin-bottom: 1rem;
}
/*--------------------------------------------------------------
# about(フロントページ)
--------------------------------------------------------------*/
.home #about h2 {
	margin-bottom: 0;
}

.home #about .bg-img {
	position: relative;
	aspect-ratio: 4 / 3;
	width: 70%;
	min-height: auto;
}

.home #about .bg-img:first-child {
	background-image: url(img/front-page/about_1.webp);
	aspect-ratio: 4 / 3;
	margin-right: auto;
	z-index: 1;
}

.home #about .bg-img:nth-child(2) {
	background-image: url(img/front-page/about_2.webp);
	/* aspect-ratio: 5 / 6;
	width: 40%;
	min-height: auto; */
	margin-top: -20%;
	margin-right: 2.25rem;
	margin-left: auto;
	z-index: 2;
}

@media screen and (max-width: 991px) {
	.home #about h2 {
		width: 88%;
		margin-right: auto;
		margin-bottom: 2.25rem;
	}

	.home #about .container.sp > *:not(.btn) {
		width: 88%;
	}
}

@media screen and (min-width: 992px) {
	.home #about h2 {
		margin-bottom: 2.25rem;
	}

	.home #about .grid > div:first-child {
		order: 2;
	}

	.home #about .grid > .image-wrapper {
		max-width: 1200px;
		margin-left: auto;
		order: 1;
	}

	.home #about .bg-img:nth-child(2) {
		margin-right: 0;
	}
}

/*--------------------------------------------------------------
# 実績(フロントページ)
# アーカイブ内Grid
--------------------------------------------------------------*/
.home #works .container {
	margin: 0 2.25rem 0 auto;
}

.home #works h2 {
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	margin-bottom: 0;
}

.home #works .grid {
	grid-template-columns: 1fr;
	width: 100%;
}

.home #works .asset-thumb,
.post-type-archive-works .asset-thumb,
.post-type-archive-post .asset-thumb {
	display: block;
	background: center center / cover no-repeat;
	aspect-ratio: 4 / 3;
	width: 100%;
	min-height: 160px;
	overflow: hidden;
}

.home #works .asset-thumb.no-thumb,
.post-type-archive-works .asset-thumb.no-thumb,
.post-type-archive-post .asset-thumb.no-thumb {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2.25rem;
	border: 1px solid var(--color-dark);
}

.home #works .grid a img,
.post-type-archive-works .grid a,
.post-type-archive-post .grid a {
	height: fit-content;
}

.home #works .grid a img,
.post-type-archive-works .grid a img,
.post-type-archive-post .grid a img {
	width: 100%;
    height: 100%;
	object-fit: cover;
	transition: all .2s ease-out;
}

.home #works .grid a .no-thumb img,
.post-type-archive-works .grid a .no-thumb img,
.post-type-archive-post .grid a .no-thumb img {
	object-fit: contain;
}

.home #works .grid a:hover img,
.post-type-archive-works .grid a:hover img,
.post-type-archive-post .grid a:hover img {
	transform: scale(1.1);
}

.home #works .post h3 {
	display: block;
	margin: .5rem 0;
}

.home #works .post .post_date {
	font-size: .9rem;
}

@media screen and (min-width: 992px) {
	.home #works .grid {
		width: 80%;
		grid-template-columns: repeat(2, 1fr);
	}

	.home #works .title-wrapper {
		flex: 1;
	} 

	.home #works .title-wrapper h2 {
		margin: 0 0 0 auto;
	}

	.home #works .link-archive {
		text-align: right;
	}

	.home #works .link-archive .btn {
		margin-right: 0;
		padding: .5em 1.25em;
	}
}

/*--------------------------------------------------------------
# ブログアーカイブ
--------------------------------------------------------------*/
.archive .post_date {
	font-size: .9rem;
}

.post-type-archive-post #primary > .container {
	width: 720px;
}

.post-type-archive-post #primary .grid {
	grid-template-columns: 1fr;
}

.post-type-archive-post #primary .post {
	display: grid;
	grid-template-columns: 1fr 2fr;
	grid-gap: 1.75rem;
	gap: 1.75rem;
}

@media screen and (max-width: 767px) {
	.post-type-archive-post #primary .post {
		grid-template-columns: 1fr;
	}

	.post-type-archive-post #primary .post h3 {
		margin-top: 0;
	}
}

/* ページネーション
--------------------------------------------- */
.nav-links {
	font-family: Arial, Helvetica, sans-serif;
	width: fit-content;
	margin: var(--content-gap-sm) auto 0;
}

ul.page-numbers {
	display: flex;
	align-items: center;
	font-size: 1.1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.page-numbers > li {
	display: block;
	padding-right: 0.25em;
}

ul.page-numbers > li:last-child {
	padding-right: 0;
}

ul.page-numbers > li > * {
	display: flex;
	justify-content: center;
	align-items: center;
	color: var(--color-border);
	width: 2em;
	height: 2em;
	line-height: 2em;
	transition: all 0.2s;
}

ul.page-numbers > li a:hover {
	color: var(--color-dark);
}

ul.page-numbers > li > .current {
	color: var(--color-dark);
}

ul.page-numbers > li a.next,
ul.page-numbers > li a.prev {
	color: var(--color-dark);
}

ul.page-numbers .page-numbers.dots {
	font-family: var(--fontawesome);
	content: "\f141";
	font-weight: 700;
}

/*--------------------------------------------------------------
# 取扱商品(フロントページ)
--------------------------------------------------------------*/
.home #products .title-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	margin-bottom: 2.25rem;
	grid-gap: 1rem;
	column-gap: 1rem;
	row-gap: 0;
}

.home #products .title-wrapper > * {
	margin: 0;
}

.home #products .title-wrapper p {
	width: 100%;
}

.home #products .btn-primary,
.home #products .btn-primary:visited {
	display: block;
	font-size: 1.25rem;
	background: var(--color-btn-primary);
	color: var(--color-background);
	width: 240px;
	min-width: 40%;
	text-align: center;
	margin-top: 3.25rem;
	margin-right: auto;
	margin-left: auto;
	padding-right: 0;
	padding-left: 0;
	border: none;
}

.home #products .btn-primary:hover {
	color: var(--color-background);
    background: var(--color-btn-primary-hover);
}

.home #products .grid {
	grid-template-columns: repeat(2, 1fr);
	gap: 1.75rem;
}

.home #products .grid .product-item .bg-img {
	background: #eee center center / cover no-repeat;
	width: 100%;
	min-height: 32px;
	aspect-ratio: 1 / 1;
	transition: all .4s;
}

.home #products .grid .product-item h3 {
	display: block;
	font-size: .9rem;
	margin-top: .5rem;
}

@media screen and (min-width: 992px) {
	.home #products .grid {
		grid-template-columns: repeat(3, 1fr);
		grid-gap: 2.25rem;
		gap: 2.25rem;
	}
}

/* 商品画像
--------------------------------------------- */
.home #products .grid #suzume-30ml .bg-img {
	background-image: url(img/products/suzume-30ml.webp);
}

.home #products .grid #suzume-5ml .bg-img {
	background-image: url(img/products/suzume-5ml.webp);
}

.home #products .grid #suzume-2ml .bg-img {
	background-image: url(img/products/suzume-2ml.webp);
}

.home #products .grid #suzume-2ml-5pack .bg-img {
	background-image: url(img/products/suzume-2ml-5pack.webp);
}

.home #products .grid #venison-smoked .bg-img {
	background-image: url(img/products/venison-smoked.webp);
}

.home #products .grid #venison-soboro-ginger .bg-img {
	background-image: url(img/products/venison-soboro-ginger.webp);
}

.home #products .grid #venison-soboro-citrine .bg-img {
	background-image: url(img/products/venison-soboro-citrine.webp);
}

.home #products .grid #boar-soboro-ginger .bg-img {
	background-image: url(img/products/boar-soboro-ginger.webp);
}

.home #products .grid #boar-soboro-citrine .bg-img {
	background-image: url(img/products/boar-soboro-citrine.webp);
}

@media (hover: hover) {
	.home #products .grid .product-item .bg-img:hover {
		transition: all .4s;
	}

	.home #products .grid #venison-round-block .bg-img:hover {
		background-image: url(img/products/venison-round-block_alt.webp);
	}

	.home #products .grid #venison-loin-block .bg-img:hover {
		background-image: url(img/products/venison-round-block_alt.webp);
	}
	
	.home #products .grid #boar-slice .bg-img:hover {
		background-image: url(img/products/boar-slice_alt.webp);
	}
	
	.home #products .grid #venison-smoked .bg-img:hover {
		background-image: url(img/products/venison-smoked_alt.webp);
	}
	
	.home #products .grid #venison-soboro-ginger .bg-img:hover {
		background-image: url(img/products/soboro_alt.webp);
	}
	
	.home #products .grid #venison-soboro-citrine .bg-img:hover {
		background-image: url(img/products/soboro_alt.webp);
	}
	
	.home #products .grid #boar-soboro-ginger .bg-img:hover {
		background-image: url(img/products/soboro_alt.webp);
	}
	
	.home #products .grid #boar-soboro-citrine .bg-img:hover {
		background-image: url(img/products/soboro_alt.webp);
	}
	
}

@media (hover: none) {
	.home #products .grid .product-item .bg-img:active {
		transition: all .4s;
	}
	
	.home #products .grid #venison-round-block .bg-img:active {
		background-image: url(img/products/venison-round-block_alt.webp);
	}

	.home #products .grid #venison-loin-block .bg-img:active {
		background-image: url(img/products/venison-round-block_alt.webp);
	}
	
	.home #products .grid #boar-slice .bg-img:active {
		background-image: url(img/products/boar-slice_alt.webp);
	}
	
	.home #products .grid #venison-smoked .bg-img:active {
		background-image: url(img/products/venison-smoked_alt.webp);
	}
	
	.home #products .grid #venison-soboro-ginger .bg-img:active {
		background-image: url(img/products/soboro_alt.webp);
	}
	
	.home #products .grid #venison-soboro-citrine .bg-img:active {
		background-image: url(img/products/soboro_alt.webp);
	}
	
	.home #products .grid #boar-soboro-ginger .bg-img:active {
		background-image: url(img/products/soboro_alt.webp);
	}
	
	.home #products .grid #boar-soboro-citrine .bg-img:active {
		background-image: url(img/products/soboro_alt.webp);
	}
	
}

/*--------------------------------------------------------------
# ブログ(フロントページ)
--------------------------------------------------------------*/
.home #blog .title-wrapper {
	display: flex;
	align-items: flex-end;
	margin-bottom: 2.25rem;
	grid-gap: 1rem;
	gap: 1rem;
}

.home #blog .title-wrapper > * {
	margin: 0;
}

.home #blog .asset-thumb {
	display: block;
	background: center center / cover no-repeat;
	aspect-ratio: 4 / 3;
	width: 100%;
	min-height: 160px;
	overflow: hidden;
}

.home #blog .asset-thumb.no-thumb {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2.25rem;
	border: 1px solid var(--color-dark);
}

.home #blog .grid a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all .2s ease-out;
}

.home #blog .grid a .no-thumb img {
	object-fit: contain;
}

.home #blog .grid a:hover img {
	transform: scale(1.1);
}

.home #blog .post h3 {
	display: block;
	margin: .5rem 0;
}

.home #blog .post .post_date {
	font-size: .9rem;
}

@media screen and (min-width: 992px) {
	.home #blog .grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/*--------------------------------------------------------------
# ふるなび(フロントページ)
--------------------------------------------------------------*/
#donation .container {
	border: 1px solid var(--color-grey);
	padding: 2.25rem;
}

#donation h2 {
	font-size: 1.5rem;
}

#donation .notice {
	font-size: .8rem;
	text-align: right;
	line-height: 1.5em;
	margin-top: 1.25rem;
}

#donation .btn {
	background: var(--color-btn-primary);
	color: var(--color-background);
	margin: 0;
	padding-right: 0;
	padding-left: 0;
	width: 100%;
	border: none;
}

#donation .btn:hover {
	color: var(--color-background);
	background: var(--color-btn-primary-hover);
}

#donation .btn::after {
	content: '\f08e';
	font-family: var(--fontawesome);
	font-weight: 400;
	padding-left: .5rem;
}

#donation .text-wrapper {
	display: flex;
	flex-direction: column;
}

#donation .bg-img {
	background-image: url(img/front-page/donation.webp);
	aspect-ratio: 4 / 3;
}

/*--------------------------------------------------------------
# シングル
--------------------------------------------------------------*/
.single-post #primary,
.single-works #primary {
	margin-top: var(--header-height);
}

.single-post #primary > .container,
.single-works #primary > .container {
	width: 720px;
	padding-top: 0;
}

.single-post #primary .entry-header,
.single-works #primary .entry-header {
	display: flex;
	flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 3rem;
	padding-bottom: 3rem;
}

.single-post #primary .entry-header h1,
.single-works #primary .entry-header h1 {
	font-size: 1.5rem;
}

.single-post #primary .entry-content,
.single-works #primary .entry-content {
	margin-top: 2.25rem;
}

.single-post #primary img,
.single-works #primary img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

/*--------------------------------------------------------------
# CF7
--------------------------------------------------------------*/
.page-id-27 #primary .container,
.page-id-48 #primary .container {
	width: 720px;
	max-width: var(--container-max-width);
}

.form-wrapper .required::after {
	content: '*';
	color: var(--color-danger);
	font-weight: 700;
}

.form-wrapper input[type="text"],
.form-wrapper input[type="email"],
.form-wrapper input[type="tel"],
.form-wrapper textarea,
.form-wrapper select {
	padding: .75rem;
	width: 100%;
	background: #eee;
	border: none;
	border-radius: 0;
}

.form-wrapper input[type="text"]:focus-visible,
.form-wrapper input[type="email"]:focus-visible,
.form-wrapper input[type="tel"]:focus-visible,
.form-wrapper textarea:focus-visible,
.form-wrapper select:focus-visible {
	outline-color: var(--color-primary);
}

.form-wrapper input[type="submit"] {
	display: block;
	font-size: 1.25rem;
	font-family: var(--font-main);
	background: var(--color-btn-primary);
	color: var(--color-btn-primary-text);
	width: 240px;
	max-width: 80%;
	margin: 2.75rem auto 0;
	padding: .75em 1.25em;
	border: none;
	border-radius: 0;
	transition: all .2s ease-out;
}

.form-wrapper input[type="submit"]:enabled:hover {
	background: var(--color-btn-primary-hover);
}

.form-wrapper input[type="submit"]:enabled {
	cursor: pointer;
}

.form-wrapper .wpcf7-field-group-add,
.form-wrapper .wpcf7-field-group-remove {
	background: var(--color-dark);
	color: var(--color-background);
	width: 3em;
	height: 3em;
	padding: 0;
	border: none;
	border-radius: 0;
	cursor: pointer;
}

.form-wrapper .wpcf7-field-group-remove:not(:last-child) {
	margin-right: .25rem;
}

.form-wrapper .wpcf7-field-group:not(:last-child) {
	margin-bottom: 1.25rem;
}

.form-wrapper .form-input:not(:last-child) {
	margin-bottom: 1.75rem;
}

.form-wrapper .form-label {
	margin-bottom: .75rem;
}

.form-wrapper .form-label p {
	display: inline-block;
}

.form-wrapper .customer {
	padding: 3.25rem 0;
}

.form-wrapper .customer h3 {
	margin-bottom: 1.75rem;
}

/*--------------------------------------------------------------
# 固定ページ汎用
--------------------------------------------------------------*/
.sub-header {
	display: flex;
	justify-content: flex-start;
	align-items: flex-end;
	margin-top: var(--header-height);
	max-width: 100%;
	min-height: 160px;
}

.sub-header .container {
	max-width: 90%;
	padding: 0 0 1rem 0;
}

.sub-header h1 {
	color: var(--color-background);
}

.page .sub-header {
	background: #ddd center center / cover no-repeat;
	width: 100%;
}

.page:not(.home) section:not(:last-child) .container {
	padding-bottom: 0;
}

/* サブヘッダー調整
--------------------------------------------- */
.page-id-27 .sub-header,
.page-id-48 .sub-header,
.page-id-3 .sub-header,
.page-id-2207 .sub-header,
.post-type-archive .sub-header {
	background: var(--color-background);
}

.page-id-27 .sub-header h1,
.page-id-48 .sub-header h1,
.page-id-3 .sub-header h1,
.page-id-2207 .sub-header h1,
.post-type-archive .sub-header h1 {
	color: var(--color-dark);
	text-align: center;
}

/*--------------------------------------------------------------
# 談酒館のこだわり(固定ページ) - page-id-23
# 談酒館について(固定ページ) - page-id-25
--------------------------------------------------------------*/
.page-id-23 .sub-header,
.page-id-25 .sub-header {
	aspect-ratio: 3 / 1;
}

.page-id-23 #vision h2 {
	-ms-writing-mode: tb-rl;
  	writing-mode: vertical-rl;
}

.page-id-23 #vision .flex {
	justify-content: center;
}

.page-id-23 section:not(#vision) .flex {
	flex-direction: column;
}

.page-id-23 section:not(#vision) .title-wrapper {
	flex: 1;
}

.page-id-23 section:not(#vision) .title-wrapper h2 {
	margin: auto;
}

.page-id-23 .bg-img,
.page-id-25 .bg-img {
	background: #ddd center center / cover no-repeat;
	aspect-ratio: 16 / 9;
	min-height: 160px;
}

.page-id-23 .text-wrapper .bg-img {
	margin-bottom: 2.25rem;
}

.page-id-25 .text-wrapper .bg-img:not(:first-child) {
	margin-top: 2.25rem;
}

.page-id-25 .text-wrapper .bg-img:not(:last-child) {
	margin-bottom: 2.25rem;
}

.page-id-25 #message .flex {
	grid-gap: 3.25rem;
	gap: 3.25rem
}

.page-id-25 #message .copy {
	font-size: 1.5rem;
	line-height: 1.75em;
}

.page-id-25 #message .img-sign img {
	width: 240px;
	max-width: 70%;
	margin-top: 1.75rem;
	margin-left: auto;
}

.page-id-25 #license {
	padding-top: 3.5rem;
}

.page-id-25 h3 {
	font-size: 1.5rem;
	margin-bottom: 2.25rem;
}

.page-id-25 #license .inner {
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
	padding: 2.25rem 0;
}

.page-id-25 #license .container {
	padding: 0;
}

.page-id-25 #license li:last-child dl {
	margin-bottom: 0;
}

.page-id-25 #license dl dd {
	margin-bottom: 0;
}

.page-id-25 #access .map {
	width: 100%;
	aspect-ratio: 16 / 9;
	margin-bottom: 2.25rem;
}

.page-id-25 #access table {
	margin: 0;
}

.page-id-25 #access table th {
	text-align: left;
	vertical-align: top;
	min-width: 5rem;
}

@media screen and (max-width: 767px) {
	.page-id-25 #message .flex,
	.page-id-25 #access .flex,
	.page-id-25 #lecture .flex {
		flex-direction: column;
	}

	.page-id-25 #lecture h2.sp {
		margin-bottom: 1.25rem;
	}
}

@media screen and (min-width: 768px) {
	.page-id-23 h2,
	.page-id-25 h2,
	.page-id-25 #message .copy {
		font-size: 2.25rem;
		-ms-writing-mode: tb-rl;
		writing-mode: vertical-rl;
	}

	.page-id-23 section:not(#vision) .flex {
		flex-direction: inherit;
	}

	.page-id-23 section:nth-child(even) .flex {
		flex-direction: row-reverse !important;
	}

	.page-id-23 section:not(#vision) .flex > .text-wrapper {
		width: 65%;
	}

	.page-id-25 .flex > .text-wrapper {
		width: 65%;
	}

	.page-id-25 #message .flex > .copy {
		flex: 1;
		display: flex;
		align-items: center;
	}

	.page-id-25 #message .copy span {
		display: block;
	}

	.page-id-25 #message .copy span:not(:first-child) {
		padding-inline-start: .75em;
	}

	.page-id-25 #message .text-wrapper {
		padding-top: 2.25rem;
	}

	.page-id-25 #license {
		max-width: calc(65% - 3.25rem/2);
		margin-left: auto;
	}

	.page-id-25 #license .container {
		margin-left: 0;
	}

	.page-id-25 #access .flex > .title-wrapper,
	.page-id-25 #lecture .flex > .title-wrapper {
		flex: 1;
		display: flex;
		justify-content: flex-end;
		padding-right: 2.25rem;
	}

	.page-id-25 #lecture .flex > .text-wrapper .sp {
		display: none;
	}
}

@media screen and (min-width: 992px) {
	.page-id-25 .text-wrapper .bg-img:not(:first-child) {
		margin-top: 3rem;
	}

	.page-id-25 .text-wrapper .bg-img:not(:last-child) {
		margin-bottom: 3rem;
	}

	.page-id-25 #access .map {
		margin-bottom: 3rem;
	}
}

/* 画像指定 談酒館にのこだわり(固定ページ) - page-id-23
--------------------------------------------- */
.page-id-23 .sub-header {
	background-image: url(img/feature/feature_header.webp);
}

.page-id-23 #capture .bg-img {
	background-image: url(img/feature/capture.webp);
}

.page-id-23 #facility .bg-img {
	background-image: url(img/feature/facility.webp);
}

.page-id-23 #smoked .bg-img {
	background-image: url(img/feature/smoked.webp);
}

.page-id-23 #soboro-ginger .bg-img {
	background-image: url(img/feature/soboro-ginger.webp);
}

.page-id-23 #soboro-citron .bg-img {
	background-image: url(img/feature/soboro-citron.webp);
}

/* 画像指定 談酒館について(固定ページ) - page-id-25
--------------------------------------------- */
.page-id-25 .sub-header {
	background-image: url(img/about/about_header.webp);
	background-position: 50% 30%;
}

.page-id-25 #message .bg-img.img-1 {
	background-image: url(img/about/message_1.webp);
}

.page-id-25 #message .bg-img.img-2 {
	background-image: url(img/about/message_2.webp);
}

.page-id-25 #message .bg-img.img-3 {
	background-image: url(img/about/message_3.webp);
}

.page-id-25 #lecture .bg-img {
	background-image: url(img/about/lecture_1.webp);
}

/*--------------------------------------------------------------
# ご注文(固定ページ) - page-id-27
# お問い合わせ(固定ページ) - page-id-48
--------------------------------------------------------------*/
.page-id-27 h2:not(:last-child),
.page-id-48 h2:not(:last-child) {
	margin-bottom: 2.25rem;
}

/*--------------------------------------------------------------
# アーカイブ works
--------------------------------------------------------------*/
@media screen and (min-width: 992px) {
	.post-type-archive-works .grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/*--------------------------------------------------------------
# プライバシーポリシー
--------------------------------------------------------------*/
#privacy-policy .container {
	width: 720px;
}

#privacy-policy h2,
#privacy-policy h3 {
	font-size: 1rem;
}

#privacy-policy .container > ol {
	margin-top: 1.25rem;
	margin-left: 0;
	padding-left: 1.25em;
}

#privacy-policy .container > ol > li {
	margin-bottom: 1.25rem;
}

#privacy-policy .container > ol ol {
	margin-left: 0;
	margin-bottom: 1rem;
}

#privacy-policy .container > ol > li > ol > li {
	list-style: none;
	counter-increment: cnt;
}

#privacy-policy .container > ol > li > ol > li::before {
	content: '(' counter(cnt) ')';
}

#privacy-policy .container > ol > li > ol > li h3 {
	display: inline;
}

#privacy-policy .container > ol > li > ol > li p {
	display: block;
	padding-left: 1.5em;
}

#privacy-policy .container > ol > li > ol > li > ol {
	list-style: none;
	padding-inline-start: 3em;
}

#privacy-policy .container > ol > li > ol > li > ol li span {
	padding-right: .25em;
}

/*--------------------------------------------------------------
# 事業概要(固定ページ) - page-id-2207
--------------------------------------------------------------*/
#overview table {
	border-collapse: collapse;
}

#overview table th,
#overview table td {
	padding: .75rem;
    border:1px solid #bebebe;
}

#primary #overview .container {
	width: 720px;
	padding-bottom: 0;
}

#overview table th {
	width: 7.25em;
	max-width: 100%;
	vertical-align: top;
}

#overview table dl {
	margin-top: 0;
}

#overview table dl:last-child {
	margin-bottom: 0;
}

#overview table dd {
	margin: 0;
}

/*--------------------------------------------------------------
# グーテンベルク
--------------------------------------------------------------*/
/* 段落
--------------------------------------------- */
.entry-content p {
	line-height: 2em;
}

/* 見出し
--------------------------------------------- */
.entry-content h2 {
	display: flex;
	width: fit-content;
}

/* テキストリンク
--------------------------------------------- */
.entry-content p a {
	text-decoration: underline;
	padding-right: .25em;
	padding-left: .25em;
}

.entry-content p a:hover {
	text-decoration: underline;
}

/* 引用
--------------------------------------------- */
.wp-block-quote {
	margin-left: 0;
	padding-left: 1.5em;
	border-left: 4px solid var(--color-secondary);
}

.wp-block-quote cite {
	font-size: .85em;
	font-style: normal;
	color: var(--color-light);
}

/* プルクオート
--------------------------------------------- */
.wp-block-pullquote {
	border-top: 4px solid var(--color-secondary);
    border-bottom: 4px solid var(--color-secondary);
}

.wp-block-pullquote cite {
	color: var(--color-light);
	font-size: .85em;
	font-style: normal;
}

/* テーブル
--------------------------------------------- */
.wp-block-table table {
	margin-bottom: 1em;
}

.wp-block-table thead {
	border-bottom: 3px solid var(--color-light);
}

.wp-block-table tfoot {
	border-top: 3px solid var(--color-light);
}

.wp-block-table td,
.wp-block-table th {
	padding: .5em;
	border: 1px solid var(--color-light);
	word-break: break-all;
}

.wp-block-table figcaption {
	font-size: .85em;
	color: var(--color-light);
	text-align: center;
	margin: 1em auto;
}

/* リスト
--------------------------------------------- */
.entry-content ul,
.entry-content ol {
	line-height: 2em;
	margin: .75rem 0;
}

/* 画像, 音声, 動画
--------------------------------------------- */
.wp-block-image figcaption,
.blocks-gallery-caption,
.wp-block-audio figcaption,
.wp-block-embed figcaption {
	font-size: .85em;
	color: var(--color-light);
	text-align: center;
}

.wp-block-gallery {
	margin: 0 0 1em;
}

.wp-block-file a {
	font-size: 1.25em;
}

.wp-block-file a:hover {
	color: var(--color-accent);
}

.wp-block-file a:not(.wp-block-file__button):before {
	content: '\f15b';
	font-family: var(--fontawesome);
	font-weight: 700;
	padding-right: .5rem;
}

/* 複数ページ
--------------------------------------------- */
.entry-content .page-links .post-page-numbers {
	font-size: 1.25em;
}

.entry-content .page-links .post-page-numbers:not(:last-child) {
	margin-right: .25rem;
}

.entry-content .page-links a.post-page-numbers {
	color: var(--color-light);
	font-weight: 700;
}

.entry-content .page-links a.post-page-numbers:hover {
	color: var(--color-accent);
}

/*--------------------------------------------------------------
# メディアクエリ
--------------------------------------------------------------*/
.pc {
	display: none;
}

@media (min-width: 992px) {
	.pc {
		display: block;
	}

	.sp {
		display: none;
	}
}

/*--------------------------------------------------------------
# アニメーション
--------------------------------------------------------------*/
.animate {
	opacity: 0;
}

/* ファーストビュー
--------------------------------------------- */
.first-view .pc {
	display: none;
}

@media (min-width: 768px) {
	.first-view .pc {
			display: block;
	}

	.first-view .sp {
		display: none;
	}
}

/* 最終強制
--------------------------------------------- */
@media screen and (min-width: 992px) {
  .alternate-block .grid {
    display: flex !important;
    align-items: center;
    gap: 2rem;
  }

  /* テキスト共通設定 */
  .alternate-block .text-wrapper {
    padding: 0; /* 初期化 */
  }

  /* 奇数セクション：テキスト → 画像 */
  .alternate-block.odd .text-wrapper {
    order: 1 !important;
    padding-left: 2rem; /* 左に余白 */
  }
  .alternate-block.odd .image-wrapper {
    order: 2 !important;
  }

  /* 偶数セクション：画像 → テキスト */
  .alternate-block.even .text-wrapper {
    order: 2 !important;
    padding-right: 2rem; /* 右に余白 */
  }
  .alternate-block.even .image-wrapper {
    order: 1 !important;
  }
}