/*!
Theme Name: sizenkobo
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
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: sizenkobo
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.

sizenkobo 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/
*/

/*--------------------------------------------------------------
>>> 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
	 ========================================================================== */

:root {
	--fz11: calc(11 / 16 * 1rem);
	--fz12: calc(12 / 16 * 1rem);
	--fz13: calc(13 / 16 * 1rem);
	--fz14: calc(14 / 16 * 1rem);
	--fz15: calc(15 / 16 * 1rem);
	--fz16: calc(16 / 16 * 1rem);
	--fz17: calc(17 / 16 * 1rem);
	--fz18: calc(18 / 16 * 1rem);
	--fz19: calc(19 / 16 * 1rem);
	--fz20: calc(20 / 16 * 1rem);
	--fz21: calc(21 / 16 * 1rem);
	--fz22: calc(22 / 16 * 1rem);
	--fz23: calc(23 / 16 * 1rem);
	--fz24: calc(24 / 16 * 1rem);
	--fz25: calc(25 / 16 * 1rem);
	--fz26: calc(26 / 16 * 1rem);
	--fz27: calc(27 / 16 * 1rem);
	--fz28: calc(28 / 16 * 1rem);
	--fz29: calc(29 / 16 * 1rem);
	--fz30: calc(30 / 16 * 1rem);
}

@media screen and (max-width: 768px) {
	:root {
		--fz9: clamp(7px, 2.5vw, 9px);
		--fz10: clamp(8px, 2.5vw, 10px);
		--fz11: clamp(9px, 2.5vw, 11px);
		--fz12: clamp(10px, 3.0vw, 12px);
		--fz13: clamp(10px, 3.5vw, 13px);
		--fz14: clamp(11px, 4.0vw, 14px);
		--fz15: clamp(12px, 4.25vw, 15px);
		--fz16: clamp(13px, 4.55vw, 16px);
		--fz17: clamp(14px, 4.8vw, 17px);
		--fz18: clamp(15px, 5.1vw, 18px);
		--fz19: clamp(16px, 5.35vw, 19px);
		--fz20: clamp(17px, 5.55vw, 20px);
		--fz21: clamp(18px, 5.68vw, 21px);
		--fz22: clamp(19px, 5.9vw, 22px);
		--fz23: clamp(20px, 6.1vw, 23px);
		--fz24: clamp(21px, 6.5vw, 24px);
		--fz25: clamp(22px, 6.5vw, 25px);
		--fz26: clamp(23px, 6.5vw, 26px);
		--fz27: clamp(24px, 6.5vw, 27px);
		--fz28: clamp(25px, 6.5vw, 28px);
		--fz29: clamp(26px, 6.5vw, 29px);
		--fz30: clamp(27px, 6.5vw, 30px);
	}
}


/**
 * 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,
.small {
	font-size: 0.7em;
}

/**
 * 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: #000;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.8;
	letter-spacing: 0.15em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight:normal;
	margin:0 0 1em;
	clear: both;
}

p {
	margin-top:0;
	margin-bottom: 1.5em;
}
p:last-child {
	margin-bottom: 0;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	font-style:normal;
	margin: 0;
}

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;
	padding-left: 70px;
}

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;
}

dl {
	margin: 0;
}

dt {
	font-weight: 400;
}

dd {
	margin: 0;
}

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

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

figure {
	margin: 1em 0;
}

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

@media screen and (max-width: 768px) {
	body,
	button,
	input,
	select,
	optgroup,
	textarea{
		font-size: var(--fz16);
	}
}


/* Links
--------------------------------------------- */
a {
	color: #000;
	text-decoration:none;
	transition: all 0.3s ease-in-out 0s;
}

a:visited {
	color: #000;
}

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 {
	list-style: none;
	margin: 0;
	padding-left: 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 {

	}
}

.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;
}

.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;
}




