/*!
Theme Name: hideo_theme
Theme URI: http://underscores.me/
Author: MT-Design
Author URI: https://mt-design.info/
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: tazunakari
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

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

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

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

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */
body {
	margin: 0;
}
main {
	display: block;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

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

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

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

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}
small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

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

img {
	border-style: none;
}

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

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}
button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}
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;
	font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Arial", "Yu Gothic", "Meiryo", 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: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

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

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

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


/* -------------------------------------------------
	Original Content
--------------------------------------------- */
.zen-antique-regular {
  font-family: "Zen Antique", serif;
  font-weight: 400;
  font-style: normal;
}
.shippori-mincho-regular {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.shippori-mincho-medium {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-style: normal;
}

.shippori-mincho-semibold {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-style: normal;
}

.shippori-mincho-bold {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-style: normal;
}

.shippori-mincho-extrabold {
  font-family: "Shippori Mincho", serif;
  font-weight: 800;
  font-style: normal;
}
/* 変数 */
:root {
	--width-_main: 1100px;
	--margin-_l_r: 30px;
	--color-sc_live: #179A79;
	--color-sc_event: #17229A;
	--color-sc_etc: #9A178F;
	--color-back_2: #EDEDED;
}
@media screen and (min-width: 1200px) {
	:root {
		--margin-_l_r: calc((100% - var(--width-_main)) / 2);
	}
}

.main {
	width: 100%;
	max-width: var(--width-_main);
	margin: 0 var(--margin-_l_r) 0 var(--margin-_l_r);
}

@media screen and (max-width: 600px) {
	.main {
		width: calc( 100% - 40px);
		margin: 0 auto;
	}
}

.site-header {
	display: flex;
	padding: 15px 0;
	justify-content: space-between; /* 左右に分ける */
    align-items: center;            /* 縦中央揃え */
	width: auto;
	max-width: var(--width-_main);

	.site-branding{
		width: 218px;
	}

	.main-navigation {
    	margin-left: auto; /* 右寄せ（flexでspace-betweenなので不要な場合も） */
		width: auto;
	}

	.main-navigation ul {
		display: flex;
    	gap: 20px; /* メニュー間の余白 */
		list-style: none;
		margin: 0;
		padding: 0;
	}

	/* メニューリンクの装飾例 */
	.main-navigation a {
		text-decoration: none;
		color: #404040;
		font-weight: bold;
		padding: 8px 12px;
		transition: background 0.2s;
	}
	.main-navigation a:hover {
		background: #f0f0f0;
		border-radius: 4px;
	}
}
.mainvisual {
	position: relative;
	overflow: hidden;
}

.mainvisual img {
	width: 100%;
	height: auto;
	display: block;
}

@media (max-width: 900px) {
	.mainvisual {
		margin: 0;
		padding: 0;
	}
	.mainvisual-img, .mainvisual picture img {
		width: 100vw;
		max-width: 100vw;
		min-width: 100vw;
		height: calc(100vh - 100px);
		max-height: calc(100vh - 100px);
		min-height: calc(100vh - 100px);
		object-fit: cover;
		display: block;
	}
}

/* ハンバーガーメニューのスタイル */
.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}
.hamburger span,
.hamburger span::before,
.hamburger span::after {
    display: block;
    position: absolute;
    width: 28px;
    height: 3px;
    background: #404040;
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger span {
    top: 50%;
    left: 6px;
    transform: translateY(-50%);
}
.hamburger span::before {
    content: '';
    top: -10px;
    left: 0;
}
.hamburger span::after {
    content: '';
    top: 10px;
    left: 0;
}

/* ハンバーガー開閉時のアニメーション例 */
.hamburger.active span {
    background: transparent;
}
.hamburger.active span::before {
    transform: translateY(10px) rotate(45deg);
}
.hamburger.active span::after {
    transform: translateY(-10px) rotate(-45deg);
}

/* レスポンシブ対応 */
@media screen and (max-width: 900px) {
    .site-header {
        flex-direction: row;
        align-items: center;
        padding: 10px 0;
		margin: 0 30px;
    }

    .site-header .site-branding {
        width: 160px;
        margin-bottom: 0;
    }

    .site-header .main-navigation {
        width: auto;
        margin-left: 0;
    }

    .site-header .main-navigation ul {
        position: fixed;
        top: 0;
        right: -100vw;
        width: 70vw;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding-top: 60px;
        box-shadow: -2px 0 10px rgba(0,0,0,0.08);
        transition: right 0.3s;
        z-index: 1000;
    }

    .site-header .main-navigation ul.open {
        right: 0;
    }

    .site-header .main-navigation li {
        width: 100%;
    }

    .site-header .main-navigation a {
        display: block;
        width: 100%;
        padding: 16px 24px;
        border-bottom: 1px solid #eee;
    }

    .hamburger {
        display: block;
        margin-left: auto;
    }
}

@media screen and (max-width: 600px) {
    .site-header {
        padding: 8px 0;
    }
    .site-header .site-branding {
        width: 120px;
    }
    .site-header .main-navigation ul {
        width: 90vw;
        max-width: none;
        padding-top: 48px;
    }
    .site-header .main-navigation a {
        padding: 14px 16px;
    }
}

.main-content {
	padding: 120px 0;
	display: flex;

	.subtitle{
		max-width: 270px;
		width:100%;
		h2{
			font-size: 2.6rem;
			font-weight: bold;
			line-height: 3rem;
			margin: 0;
		}
		.jp_title{
			font-size: 1.6rem;
			font-weight: bold;
		}
	}
	.subcontent{
		width: 100%;
		.news-item{
			display: flex;
/*			gap: 20px;*/
			width: 100%;
			padding: 0 20px 10px 20px;
			border-bottom: 1px dotted #404040;
			box-sizing: border-box;
			.news-date{
				min-width: 100px;
			}
		}
		.news-item + .news-item {
            padding-top: 10px;
        }
		.news-genre {
			font-size: 0.8rem;
			width: 80px;
			text-align: center;
			padding: 1px 5px;
			margin-right: 20px;
			color: #fff;
		}
		.live {
			background-color: #179A79;
		}
		.event {
			background-color: #17229A;
		}
		.etc{
			background-color: #9A178F;
		}
		.none-report{
			background-color: #dedede;
			font-size: 1.4rem;
			text-align: center;
		}
	}
}

@media screen and (max-width: 600px) {
.main-content {
	padding: 60px 0;
	flex-direction: column;

	.subtitle{
		padding-bottom: 30px;
		line-height: 200%;
	}
	.subcontent{
		.news-item {
			flex-direction: column;
			padding: 0 20px 10px 0px;
		}
		.news-genre {
			margin-right: 0;
		}
	}
}
}


.mc-grey {
	background-color: #EDEDED;
}

.rental-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
    padding: 20px 0;
}
.rental-item {
    text-align: center;
}
.rental-thumb {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 4/3;
    object-fit: contain; /* 画像全体を表示 */
    background: #fFF;
    border-radius: 8px;
    margin-bottom: 12px;
    display: block;
}
.rental-title {
	text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: #222;
}

