@charset "utf-8";

/*
	Theme Name: Smart
	Theme URI: https://stylegraph.com/jp/
	Description: Smart Theme by Stylegraph
	Author: SmartGift Staff
	Author URI: https://www.smartgift.jp
	Version: 1
*/

@import url(https://fonts.googleapis.com/css?family=Inter:100,300,500,600);
@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);

html {
	font-size: 62.5%;
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
}

body {
	background: url(image/background.png) no-repeat 100% 0;
	background-size: 300px 150px;
	color: #333;
	font: 1.3rem Noto Sans JP, Arial, Meiryo, sans-serif;
	letter-spacing: .08em;
	margin: 0;
	-webkit-font-smoothing: antialiased;
}
@media only screen and (min-width: 734px) {
	body { background-size: 500px 250px; }
}
@media only screen and (min-width: 834px) {
	body { background-size: 700px 350px; }
}
@media only screen and (min-width: 1024px) {
	body { background-size: 800px 400px; font-size: 1.4rem; }
}
@media only screen and (min-width: 1240px) {
	body {
		background-size: 900px 450px;
		position: relative;
	}
	body::before {
		content: '';
		height: 100%;
		position: absolute;
		top: 0;
		z-index: 5;
	}
	body::before {
		background: rgba(255,255,255,.8) url(image/ribbon.png) repeat-y 50% 0;
		background-size: 70px 1300px;
		border: 3px solid #e5e5e5;
		border-width: 0 5px;
		left: 25px;
		width: 54px;
	}
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	margin-block: 4rem 0;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.2rem; }

p {
	line-height: 2;
	margin-block: 2em;
}

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

a {
	color: #333;
	text-decoration: none
}
a:hover {
	color: #36c;
	text-decoration: underline
}

blockquote {
	border-left: 1px solid #333;
	margin-left: 16px;
	padding-left: 16px;
}

table {
	border-bottom: 1px solid #e5e5e5;
	border-collapse: collapse;
	margin: 1.41em auto;
}
td {
	border-top: 1px solid #e5e5e5;
	padding: 1rem;
}
th {
	border-top: 1px solid #e5e5e5;
	color: #19191a;
	font-weight: normal;
	padding: 1rem;
	text-align: center;
	white-space: nowrap;
}
tr td:first-child,
tr th:first-child {
	padding-left: 0;
}
tr td:last-child,
tr th:last-child {
	padding-right: 0;
}

ul,
ol {
	line-height: 1.8;
	margin: 2em 0;
}

dl {
	margin: 2em 0;
	padding: 0;
	list-style: none;
}
dt {
	line-height: 1.8;
	margin: 1em 0 0;
	text-align: left;
}
dd {
	margin: 0 2rem 1em 2rem;
}
dd p,
dd ul,
dd ol {
	margin: 1em 0;
}
@media (min-width: 768px) {
	dl {
		display: grid;
		gap: 1em 5%;
		grid-template-columns: 25% 70%;
	}
	dt {
		text-align: center;
	}
	dd {
		margin: 0;
	}
	form dt {
		margin: 2em 0 0;
	}
}

figure {
	margin: 2em 0;
	text-align: center;
}

iframe {
	border-style: none;
}

/* Universal Class
------------------------------ */
.VisuallyHidden {
	border-width: 0 !important;
	clip: rect(0, 0, 0, 0) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	white-space: nowrap !important;
}

.Notice {
	font-size: 1rem;
}
ul.Notice {
	list-style-type: none;
	padding-left: 0;
}
ul.Notice li::before {
	content: '※ ';
}