/* Parts
--------------------------------------------- */
.heading{
	letter-spacing:0.2em;
	line-height: 1.4;
}
h2.heading{
	font-size:var(--fz24);
	margin-bottom: 1.5em;
}
.home h2.heading{
	font-size:var(--fz29);
}
h3.heading{
	font-size:var(--fz22);
}
.home h3.heading{
	font-size:var(--fz24);
}

.block-title-wrap{
	margin-bottom:2em;
}

.flex{
	display:flex;
}
.flex-between{
	justify-content: space-between;
}
ul.flex,
ol.flex,
ul.pc-flex,
ol.pc-flex{
	padding:0;
	margin:0;
	list-style:none;
}

.btn-wrap a{
	display:flex;
	align-items:center;
	font-size:var(--fz17);
	letter-spacing:0.07em;
}
.btn-wrap a::after{
	content:"";
	display:block;
	width:29px;
	height:29px;
	background:url(img/arrow_right_circle.png) center center no-repeat;
	background-size:contain;
	margin-left: 0.5em;
}
.btn-down a::after{
	background-image:url(img/arrow_down_circle.png);
}
.content-btn-wrap{
	position:relative;
}
.content-btn-wrap .btn-wrap{
	position:absolute;
	top:3.0em;
	right:0;
}
#gratitude-list .btn-wrap{
	top:0em;
}

.btn-back a{
	display:flex;
	align-items:center;
}
.btn-back a::before{
	content:"";
	display:block;
	width:20px;
	height:20px;
	background:url(img/arrow_right.png) center center no-repeat;
	background-size:contain;
	margin-right: 1.0em;
	transform: rotate(-180deg);
}

ul.category-list{
	gap: 7px;
	white-space: nowrap;
    margin-bottom: 1.2em;
}
ul.category-list > *,
.pt-name span{
	font-size:var(--fz13);
	line-height:1;
	border:1px solid #000;
	background:#fff;
	border-radius:20px;
	padding:5px 10px;
	cursor: pointer;
	transition: all 0.3s ease-in-out 0s;
}
.category-list > *:hover,
.tab.active{
	color:#fff;
	background:#000;
}

.tab-panel {
	display: none;
	animation: fadeIn 0.3s ease-in-out;
}
.tab-panel.active {
	display: block;
}
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.wp-pagenavi{
	display:flex;
}
.wp-pagenavi a,
.wp-pagenavi span{
    display: flex;
    align-items: center;
    justify-content: center;
	width: 1.75em;
	height:1.75em;
	font-size:var(--fz21);
	line-height: 1;
	border: 2px solid #000;
	border-radius: 50%;
	padding:0;
}
.wp-pagenavi .current{
	color:#fff;
	font-weight:normal !important;
	background:#000;
}
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink,
.wp-pagenavi .previouspostslink span,
.wp-pagenavi .nextpostslink span{
	border:0;
}
.wp-pagenavi .previouspostslink{
	margin-right:1em;
}
.wp-pagenavi .nextpostslink{
	margin-left:1em;
}
.wp-pagenavi .previouspostslink .arrow{
	background:url(img/arrow_right.png) center center no-repeat;
	background-size:60%;
	transform: rotate(-180deg);
}
.wp-pagenavi .nextpostslink .arrow{
	background:url(img/arrow_right.png) center center no-repeat;
	background-size:60%;
}

.en-tit{
	line-height:1.2;
}

@media screen and (min-width: 769px) {
	.pc-none{
		display:none;
	}
	.pc-flex{
		display:flex;
	}
}
@media screen and (max-width: 768px) {
	.sp-none{
		display:none;
	}
	.sp-flex{
		display:flex;
	}
	
	h2.heading {
	    font-size: var(--fz18);
	}
	.home h2.heading{
		font-size: var(--fz23);
	}
	h3.heading {
	    font-size: var(--fz18);
	}
	.home h3.heading{
		font-size: var(--fz20);
	}
	
	.tab-list-wrap{
		overflow-x: auto;
	}
	.content-btn-wrap .btn-wrap{
		position:static;
	}
	ul.category-list > *,
	.pt-name span{
		font-size:var(--fz13);
	}
	.en-tit {
	    font-size:var(--fz14);
	}
	
	.btn-wrap a::after{
		width:20px;
		height:20px;
	}
}