.works {
	.headline-wrap {
		display: flex;
		flex-direction: column;
		gap: 2px;
		align-items: flex-start;
	}
	h2 {
		display: inline-block;
		font-size: 1.8rem;
		font-weight: bold;
		line-height: 150%;
		margin-top: 0;
		margin-bottom: 20px;
		color: #FFF;
		background-color: #333;
	}
	p {
		line-height: 180%;
		margin: 0 0 20px;
	}
	p:first-of-type {
    margin-top: 20px;
	}
}

.info {
	table.company {
		border-collapse: collapse;
		td {
			padding: 12px 20px;
			border: 1px solid #ccc;
		}
		td.bg_grey {
			background-color: #f0f0f0;
			width: 200px;
			text-align: center;
		}
	}
}

@media screen and (max-width: 600px) {
	.info {
		table.company {
			td {
				display: block;
				text-align: center;
			}
			td.bg_grey {
				width: 100%;:
			}
		}
	}
}

/* contact form 7 */
div#wpcf7-f68-o1{
	max-width:800px;
	margin:0 auto;
}
/*ContactForm7カスタマイズ*/
table.CF7_table{
	width:100%;
	border: 3px solid #e5e5e5;
}

table.CF7_table tr{
	border-top: 1px solid #e5e5e5;
}
table.CF7_table th {
	text-align: left;
	padding: 10px;
}