/* Button */
.Button {
	text-align: center
}
.Button a,
.Button input {
	background: #dbdbdb;
	background: linear-gradient(#fff,#ddd);
	border: 1px solid #ccc;
	border-radius: 100vh;
	color: #333;
	display: inline-block;
	cursor: pointer;
	font-weight: 600;
	padding: 6px 3rem;
	transition: .3s;
	z-index: 0
}
.Button a:hover {
	background: linear-gradient(#ccc,#fff);
	text-decoration: none
}
.Button input {
	font-size: 1.1em;
	padding: 8px 3rem
}
.Button .Order {
	background: #333;
	background: linear-gradient(#333,#000);
	border: 1px solid #000;
	color: #fff
}
.Button .Order:hover {
	background: linear-gradient(#000,#333);
	color: #fff;
	text-decoration: none
}
.Button .Prev {
	float: left;
	max-width: 40%;
}
.Button .Next {
	float: right;
	max-width: 40%;
}

/* Wrap */
.Wrap {
	margin-left: auto;
	margin-right: auto;
	max-width: 1280px;
	padding: 0 4%;
}
@media (min-width: 1024px) {
	.Wrap {
		padding: 0 5.5%;
	}
}
@media (min-width: 1240px) {
	.Wrap {
		padding: 0 10.5% 0 8.5%;
	}
}

/* Grid */
[class^="Grid"] {
	display: grid !important;
	gap: 2em 5%;
}
[class^="Grid"] > * {
  min-width: 0;
}
ul[class^="Grid"] {
	list-style: none;
	padding: 0;
}
form [class^="Grid"] {
	gap: 0 5%;
}
.GridCol2Sp {
	grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 1024px) {
	.GridCol1 {
		grid-template-columns: 1fr;
	}
	.GridCol2 {
		grid-template-columns: repeat(2, 1fr);
	}
	.GridCol3 {
		grid-template-columns: repeat(3, 1fr);
	}
	.GridCol4 {
		grid-template-columns: repeat(4, 1fr);
	}
	[class^="GridCol"].GridFlip > :nth-child(odd) {
		order: 2;
	}
	[class^="GridCol"].GridFlip > :nth-child(even) {
		order: 1;
	}
	.GridCenter {
		align-items: center;
	}
	.GridClear {
		grid-column: 1 / -1;
	}
}

/* Figure */
figure {
	margin: 0;
}
figure.Bleed {
	aspect-ratio: 4 / 3;
	margin-left: -6%;
	margin-right: -6%;
	overflow: hidden;
	position: relative;
}
figure.Bleed img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}
@media (min-width: 1024px) {
	figure.Bleed {
		aspect-ratio: 1 / 1;
		margin-left: -13%;
		margin-right: 0;
	}
	.GridFlip figure.Bleed {
		margin-left: 0;
		margin-right: -13%;
	}
}
@media (min-width: 1280px) {
	figure.Bleed {
		aspect-ratio: 4 / 3;
	}
}

/* Header
------------------------------ */
header {
	overflow: hidden;
}

/* Logo */
.Logo {
	background: url(image/logo.png) no-repeat;
	background-size: contain;
	display: block;
	height: 0;
	margin: 20px 0 15px;
	overflow: hidden;
	padding-top: 36px;
	position: relative;
	width: 160px;
}
@media (min-width: 734px) {
	header .Logo {
		margin: 30px 0 25px;
		padding-top: 54px;
		width: 240px
	}
}
@media (min-width: 834px) {
	header .Logo {
		margin: 60px 0 50px;
		padding-top: 66px;
		width: 300px
	}
}

/* Breadcrumbs and Flow
------------------------------ */
.Breadcrumbs ol {
	display: flex;
	gap: 10px;
	list-style: none;
	padding: 0;
	margin: 0 0 2em;
	white-space: nowrap;
	flex-wrap: nowrap;
	width: max-content;
}
.Breadcrumbs li {
	align-items: center;
	display: flex;
}
.Breadcrumbs li + li::before {
	content: ">";
	font-weight: normal;
	margin-right: 10px;
}

/* 記事タイトル（最後の項目）を省略表示 */
.Breadcrumbs li:last-child span {
	display: inline-block;
	max-width: 300px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: bottom;
}
@media only screen and (max-width: 768px) {
	.Breadcrumbs li:last-child span {
		max-width: 150px;
	}
}
@media only screen and (min-width: 1024px) {
	.Breadcrumbs li:last-child span {
		max-width: 400px;
	}
}

/* Main
------------------------------ */
.Panel {
	aspect-ratio: 4 / 3;
	margin: 0 -6%;
	overflow: hidden;
	position: relative;
}
.Panel figure {
	height: 100%;
	margin: 0;
	overflow: hidden;
	width: 100%;
}
.Panel figure img {
	animation: panelImageSp 6s forwards;
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}
@keyframes panelImageSp {
	0% { transform: scale(1.4); }
	100% { transform: scale(1); }
}

/* Footer
------------------------------ */
footer {
	padding: 4% 0;
	overflow: hidden;
}
.Copyright {
	background: #fff;
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
	height: 60px;
	line-height: 60px;
	text-align: center
}

/* ──────────────────────────────
   Blog Styles
─────────────────────────────── */

time {
	font-size: .9em;
}

.entry-header {
	all: unset
}

figure a:hover img {
	transform: scale(1.04, 1.04);
	transition: 1.8s all ease
}

/* Home and Archive Page
------------------------------ */
.home .post h3,
.archive .post h3 {
	margin-top: 1em;
}

.home .post .GridCol2,
.archive .post .GridCol2 {
	margin: 10% 0;
}

/* Single Page
------------------------------ */
.single .type-post {
	font-size: 1.4rem;
}
.single .type-post .Panel {
	margin: 0 -6%;
}
.single .type-post p a {
	color: #003cb3;
}
.single .type-post .entry-content figure {
	text-align: left;
}
.single .type-post .wp-block-embed iframe {
	width: 100% !important;
}
@media (min-width: 1024px) {
	.single .type-post {
		background: #fff;
		box-shadow: 0 0 4px rgba(0, 0, 0, .18);
		padding: 10%;
		border-radius: 2px;
		position: relative;
		font-size: 1.6rem;
		z-index: 10;
	}
	.single .type-post::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(0,0,0,0.02) 100%);
		pointer-events: none;
	}
	.single .type-post .Panel {
		margin: -12.5% -12.5% 0;
	}
}

/* Page Navigation */
.post-navigation {
	display: flex;
	justify-content: center;
	margin: 60px 0;
}
.pagination {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	list-style: none;
	padding: 0;
}
.pagination li a,
.pagination li span {
	background: #e5e5e5 linear-gradient(#f2f2f2,#e5e5e5);
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	color: #333;
	display: block;
	padding: .5em 1.5em;
	text-decoration: none;
	transition: all 0.25s ease;
}
.pagination li a:hover {
	background: #f2f2f2 linear-gradient(#e5e5e5,#f2f2f2);
}
.pagination li .current {
	background: #333 linear-gradient(#333,#000);
	border-color: #333;
	color: #fff;
}

.post-navigation div .prev,
.post-navigation div .next {
	padding: 0 35px;
	position: relative;
}
.post-navigation div .next {
	left: auto;
	right: 0;
}
.post-navigation div .prev::before,
.post-navigation div .next::before {
	border: 2px solid #333;
	border-width: 2px 0 0 2px;
	content: '';
	height: 18px;
	left: 10px;
	position: absolute;
	top: 50%;
	transition: all 0.3s ease-in-out;
	transform: translate(-25%, -50%) rotate(-45deg);
	width: 18px;
}
.post-navigation div .next::before {
	left: auto;
	right: -10px;
	transform: translate(-75%, -50%) rotate(135deg);
}

 /* Related Posts */
.related-posts figure {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.related-posts h3 {
	display: -webkit-box;
	font-size: 1.2em;
	line-height: 1.4;
	margin: 1em 0 .5em;
	max-height: 2.8em;
	min-height: 2.8em;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;}

.related-posts article {
	display: flex;
	flex-direction: column;
}

/* CSS for Accessibility
------------------------------ */

/* Skip Link */
.skip-link {
	position: absolute;
	top: -40px;
	left: 0;
	background: #000;
	color: #fff;
	padding: 8px 16px;
	text-decoration: none;
	z-index: 100000;
	transition: top 0.3s ease;
}
.skip-link:focus {
	top: 0;
	outline: 3px solid #0073aa;
	outline-offset: 2px;
}

/* Screen reader-only text */
.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;
	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: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}