/* Layout
--------------------------------------------- */
#page{
	display:flex;
	flex-wrap:wrap;
}
#sidebar{
	order:2;
	width:330px;
	padding: 40px;
}
#primary{
	order:1;
	width:calc(100% - 330px);
	padding-right:5%;
}
footer#colophon{
	order:3;
	width:100%;
	border-top:1px solid #000;
	padding: 30px 4%;
}

#masthead{
	width:70px;
	height:100vh;
	background:#fff;
	border-right:2px solid #000;
	position:fixed;
	top:0;
	left:0;
}
#masthead .site-branding{
	height:100%;
}
#masthead .site-title{
	height: 50%;
	margin:0;
}
#masthead .site-title a{
	display:block;
	padding:50% 35%;
}
#masthead .site-catch{
	display: flex;
    align-items: center;
    justify-content: flex-end;
	width:100%;
	height: 50%;
	font-size:var(--fz14);
	writing-mode: vertical-rl;
	padding: 50% 0;
}


#sidebar #site-navigation{
	text-align:right;
	position:sticky;
	top:40px;
}
#side-pickup-box-top{
	line-height:1;
}
#side-pickup .inner{
	display:flex;
	flex-wrap:wrap;
	color:#fff;
	background:#000;
	padding:15px 15px;
	margin-bottom:2em;
}
#side-pickup .title{
	width:80px;
	font-size:var(--fz20);
	text-align:center;
	line-height: 1.3;
}
#side-pickup ul{
	width:calc(100% - 80px);
	padding:0;
	margin:0;
	list-style:none;
}
#side-pickup li{
	line-height:1.5;
}
#side-pickup li + li{
	margin-top:0.5em;
}
#side-pickup a{
	color:#fff;
}

#sidebar #site-navigation li{
	margin-bottom:2em;
}
#sidebar #site-navigation a{
	font-size:var(--fz19);
	color:#000;
}
#sidebar #site-navigation a::before {
    content: attr(data-desc);
    display: block;
	font-size:var(--fz14);
	text-transform: uppercase;
    font-style: normal;
    line-height: 1.0;
    margin-bottom: 0.25em;
}


#main-contact{

}
#main-contact dl{
	flex-wrap:wrap;
	align-items: center;
}
#main-contact dl + dl{
	margin-top: 1.2em;
}
#main-contact .content dl dt{
	font-size:var(--fz24);
}
#main-contact .content dl dt a{
	align-items: center;
}
#main-contact .content dl dt a::before{
	content:"";
	display:block;
	width:36px;
	height:30px;
	background:url(img/arrow_right.png) center center no-repeat;
	background-size:contain;
	margin-right: 1.5em;
}
#main-contact .content dl dd{
	font-size:var(--fz14);
}

footer#colophon .logo{
	width:140px;
}
footer#colophon address{
	line-height: 1.5;
	margin-left:3em;
}

#primary .content-block:last-child{
	border-bottom:0;
}

section.content-block{
	border-top:2px solid #000;
	padding:4em 0 4em 4.5%;
}
section#lead{
	border-top:0px;
}
.home section.content-block{
	padding:2em 0 2em 4.5%;
}
.home section#lead.content-block{
	padding-top:4em;
}
.page-header{
	padding:4em 0 1.5em 4.5%;
}
.page-header .page-title{
	line-height:1.3;
	margin:0;
}

.map-link a{
	border-bottom:1px solid #000;
}