table.CF7_table td {
	background-color: #FFF;
	padding: 10px 20px;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table{
	display:table;
}

/*入力欄*/
.CF7_table input, .CF7_table textarea {
	border: 1px solid #d8d8d8;
}

.CF7_table ::placeholder {
	color:#797979;
}

/*「必須」文字*/
.CF7_req{
	font-size:.9em;
	padding: 5px;
	background: #f79034;/*オレンジ*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/*「任意」文字*/
.CF7_unreq{
	font-size:.9em;
	padding: 5px;
	background: #bdbdbd;/*グレー*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/* タイトル列 */
@media screen and (min-width: 600px){
	.CF7_table th{
	width:30%;/*横幅*/
	background-color:#ebedf5;/*ブルーグレー*/
	}
}

/* レスポンシブ */
@media screen and (max-width: 600px){
	div#wpcf7-f68-o1 {
		max-width: 90%;
		margin: 0 auto;
		h2 {
			font-size: 1.4rem;
		}
		.rental_head {
			padding: 0 10px;
			font-size: 0.9rem;
		}
	}
	table.CF7_table{
	width: 95;
	}
	.CF7_table tr, .CF7_table td, .CF7_table th{
	display: block;
	width: 100%;
	line-height:2.5em;
	}
	.CF7_table th{
	background-color:#ebedf5;
	}
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#5288E0;
	border:0;
	color:#fff;
	font-size:1.2em;
	font-weight:bold;
	margin:0 auto;
	padding: 10px 60px;
}
.wpcf7 input.wpcf7-submit:hover {
    background-color: rgba(82, 136, 224, 0.6); /* #5288E0, 透明度60% */
	color: #2c4b7b;
}

.CF7_btn{
	text-align:center;
	margin-top:20px;
}

.wpcf7-spinner{
	width:0;
	margin:0;
}

/* プライバシーポリシー */
div.contact-policy {
	height: 500px;
	margin: 50px auto 20px;
	padding: 40px 0 40px 30px;
	background-color: #FFF;
	border: 1px solid #ccc;
	overflow: hidden;
}
div.contact-policy .contact-policy-in {
	height: 100%;
	-ms-overflow-y: scroll;
	overflow-y: scroll;
}
div.contact-policy .contact-policy-in p {
	margin: 15px 0;
}
div.contact-policy .contact-policy-in h2 {
	font-size: 24px;
	text-align: center;
}
div.contact-policy .contact-policy-in h3 {
	font-size: 20px;
}
div.ppcheck {
	text-align:center;

	input[type="checkbox"] {
		width: 1.3em;
		height: 1.3em;
    	accent-color: #b9dafb; /* オレンジ色にしたい場合。不要なら削除OK */
		vertical-align: middle;
	}
}

/* footer */
.site-footer {
	background-color: #2C4480;
	padding: 50px 0 10px;
	div.footer-main{
		display: flex;
		justify-content: space-between;
		padding: 20px;
		color: #FFF;

		.footer-logo {
			width: 300px;
		}
		.footer-address{
			text-align: right;
			line-height: 180%;
			h3 {
				margin: 0;
				padding: 0;
			}
		}
	}
	.footer-bottom {
		text-align: right;
		color: #fff;
		border-top: solid 1px #FFF;
	}
}
@media screen and (max-width: 600px) {
	.site-footer div.footer-main {
		flex-direction: column;
		align-items: center;
		text-align: center;

		.footer-logo {
			margin-bottom: 20px;
		}
		.footer-address {
			text-align: center;
		}
	}
}

/* single page */
.single {
	.site-main {
		.entry-header {
			padding: 80px 50px;
			.entry-meta {
				font-size: 1.2rem;
				font-weight: bold;
			}
		}
		.entry-content {
			padding: 0 50px;
			.entry-content-main {
				border: 1px solid #ddd;
				padding: 20px 40px;
				border-radius: 30px;
				background-color: #eee;

				.categories {
					font-size: 0.9em;
					color: #666;
					border-top: 1px solid #ddd;
					padding-top: 10px;
					text-align: right;
				}
			}
		}
		.post-navi {
			padding: 60px 0;

			nav {
				border-top: 1px solid #ddd;
				border-bottom: 1px solid #ddd;
				padding: 5px 10px;
			}
		}
	}
}
/* 機材ページ */
.single-kizai {
	.site-main {
		.entry-header{
			background-color: #eeeeee;
		}
		.entry-content {
			display: flex;
			.kizai_thumbnail {
				max-width: 480px;
				margin-right: 50px;
				img {
					width: 100%;
					height: auto;
				}
			}
			.entry-content-main {
				background-color: #fff;
				border: none;
				h4 {
					margin: 0;
					padding: 10px 0;
					font-size: 1.2rem;
				}
				span.kakaku {
					font-size: 1.8em;
					font-weight: bold;
					color: #cc0000;
				}
			}
		}
	}
}

/* 機材詳細ページ：サムネイルとカスタムフィールドの縦並び（スマホのみ） */
@media screen and (max-width: 1100px) {
	.main {
	max-width: 1100px;
	padding-left: 20px;
	padding-right: 20px;
	}
	.entry-header {
		margin: 0;
		width: 100%;
	}

}
@media screen and (max-width: 900px) {
	.entry-content {
		margin: 0 20px;
	}
	.single-kizai .site-main .entry-header{
		padding: 40px 50px;
	}
	.single-kizai .entry-content {
		flex-direction: column !important;
	}
	.single-kizai .entry-content-main {
		width: 100%;
		margin-top: 20px;
	}
}

@media screen and (max-width: 600px) {
	header.entry-header {
		width: 100%;
	}
}
/* animation */
.fadeInLeft1 {
	opacity:0;
    animation: fadeInLeft 1s ease 0s 1 normal forwards;
}
.fadeInLeft2 {
	opacity:0;
    animation: fadeInLeft 1s ease 0.5s 1 normal forwards;
}
.fadeInLeft3 {
	opacity:0;
    animation: fadeInLeft 1s ease 1s 1 normal forwards;
}
/* fadeInLeft */
@keyframes fadeInLeft {
	0% {
		opacity: 0;
		transform: translateX(-400px);
	}
	100% {
		opacity: 1;
		transform: none;
	}
}

/* Contact Form 7  機材レンタル申込みフォーム
		チェックボックスのスクロール対応 */
.scroll-cb span.wpcf7-list-item {
    display: block;
    margin-bottom: 5px;
}

.scroll-cb {
	display: inline-block;
    max-height: 100px;
    overflow-y: scroll;
    border: 1px solid #ccc;
    padding: 10px;
}

.wpcf7 {
	h2 {
		font-size: 1.6rem;
		font-weight: bold;
		margin-top: 0;
		margin-bottom: 20px;
		text-align: center;
		display: block;
	}
}