@media screen and (min-width: 769px) {
	#main-contact .content dl dt{
		width:230px;
	}
	#main-contact .content dl dd{
		width:calc(100% - 230px);
	}
}
@media screen and (max-width: 768px) {
	body {
	    padding-left: 13%;
	}
	
	#primary{
		padding-right: 0;
	}
	.home section.content-block,
	section.content-block,
	section.spec-info .spec-list{
		padding:2.5em 6% 3em 6%;
	}
	.page-header{
		padding: 5em 6% 1em 6%;
	}
	
	#masthead{
		width:13%;
		padding-bottom: 17vw;
	}
	#masthead .site-title a {
	    padding: 40% 30%;
	}
	#masthead .site-catch{
		font-size:var(--fz13);
	}

	#primary{
		width:100%;
	}
	
	.page-header .page-title {
	    font-size:var(--fz23);
	}
	
	#main-contact .content dl dt {
	    font-size: var(--fz20);
	}
	#main-contact .content dl dt a::before{
		width: 30px;
		height: 25px;
		margin-right: 0.8em;
	}
	#main-contact .content dl dd{
		padding-left: 15%;
	}
	
	footer#colophon{
		padding: 25px 6% 22vw;
	}
	footer#colophon .logo {
	    width: 35%;
	    margin-bottom: 0.5em;
	}
	footer#colophon address {
		font-size:var(--fz14);
	    margin-left: 0;
	}
}



/* Hamburger menu
--------------------------------------------- */

.hamburger {
	position: fixed;
	top: 12px;
	right: 15px;
	z-index: 100;
	width: 48px;
	height: 38px;
	border: none;
	background: transparent;
	cursor: pointer;
}

.hamburger__line {
	position: absolute;
	left: 11px;
	width: 26px;
	height: 2px;
	background-color: #333;
	transition: all .4s;
}

.hamburger__line:nth-of-type(1) {
	top: 10px;
}
.hamburger__line:nth-of-type(2) {
	top: 18px;
}
.hamburger__line:nth-of-type(3) {
	top: 26px;
}

/* メニューオープン時 */
.hamburger.active .hamburger__line:nth-of-type(1) {
	transform: translateY(8px) rotate(-45deg);
}
.hamburger.active .hamburger__line:nth-of-type(2) {
	opacity: 0;
}
.hamburger.active .hamburger__line:nth-of-type(3) {
	transform: translateY(-8px) rotate(45deg);
}

@media screen and (min-width: 769px) {
	.hamburger{
		display:none;
	}
}
@media screen and (max-width: 768px) {
	#sidebar {
	    width: auto;
	    padding: 0;
	}
	
	#sidebar #site-navigation{
		position: fixed;
		top: 0;
		right: 0;
		width: 100%;
		height: 100vh;
		text-align: left;
		background-color: #fff;
		border-left: 2px solid #000;
		padding: 15% 6% 30vw;
		box-shadow: 2px 0 4px rgba(0,0,0,.1);
		transform: translateX(100%);
		transition: transform .4s;
		z-index: 3;
	}
	#sidebar #site-navigation.active {
		transform: translateX(0);
	}
	
	#side-pickup{
		width:100%;
		margin:0;
		position:fixed;
		left:0;
		bottom:0;
		z-index: 4;
	}
	#side-pickup-box-top{
		display:none;
	}
	#side-pickup .inner{
		margin:0;
	}
	#side-pickup .title {
	    font-size: var(--fz14);
	}
	#side-pickup ul{
		font-size: var(--fz12);
	}
	#side-pickup ul a{
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		display: block;
	}
}



/* Top page
--------------------------------------------- */
#lead p{
	font-size:var(--fz22);
}
.home #lead p{
	font-size:var(--fz25);
}
@media screen and (max-width: 1500px) {
	.home #lead p{
		font-size:clamp(1px, 1.60vw, 25px);
	}
}
.catch_copy span {
	transition: 1s;
	opacity: 0;
	transform: translateY(20px);
	display: block;
}
.catch_copy span:first-child {
	animation: catch_anime 1.4s forwards 1s;　
}
.catch_copy span:nth-child(2) {
	animation: catch_anime 1.4s forwards 2s;
}
.catch_copy span:nth-child(3) {
	animation: catch_anime 1.4s forwards 3s;
}
.catch_copy span:nth-child(4) {
	animation: catch_anime 1.4s forwards 4s;
}
.catch_copy span:nth-child(5) {
	animation: catch_anime 1.4s forwards 5s;
}
.catch_copy span:nth-child(6) {
	animation: catch_anime 1.4s forwards 6s;
}
.catch_copy span:nth-child(7) {
	animation: catch_anime 1.4s forwards 7s;
}
.catch_copy span:nth-child(8) {
	animation: catch_anime 1.4s forwards 8s;
}
.catch_copy span:nth-child(9) {
	animation: catch_anime 1.4s forwards 9s;
}
.catch_copy span:nth-child(10) {
	animation: catch_anime 1.4s forwards 10s;
}

@keyframes catch_anime {
  0% {
    transform: translateY(20px);
  }
   100% {
    opacity: 1;
    transform: translateY(0);
  }
}


div#gratitude-list{
	margin-top: 4.5em;
}
#gratitude-list ol a{
	display:block;
}
#gratitude-list span{
	display:inline-block;
	font-size:var(--fz11);
	line-height:1;
	letter-spacing: 0.05em;
	border:1px solid #000;
	padding:3px 10px;
	transition: all 0.3s ease-in-out 0s;
}
#gratitude-list a:hover span{
	color:#fff;
	background:#000;
}
#gratitude-list dl{
	margin-top:0.8em;
}
#gratitude-list dt{
	font-size:var(--fz24);
}

.jornal-list{
	flex-wrap:wrap;
	gap:4px;
}
.jornal-list > *{
	width:calc(50% - 2px);
	margin-bottom: 5em;
}
.home .jornal-list > *{
	margin-bottom: 0em;
}
.jornal-list .img{
	margin-bottom: 0.75em;
}
.jornal-list .img img{
	width:100%;
	object-fit: cover;
	aspect-ratio: 3 / 2;
}
.jornal-list .title{
	font-size:var(--fz22);
	line-height: 1.4;
	margin-bottom: 0.25em;
}

#news .news-list a{
	flex-wrap: wrap;
}
#news .news-list a time{
	width:160px;
}
#news .news-list a .article-title{
	width:calc(100% - 160px);
	font-size:var(--fz19);
	margin: 0;
}


@media screen and (min-width: 769px) {
	#gratitude-list ol{
		flex-wrap:wrap;
		gap:20px;
	}
	#gratitude-list li{
		width:calc(25% - 15px);
		margin-bottom: 1.5em;
	}
	
	.jornal-list .title,
	.jornal-list p{
		width:80%;
	}
	.jornal-list .title{
		min-height: 2.8em;
	}
	
	.news-list a {
		margin-bottom:1em;
	}
}
@media screen and (max-width: 768px) {
	.home #lead{
		padding-top: 45vw;
	}
	#lead p,
	.home #lead p{
	    font-size: var(--fz16);
	}
	
	#gratitude-list li{
		border-bottom:1px solid #000;
		padding-bottom:0.35em;
		margin-bottom:1.0em;
	}
	#gratitude-list span{
		font-size:var(--fz9);
	}
	#gratitude-list dl {
		align-items:center;
	    margin-top: 0.3em;
	}
	#gratitude-list dt {
		width: 100%;
	    font-size:var(--fz18);
	}
	#gratitude-list dd {
		width: 100%;
	    font-size:var(--fz12);
	    padding-top: 0.2em;
	}
	
	.home .jornal-list > * {
	    display: block;
	    width: 100%;
	    margin-bottom: 13vw;
	}
	.jornal-list .title{
		font-size:var(--fz18);
		margin: 1.2em 0 0.8em;
	}
	.jornal-list p{
		font-size:var(--fz14);
	}
	.jornal-list .pt-name{
		display:none;
	}
	
	.news-list a {
		display: block;
	}
	#news .news-list a time{
		width:100%;
		font-size:var(--fz13);
	}
	#news .news-list a .article-title{
		width:100%;
		font-size:var(--fz14);
	}
	
	.home #news .news-list{
		border-top: 1px solid #000;
		margin-bottom: 2em;
	}
	.home #news .news-list a{
		border-bottom: 1px solid #000;
		padding:1em 0;
	}
	.home #news .news-list a .article-title{
		margin:0;
	}
}



/* About
--------------------------------------------- */
section#message{
	padding:0;
}
section#message .photo-message{
	flex-wrap:wrap;
}
section#message .photo-message + .photo-message{
	border-top:1px solid #000;
}
section#message .photo-message .photo{
	width:300px;
	min-height:400px;
	position:relative;
	overflow:hidden;
}
section#message .photo-message .photo img{
	width:100%;
	height:100%;
	object-fit:cover;
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%, -50%);
}
section#message .photo-message .text{
	align-items:center;
	width:calc(100% - 300px);
	padding:3em 0 3em 4.5%;
}
section#message .photo-message.no-photo .text{
	width:100%;
}

section#profile .content{
	align-items:center;
}
section#profile .img{
	width:250px;
}
section#profile .img img{
	width:75%;
}
section#profile .text{
	width:calc(100% - 250px);
}
section#profile .text p{
	font-size:var(--fz18);
}

section#company-profile{
	flex-wrap:wrap;
}
section#company-profile .block-title-wrap{
	width:250px;
}
section#company-profile .content{
	width:calc(100% - 250px);
}
section#company-profile .content dl{
	display:flex;
	flex-wrap:wrap;
}
section#company-profile .content dl + dl{
	margin-top:1em;
}
section#company-profile .content dl dt{
	width:125px;
	font-size:var(--fz16);
	padding-right: 3em;
	text-align-last: justify;
}
section#company-profile .content dl dd{
	width:calc(100% - 125px);
	font-size:var(--fz14);
}


@media screen and (min-width: 769px) {

}
@media screen and (max-width: 768px) {
	section#message .photo-message{

	}
	section#message .photo-message .photo{
		width:100%;
		min-height: auto;
		aspect-ratio: 3 / 2;
	}
	section#message .photo-message .text{
		width:100%;
	}
	section#message .photo-message .text{
		padding-left:6%;
		padding-right:6%;
	}
	
	section#profile .text,
	section#company-profile .content {
	    width: 100%;
	}
	section#profile .text .heading span{
		display: block;
	}
	section#company-profile .content dl dt {
	    width: 18vw;
	    font-size: var(--fz12);
	    letter-spacing: 0.1em;
	    padding-right: 0;
		text-align-last: auto;
	}
	section#company-profile .content dl dd {
	    width: calc(100% - 18vw);
	    font-size: var(--fz14);
	}

}



/* SPEC
--------------------------------------------- */
section.spec-info{
	padding: 0 0;
}
section.spec-info .title-wrap{
	padding: 0 0 0 4.5%;
}
section.spec-info .title-wrap .title-text{
	align-items:center;
	width:calc(100% - 220px);
}
section.spec-info .title-wrap .title-text .heading{
	font-size:var(--fz22);
	margin:0;
}
section.spec-info .title-wrap .img{
	width:220px;
	min-height: 135px;
	position: relative;
	overflow: hidden;
}
section.spec-info .title-wrap .img img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
section.spec-info .spec-list{
	border-top:1px solid #000;
	padding: 2em 0 2em 4.5%;
}
section.spec-info .spec-list ul{
	font-size:var(--fz18);
	padding-left: 1.2em;
	margin-left:0;
	margin-bottom:0;
}


@media screen and (min-width: 769px) {

}
@media screen and (max-width: 768px) {
	section.spec-info .title-wrap .title-text {
	    width: 60%;
	}
	section.spec-info .title-wrap .img {
	    width: 40%;
	    min-height: 30vw;
	}
	section.spec-info .spec-list ul {
	    font-size: var(--fz14);
	}
	section.spec-info .title-wrap .title-text h4.heading {
	    font-size: var(--fz15);
	}
	section.spec-info .spec-list {
	    padding-left: 6%;
	    padding-right: 6%;
	}
}



/* JOURNAL
--------------------------------------------- */
#journal-cat-list{
	padding: 2em 0 2em 4.5%;
}
#journal-cat-list ul{
/* 	margin:0; */
}
#journal-cat-list ul > *{
	font-size: var(--fz17);
	padding: 7px 18px;
}
#journal-item-list{
	border-width:1px;
}

.post-list-page-navi{
	border-top: 2px solid #000;
    padding: 2em 0 2em 4.5%;
}

.single-works #journal-cat-list ul > *{
	padding:0;
}
.single-works #journal-cat-list ul > * + *{
	margin-left:1em;
}

.works_detail_mv{
	border-top: 2px solid #000;
}
.works_detail_mv + section.content-block{
	border-top: 0px;
}

#works-detail .heading{
	font-size: var(--fz24);
}
#works-detail p{
	font-size: var(--fz18);
}

#works-gallery,
#works-overview,
#works-collaboration{
	margin-top:60px;
}
#works-gallery{
	position:relative;
}
#works-gallery .slider{
	margin-bottom:15px;
}
#works-gallery .swiper-slide img{
	transition: all 0.3s ease-in-out 0s;
}
#works-gallery .swiper-slide img{
	width:100%;
	aspect-ratio:3/2;
	object-fit:cover;
	cursor: pointer;
}
#works-gallery .slider-thumbnail-wrap{
	position:relative;
}
#works-gallery .slider-thumbnail-wrap .swiper-slide:hover img,
#works-gallery .slider-thumbnail-wrap .swiper-slide-thumb-active img{
	opacity:0.2;
}
#works-gallery .swiper-button-next,
#works-gallery .swiper-button-prev{
	display:flex;
	justify-content: center;
	align-items:center;
	width:30px;
	height:30px;
	border:2px solid #000;
	border-radius:50%;
	background:#fff;
	position:absolute;
/*	top:calc(50% - 15px);*/
	z-index:2;
	cursor: pointer;
	transition: all 0.3s ease-in-out 0s;
}
#works-gallery .swiper-button-next:hover,
#works-gallery .swiper-button-prev:hover{
	background:#000;
}
#works-gallery .swiper-button-next:hover::before,
#works-gallery .swiper-button-prev:hover::before{
	color:#fff;
}
#works-gallery .swiper-button-next{
	right:-15px;
}
#works-gallery .swiper-button-next::before{
	content:"→";
}
#works-gallery .swiper-button-prev{
	left:-15px;
}
#works-gallery .swiper-button-prev::before{
	content:"←";
}

.works-spec-table dl{
	display:flex;
	flex-wrap:wrap;
	border-bottom:1px solid #000;
	padding:10px 0;
}
.works-spec-table dl dt{
	width:30%;
}
.works-spec-table dl dd{
	width:70%;
}

@media screen and (min-width: 769px) {
	#journal-cat-list ul{
		margin:0;
	}
	
	.works-spec-wrap{
		flex-wrap:wrap;
	}
	.works-spec-wrap .title{
		width:100px;
	font-size: var(--fz20);
	}
	.works-spec-table{
		width:calc(100% - 100px);
		column-count:2;
		gap: 50px;
	}
	
	#works-gallery .swiper-button-next,
	#works-gallery .swiper-button-prev{
		bottom: 4.5vw;
	}
}
@media screen and (max-width: 768px) {
	.single-works .page-header{
		padding-top: 1.5em;
		padding-right: 65px;
	}

	.single-works #journal-cat-list ul{
		margin-bottom:1.0em;
	}

	#journal-cat-list {
	    padding: 1em 6% 0;
	}
	#journal-cat-list ul > * {
	    font-size: var(--fz13);
	    padding: 5px 10px;
	}
	#journal-item-list{
		border-width: 2px;
		padding: 5vw 6%;
	}
	
	#works-detail .heading {
	    font-size: var(--fz18);
	}
	#works-detail p {
	    font-size: var(--fz14);
	}
	.works-spec-table dl {
	    padding: 0.5em 0;
	}
	.works-spec-table dl dt {
	    font-size: var(--fz12);
	}
	.works-spec-table dl dd {
	    font-size: var(--fz14);
	}
	
	#works-gallery .swiper-button-next,
	#works-gallery .swiper-button-prev{
		top: 23vw;
	}

}





/* News
--------------------------------------------- */
.post-type-archive-news section.content-block{
	padding-top:0;
	padding-bottom:0;
}
.news-list a{
	align-items:center;
}
.post-type-archive-news .news-list a{
	border-bottom:1px solid #000;
	padding:3em 0;
}
.news-list a:last-child{
	border-bottom:0px;
}
.news-list a .title{
	font-size: var(--fz19);
}

#news-detail-eyecatch{
	border-top: 2px solid #000 !important;
}
#news-detail-content{
/* 	border-top:0; */
	border-top: 2px solid #000 !important;
	padding-top:2em;
}

@media screen and (min-width: 769px) {
	.news-list a .img-wrap{
		width:25%;
	}
	.news-list a .text{
		width:65%;
	}
}
@media screen and (max-width: 768px) {
	.single-news .page-header .article-date {
        font-size: var(--fz14);
    }
	.single-news .page-header .page-title {
        font-size: var(--fz19);
        line-height:1.5;
    }
}




/* Contact
--------------------------------------------- */
.contact-lead{
	border-bottom:1px solid #000;
	padding-bottom:1em;
	margin-bottom:2em;
}
.contact-lead .lead-text{
	font-size:var(--fz18);
}

.form dl{
	flex-wrap:wrap;
	border-bottom:1px solid #000;
	padding:15px 0;
}
.form dl dt{
	width:35%;
}
.form dl dd{
	width:65%;
}
.form dl dt .hissu{
	display:inline-block;
	font-size:0.7em;
	color:#fff;
	line-height: 1;
	background:#000;
	border-radius:3px;
	padding:5px 10px;
	margin-left:0.5em;
}
.form dl dd input{
	border:0;
}

.mw_wp_form #privacy{
	height:250px;
	font-size:var(--fz14);
	border:1px solid #000;
	margin-bottom:5em;
	overflow-y:scroll;
}
.mw_wp_form #privacy dd{
	width:100%;
}
.contact-doi{
	font-size:var(--fz19);
	text-align:center;
	margin-bottom:2em;
}
.contact_btn{
	text-align:center;
}
.contact_btn input[type="submit"]{
	display:inline-block;
	font-size:var(--fz19);
	font-weight:bold;
	border:1px solid #000;
	background:#fff;
	border-radius:30px;
	padding:15px 50px;
	margin: 0 0.5em;
	cursor: pointer;
}

@media screen and (min-width: 769px) {

}
@media screen and (max-width: 768px) {
	.contact-lead .lead-text {
	    font-size: var(--fz14);
	}
	
	.form dl{
		display:block;
/* 		border-bottom:0; */
	}
	.form dl dt,
	.form dl dd{
		width:100%;
	}
	.form dl dt{
	    font-size: var(--fz14);
	    font-weight:bold;
		border-bottom: 1px solid #000;
		margin-bottom: 0.5em;
		position:relative;
	}
	.form dl dt .hissu{
		position:absolute;
		bottom:0.5em;
		right:0;
	}
	.form dl dd input{
		max-width:100%;
	}
}







