/*!
Theme Name: katsumata-denki
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: katsumata-denki
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.

katsumata-denki 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/
*/

:root {
    --font-color1 : #43423E;
    --font-color2 : #3B4043;
    --font-color3 : #989898;
    --font-color4 : #F0F0F0;
    --font-color5 : #429BC1;
    --font-color6 : #DDB282;
    --font-red : #c0574c;
    --color11 : #FDFEFF;
    --color12 : #F0F0F0;
    --color13 : #D6D6D6;
    --color14 : #D6D6D6;
    --color15 : #43423E;
    --color21 : #2978A0;
    --color22 : #429BC1;
    --color23 : #739396;
    --color31 : #F2CA9D;
    --color32 : #DDB282;
	--color-white: #FDFEFF;

	--bs-body-font-size : 16px;
	--bs-nav-link-font-size : 16px;
	--bs-offcanvas-width: 100vw;
	--bs-offcanvas-height: 100vh;

	--font-size-min : 10px;
	--font-size-xs : 12px;
	--font-size-sm : 14px;
	--font-size-md : 18px;
	--font-size-lg : 20px;
	--font-size-xl : 22px;
	--font-size-xxl : 24px;
	--font-size-xxxl : 30px;

	--font-size-header-title : 35px;

	--header-offset: 72px;
}
@media screen and (min-width: 786px) {
	:root {
	--font-size-min : 11px;
	--font-size-xs : 14px;
	--font-size-sm : 16px;
	--font-size-md : 20px;
	--font-size-lg : 22px;
	--font-size-xl : 24px;
	--font-size-xxl : 28px;
	--font-size-xxxl : 39px;

	--font-size-header-title : 47px;
	
	--header-offset: 72px;
	}
}
/* color */
.bg-white { background-color: var(--color-white);}
.font-color1 { color:var(--font-color1); }
.font-color2 { color:var(--font-color2); }
.font-color3 { color:var(--font-color3); }
.font-color4 { color:var(--font-color4); }
.font-color5 { color:var(--font-color5); }
.font-color6 { color:var(--font-color6); }

.bg-color11 { background-color: var(--color11);}
.bg-color12 { background-color: var(--color12);}
.bg-color13 { background-color: var(--color13);}
.bg-color14 { background-color: var(--color14);}
.bg-color15 { background-color: var(--color15);}
.bg-color21 { background-color: var(--color21);}
.bg-color22 { background-color: var(--color22);}
.bg-color23 { background-color: var(--color23);}
.bg-color31 { background-color: var(--color31);}
.bg-color32 { background-color: var(--color32);}

.fcc{ display: flex; justify-content: center; align-items: center;}
.fsc{ display: flex; justify-content: start; align-items: center;}
.fec{ display: flex; justify-content: end; align-items: center;}
.fbc{ display: flex; justify-content: space-between; align-items: center;}
.fbs{ display: flex; justify-content: space-between; align-items: start;}
.fcs{ display: flex; justify-content: center; align-items: start;}
.fes{ display: flex; justify-content: end; align-items: start;}

.text-center { text-align: center;}
.text-left { text-align: left;}
.text-right { text-align: left;}

.border-0 { border-width: 0; }

.font-bold { font-weight: bold;}

.mincho {font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;}

.relative { position: relative;}

.text-min {font-size:var(--font-size-min);}
.text-xs {font-size: var(--font-size-xs);}
.text-sm {font-size: var(--font-size-sm);}
.text-md {font-size: var(--font-size-md);}
.text-lg {font-size: var(--font-size-lg);}
.text-xl {font-size: var(--font-size-xl);}
.text-xxl {font-size: var(--font-size-xxl);}
.text-xxxl {font-size: var(--font-size-xxxl);}

svg, .deco10,.deco20,.deco30 {user-select: none; }

.hidden { display: none !important;}

section,header,footer,main { display: flow-root; } /* margin相殺予防 */

body.fadeout::after {
	opacity: 1;
}
body::after {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color:#fff;  
	z-index: 999999999;
	pointer-events: none;  
	opacity: 0;  /* 初期値 : 透過状態 */
	-webkit-transition: opacity .8s ease;
	transition: opacity .8s ease;
}

/* * { outline: 1px solid rgba(0,0,0,.05); } */

/*--------------------------------------------------------------
>>> 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
--------------------------------------------------------------*/
/* スムーズなアニメーション */
* {-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;}
html { scroll-behavior: smooth;}

/* アンカー到達時にヘッダー下に隠れないよう余白を確保 */
[id] {
  scroll-margin-top: var(--header-offset);
}
/* 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%; scroll-behavior: smooth;}

/* 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: var(--font-color1);
	font-family:
	"游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", 
	'Noto Sans JP',
	"Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro",
	'Osaka', 
	sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}
@supports (-webkit-touch-callout: none) {
  body,button,input,select,optgroup,textarea{
    font-family: 
	'Noto Sans JP',
	'Osaka', sans-serif;
  }
}

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: #FDFEFF;
	color: var(--font-color1);
	
	background-image: url(/wp-content/themes/katsumata-denki/img/bg_lines_01.png);
    background-position: 0px top;
    background-size: 100%;
    background-repeat: repeat;
    background-attachment: scroll;

	word-break: break-word;
}

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

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

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: var(--font-color2); }

a:visited { color: var(--font-color2); }

a:hover,
a:focus,
a:active {
	color: var(--font-color2);
	outline: 0;
}
a:hover { opacity: 0.8;}

/* 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;
	width:100% !important;
	max-width:100%;
	box-sizing:border-box;
	appearance:none;
	-webkit-appearance:none;
	/* Safariの高さ計算ブレを抑える */
	line-height:1.2;
	padding:.5rem .75rem;
	min-height:2.75rem;
}

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;border-color: var(--color23);}

select {border: 1px solid #ccc;}

textarea {width: 100%;}

/*  */
.primaryBtnWrap {padding: 7px 12px; position: relative; width: max-content;}
.primaryBtnWrap:before,.primaryBtnWrap:after {content:"";position: absolute; left: 0; top: 0;width: 40px;height: 33px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='41.64' height='31.438' viewBox='0 0 41.64 31.438'%3E%3Cg transform='translate(0 13.313) rotate(-21)'%3E%3Crect width='37.149' height='2.908' fill='%23799295'/%3E%3Cpath d='M0,0H20.583V2.908H0Z' transform='translate(0.139 8.331)' fill='%23ddb282'/%3E%3Cpath d='M0,0H11.57V2.908H0Z' transform='translate(0.57 16.507)' fill='%23c4d6d8'/%3E%3C/g%3E%3C/svg%3E ") no-repeat;}
.primaryBtnWrap:after {left: auto; top: auto; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='41.64' height='31.438' viewBox='0 0 41.64 31.438'%3E%3Cg transform='translate(41.64 18.125) rotate(159)'%3E%3Crect width='37.149' height='2.908' fill='%23799295'/%3E%3Cpath d='M0,0H20.583V2.908H0Z' transform='translate(0.139 8.331)' fill='%23ddb282'/%3E%3Cpath d='M0,0H11.57V2.908H0Z' transform='translate(0.57 16.507)' fill='%23c4d6d8'/%3E%3C/g%3E%3C/svg%3E%0A") no-repeat;}
.primaryBtn{
    min-width: 14em;
}
.primaryBtn a:hover { opacity: 0.8; color: white !important; }
.primaryBtn a:after { content: " … 〉"; margin-left: 1em;}
.primaryBtn a:focus,.primaryBtn a:visited,.primaryBtn a:active { color: white !important;}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
#page{position: relative;}
#primary { padding: 44px 15px 0; min-height: 100vh; }
.frame_t { z-index: 1000000; height:3px; width: 100vw;position: sticky; top: 0; left: 0; 
	background: linear-gradient( 90deg, var(--color22) 50%,var(--color21) 50%,var(--color21) 100%);
	background-size: 100%,3px;
}
.frame_l,.frame_r,.frame_b{z-index: 100000; position: fixed; background: var(--color23);}
.frame_l { width: 5px; height: 100vh; top:0;left:0; }
.frame_r { width: 5px; height: 100vh; top:0;right:0; }
.frame_b { height: 5px; width: 100vw; bottom:0;left:0; }

.entry-content > section { padding: 0 20px; margin-bottom: 70px; position: relative;}

.sectionTitle h2 { margin: 0 0 -0.4em; font-size: var(--font-size-xxl); font-weight: bold; }
.sectionTitle h2:after { display:inline-block; vertical-align: middle; margin-left: 0.3em ; width: 1em; height: 1em; content: ""; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30.149' height='19.415' viewBox='0 0 30.149 19.415'%3E%3Crect width='30.149' height='2.908' fill='%23799295'/%3E%3Cpath d='M0,0H20.583V2.908H0Z' transform='translate(0.139 8.331)' fill='%23ddb282'/%3E%3Cpath d='M0,0H11.57V2.908H0Z' transform='translate(0.57 16.507)' fill='%23c4d6d8'/%3E%3C/svg%3E ") no-repeat;}
.sectionTitle p{ margin: 10px 0 0 0; font-size: var(--font-size-xxxl); color: var(--color12); font-weight: bold;}

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


/* Navigation
--------------------------------------------- */
#masthead{
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
	height: 66px;
}

.site-branding{ width: 50vw;}
.site-branding .custom-logo-link { margin:11px 0 0 30px; position: relative;}
.site-branding .custom-logo-link img{ width: 115px;max-width: none;}
.custom-logo-link:after {
	content: "";
	height: 1px;
	width: 30%;
	position: absolute;
	bottom: -3px; left: 0;
	background: linear-gradient(90deg,var(--color21) 50%, var(--color13) 50%);
}
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	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;
}
/*  */
.main-navigation ul .sub-menu {
	position: relative;
    float: none;
    box-shadow: none;
    left: auto;
    z-index: auto;
    top: auto;
}
/*  */
.spContactLink { position: absolute; top: 0;right: 76px;
	width: 63px; height: 66px; background-color: var(--color23);}
.spContactLink:visited,.spContactLink:active{color: var(--color11);}
.spContactLink svg { display: block; margin:13px auto -4px;}
.spContactLink span { display:block; var(--color11); margin-top:8px; font-size: 10px; transform: scale(90%); line-height: 1;}
.spContactLink>span:last-of-type { margin-top: -22px;}

/* Small menu. */
/* ハンバーガーメニューボタン */
.menu-toggle {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 100010;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}
.main-navigation.toggled .menu-toggle {
	/* position: fixed;
	top: 30px;
    z-index: 100000; */
}
body.menu-toggled {
	overflow: hidden !important;
}
body.menu-toggled .header-cover,body.menu-toggled #primary { opacity: 0.6;}
/* ハンバーガーアイコン */
.menu-toggle::before,
.menu-toggle::after,
.menu-toggle span {
    content: '';
	position: relative;
    display: block;
    width: 20px;
    height: 3px;
    background: var(--color23);
    margin: 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle::before { top:-4px}
.menu-toggle::after { top: 4px; width: 12px; margin-left: -8px;}

/* メニューが開いている時のハンバーガーアイコン */
.toggled .menu-toggle::before {
    transform: rotate(45deg) translate(6px, 6px);
}

.toggled .menu-toggle span {
    opacity: 0;
}

.toggled .menu-toggle::after {
	width: 20px; margin-left: 0;
    transform: rotate(-45deg) translate(4px, -4px);
}


.offcanvas.hiding, .offcanvas.show, .offcanvas.showing {
    visibility: visible;
}
.offcanvas.show:not(.hiding), .offcanvas.showing {
    transform: none;
}
#menuWrap {
	position: fixed;
    top: 0; left: 100vw;
	width: 0; 
	overflow: hidden;
	height: 100vh;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    /* visibility: hidden; */
    background-clip: padding-box;
    outline: 0;
    transition: transform 0.3s ease-in-out;
	background: 
		url(/wp-content/themes/katsumata-denki/img/bg_lines_sp_menu_01.png) no-repeat 70px -160px / 100vw,
		url(/wp-content/themes/katsumata-denki/img/bg_lines_sp_menu_02.png) no-repeat right 0px bottom -40px / 100vw,
		var(--color-white);
}
.main-navigation.toggled #menuWrap {
    top: 0; width: 85vw;
    transform: translateX(-85vw);
	visibility: visible;
	overflow: scroll;
	box-shadow: -10px 0 20px #aaa;
}
#menuWrap>svg { position: absolute; top:-12px; left: 0px;}
#menuWrap>svg:nth-of-type(2) { top: 200px; left: auto; right: 0px; }

.spNaviCompanyName{ margin:50px 0 30px 0; position: relative;}
.spNaviCompanyName img{ margin: 0 0 0 25px; }
.spNaviCompanyName hr{ position: absolute; left: 0; bottom:-12px; margin: 0; width: 150px;}

/*  */
#primary-menu{width: 230px; margin: 20px auto 0 20%;}
#primary-menu li { font-size: var(--font-size-sm); font-weight: bold;position: relative;top: -5px;padding: 5px;margin-bottom: 5px;}
#primary-menu > li { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21.855' height='18.183' viewBox='0 0 21.855 18.183'%3E%3Cg transform='matrix(0.966, -0.259, 0.259, 0.966, 0, 4.902)'%3E%3Crect width='18.942' height='2.774' fill='%23799295'/%3E%3Cpath d='M0,0H10.495V2.774H0Z' transform='translate(0.139 5.085)' fill='%23ddb282'/%3E%3Cpath d='M0,0H5.9V2.774H0Z' transform='translate(0.57 10.976)' fill='%23c4d6d8'/%3E%3C/g%3E%3C/svg%3E%0A") no-repeat 0em 0.4em / 1.2em;
	padding-left: 1.3em;
}
#primary-menu a { color: var(--font-color1);position: relative;top: -5px;}

#primary-menu .sub-menu { margin-top:10px;display: flex; justify-content: start; align-items: center; flex-wrap: wrap;}
#primary-menu .sub-menu li { width: max-content; display: flex; justify-content: start; align-items: center; margin:0;}
#primary-menu .sub-menu li a { width: max-content; top: auto;}
#primary-menu .sub-menu li::before { content: "-"; color: var(--color21); margin-right:3px;} 

/*  */
.spNaviContact{ 
	/* position: absolute;bottom: 65px;left: 0; */
	width: 100%; }
.spNaviContact>svg{ position: relative; left: 50%;}
.spNaviContactItem{width: 240px; margin: 0 auto; padding: 18px 0; text-align: center; font-weight: bold;}
.spNaviContactItem:first-of-type { border-bottom:1px solid #ddd}
.spNaviContactItem > div { width: 180px;}
.spNaviContactItem svg {}
.spNaviContactItem a { color: var(--color22); margin-bottom: -2px; width: 100%;}
.spnc_tel a { font-size: 25px; }
.spnc_contact a { background: #F0F0F0; padding: 10px 10px; font-size: 12px; }
.spnc_tel .caption { font-size: 11px; color: var(--font-color3 );}
.spNaviContactItem a span { display: block;}
.spNaviContactItem a span:last-of-type { font-size: 11px; color: var(--font-color3 );}

.spnFootBar { font-size: 10px; color: #ccc;
	/* position: absolute;bottom: 0;left: 0; */
	width: 100%;padding: 10px 0 10px;}
.spnFootBar a { margin-bottom: 15px;}

/* decoration */
.headdeco{ overflow: hidden; position: absolute; top:0; left: 0; width: 100vw; height: 74px; z-index: -1;}
.deco10.l { position: absolute; top: 7px; left: -30px; }
.deco10.r{position: absolute; bottom: 0px; right: -30px; transform: rotate(180deg);}
.deco20 {display: none;}

/*  */
.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%;
}

/*  */
.c-breadcrumb{padding:0 1.8em 0 1.8em; font-size: var(--font-size-xs);
	text-overflow: ellipsis;overflow: hidden;white-space: nowrap;}
.c-breadcrumb .is-current {
    max-width: 7em;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
    line-height: 0.8;
}
/*  */
.grecaptcha-badge { visibility: hidden; }

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

.post,
.page {
	margin: 0;
}

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


/* ************* */
.header-cover{
	margin: 76px auto 50px;
	padding: 30px 0px;
	min-height: 0;
	position: relative;
}
.header-cover>svg.sp { display: block; position: absolute; left: 77px; bottom: 80px ;}

.page-desc, .page-desc-sub { margin-left: 20px;}
.title-en { margin:0 0 0 20px; font-size: var(--font-size-header-title); font-weight: bold; color: var(--color12);}
.page-desc {
	width: 11em;
    font-size: 28px;
	margin-bottom: 0;
}
.home .page-desc::first-letter{ margin-left: -0.5em;}
.page-desc-sub {
	position: relative;
	font-size: 14px;
	font-weight: bold;
	width: 78.4%;
	line-height: 24px;
}
.home .page-desc-sub { width: 19em; }
.page .page-desc-sub { color: var(--font-color2); text-shadow: 1px 1px 0 white; }
.page-desc-sub svg{ display: block; position: absolute; bottom:-5px; right: -25px; }
.coverPhotos{ overflow: hidden;}
.page .coverPhotos { 
    height: 373px; width: 100%;
	background-repeat: no-repeat;
    background-position: calc(100vw - 310px) 0px;
    background-size: 343px;
}
.coverPhotos > i{ 
	display: block;
	width: 104px; height: 269px;
	border-radius: 60px;
	background: #eee;
	
}

.pageDownIcon { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);}


/* footer contact */
#fContactArea{}
#fContactArea h2 { margin-top: 50px; text-align: center; font-size: var(--font-size-xxl);}
#fContactArea h2 i{ display: block; font-style: normal; font-size: var(--font-size-xxxl ); text-align: center; color: var(--font-color4);}
.fcontact {flex-wrap: wrap; position: relative;}
.fcontact .deco30 { display: none;}
.fcontact>svg { position: absolute; left: 12px; top: -8px}
.fcontact>svg:last-of-type { position: absolute; left: auto; top: auto; right: 12px; bottom: -8px;}
.fcontact_item {text-align: center; width:90%; max-width: 427px; padding: 10px 10px; height: 99px;}
.fcontact_item div {margin-left: 10px; width: 190px;}
.fcontact_item div p {color: white; opacity: 0.4;margin: 0; font-size: 11px;}

.fc_tel { background: var(--color22);}
.fc_tel svg{}
.fc_tel > div{ }
.fc_tel div a{ text-decoration: none; color: var(--color-white); font-size: 25px; font-weight: bold; }
.fc_tel div p{ }
.fc_mail {background: var(--color21 );}
.fc_mail svg{}
.fc_mail > div{}
.fc_mail div a{ display: block; padding: 5px 10px; margin: 0 8px 5px; text-decoration: none; background-color: var(--color-white); font-size: 14px; font-weight: bold; color:var(--color21);}
.fc_mail div p{;}

#fSecurityAction {
	margin-top: 50px;
	margin-bottom: 50px;
	max-width: 500px;
	padding: 20px 35px;
}
#fSecurityAction img{ width: 30%; max-width: 99px;}
#fSecurityAction p{ margin: 0; width: 66%; padding: 0 0 0 10px;
    font-size: 12px; word-break: break-word; color: var(--font-color3); font-weight: bold;}
#fSecurityAction a { color: var(--font-color3); }
	
/* footer */

#fMenuWrap{ background: var(--color-white); padding: 30px; border-top: 3px solid var(--color14); position: relative;}
.fMenu{ margin: 1.5em auto 1.5em;}
.fMenu h5{ padding-left: 30px; margin: 5px 0 0; width: 38%; color: var(--color13); font-size: 12px;}
.fMenu ul{ margin: 0; width: 62%; padding: 0; display: inline-flex; flex-wrap: wrap; list-style: none;}
.fMenu ul li{ margin: 0;}
.fMenu ul li a{ margin: 0; text-decoration: none; color: var(--color23);font-size: 12px;}
.fMenu ul li span{ margin: 0;font-size: 12px;}

#fInfo {
	background: #E9EEEF;
	padding: 30px 20px;
	position: relative;
}
#fInfo h2 { font-size: 20px;}
#fInfo .fLogo {width: 39px; margin: 8px auto 0px;}
#fInfo h3 {font-size: 15px;
    color: var(--font-color1);
    margin: 10px auto 16px;
}
#fInfo .fAddress { font-size: 12px; color: var(--font-color3); 
	line-height: 2.1;
    border-top: 1px solid var(--color13);
    margin: 0 10px 10px;
    padding: 10px;}
footer .deco20 { display: block; position: absolute; left: 0; top: -10px; overflow: hidden; z-index: 10; }
footer .deco20.r { left: auto; top: auto; right: 0; bottom: -15px;}
footer .deco20 img {position: relative; left: -20px;}
footer .deco20.r img { left: auto; right: -20px;}

footer .copyright {color:var(--color13); background: #3B4043; padding: 15px 0; font-size: 10px;}
footer .copyright > div {transform: scale(0.8);}

#pageTopBtn { position: fixed; right: 30px; bottom: 30px;  }



/* faq */
#faqWrap {
	margin-bottom: 80px;
}
.faqItem { background: #ffffffb4; border:1px solid var(--color12); }
.faqItem h2 {font-size: var(--font-size-sm); position: relative; padding: 0 1.5em 0 2em;}
.faqItem h2::before { content: "Q."; position: absolute;left: 0.9em; font-size: 13px; font-weight: bold; color:var(--color22); }
/* .faqItem h2::after { content: "〉"; display: inline-block; position: absolute;top: 0.4em;right: 0.8em; transform: rotate(90deg); font-weight: bold; color:var(--color23); } */
.faqItem > div > p { margin: 0 0 0; padding: 0em 1.2em 1.2em; font-size: 10px; position: relative;}
.faqItem > div > p::before{content: "A.";font-size: var(--font-size-sm); display: block; color: var(--font-color6); font-weight: bold;}

/* responsive ****************/

@media screen and (min-width: 576px) {
	.page .coverPhotos { 
        background-position: 89% 0;
        background-size: 60%;
    }
	.main-navigation.toggled #menuWrap {
		width: 50vw;
		transform: translateX(-50vw);
	}
	.page-desc-sub {
		background: #ffffff;
        /* box-shadow: 1px 2px 4px #fff; */
		border-radius: 11px;
	}
}
@media screen and (max-width: 767px) {
    /* .page .coverPhotos {height: 365px; background-size: 343px 365px;} */
}
@media screen and (min-width: 787px) {
	#primary { max-width: 996px; margin: 0 auto 0; padding: 0 30px;}
	#masthead { position: relative;padding:53px 0 0 20px;}
	.pageDownIcon { bottom:-40px;}
	
	
	.headdeco { height: 130px;}
	.deco20 {display: block; position: absolute;}
	.deco20.l { top: 5px; left: -46px; }
	.deco20.r{bottom: 0px; right: -40px;}
	.deco10 {display: none;}

	/*  */
	.site-branding{ width: 210px;}
	.site-branding .custom-logo-link{ margin: 0 0 0 40px; }
	.site-branding .custom-logo-link img {width: 151px;}
	#site-navigation { }
    
	/* ***** cover **** */
	.header-cover { max-width: 1280px; min-height: 530px; margin-bottom: 90px;}
	
	.header-cover>svg.sp { display: none; }
	.header-cover>svg.pc { display: block; position: absolute; left: 150px; top: 580px;}
	.title-en { margin:0 0 0 29px;}
	.page-desc, .page-desc-sub { margin-left: 30px; position: relative;z-index: 1;}
	.page-desc { width: 17.1em;font-size: 36px; }
	.page-desc-sub {
		font-size: 16px;
		width: 30em;
		line-height: 2;
	}
	.coverPhotos {position: absolute; right: 0; top: 100px; align-items: start;}
	.page .coverPhotos { 
        top: 100px;
        height: 594px; width: 100%;
        background-repeat: no-repeat;
        background-position:  95% 0px;
        background-size: 51%;
        ;
    }
	.coverPhotos > i{ 
		display: block;
		width: 191px; height: 488px;
		border-radius: 100px;
		background: #eee;
		
	}

	.c-breadcrumb { padding:  0 32px 0 32px;}

	/****** fcontact ******/
	#fContactArea { width: 100%;}
	.fcontact>svg { display: none;}
	.fcontact .deco30 { display: block; position: absolute; left: -12px; top: -24px}
	.fcontact .deco30.r { position: absolute; left: auto; top: auto; right: -12px; bottom: -24px; transform: rotate(180deg);}
	.fcontact:after { content: ""; position: absolute; left: 50%; bottom:-80px; transform: translateX(-50%); width: 113px; margin: 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--color21) 50%,var(--color22) 50%); }
	.fc_tel svg { width: 46px; }
	.fc_mail svg { width: 52px; height: 43px; }
	.fcontact_item div { width: 210px;}
	.fc_mail div a { font-size: 12px;}
	.fcontact_item div p { font-size: 16px;}
	#fSecurityAction{ margin: 150px auto 50px; width: 100%; max-width: none;}
	#fSecurityAction p{width: 300px;font-size: 14px;}
	/* footer */
	#colophon { display: flex; justify-content: center; align-items: stretch; flex-wrap: wrap;}
	#fMenuWrap { width: 50%; border-top: none; background: #E9EEEF; position: relative;}
	.fMenu{ width:280px; position: absolute; }
	.fMenu ul { display: block; }
	.fMenu ul li {}
	.fMenu ul li span { display: none;}
	#fMenuWrap .fMenu:nth-of-type(1) { top: 80px;             right: 300px; }
	#fMenuWrap .fMenu:nth-of-type(4) { top: calc(9em + 80px); right: 300px;}
	#fMenuWrap .fMenu:nth-of-type(6) { top: calc(12em + 80px); right: 300px; }
	#fMenuWrap .fMenu:nth-of-type(2) { top: 80px;             right: 50px; }
	#fMenuWrap .fMenu:nth-of-type(3) { top: calc(2em + 80px); right: 50px; }
	#fMenuWrap .fMenu:nth-of-type(5) { top: calc(4em + 80px); right: 50px;}
	#fMenuWrap .fMenu:nth-of-type(7) {top: calc(12em + 80px); right: 50px; }
	#fMenuWrap::after { content: ""; width: 1px; background: #ccc; height: 80%; position: absolute; top: 10%; right: 0;}

	#fInfo { width: 50%; padding: 80px 0 50px; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative;}
	#fInfoInner { max-width: 512px; 
		margin-left: 70px;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
	}
	#fInfo h2 { font-size: 24px;}
	#fInfo .fAddress { color: var(--font-color2); margin: 0;}
	#fInfo .fAddress br:nth-of-type(2) { display: none;}
	footer .deco20 { top:-26px !important; left: 0; }
	footer .deco20 img {display: none;}
	footer .deco20 svg {display: block; position: relative;}
	footer .deco20.r { top: auto !important; left: auto !important; bottom: -25px !important; right: 0 !important; }
	footer .deco20.r svg { right: -45px;}
	footer .copyright { width: 100%; padding: 15px 0;}

	/* faq */
	.faqItem h2::after{right: 2em;}
	.faqItem > div > p { font-size: var(--font-size-xs); padding-left: 2em;}
	.faqItem > div > p::before{display: inline-block; margin-left: -1em;}

}

@media screen and (min-width: 1024px) {
	
	.header-cover {  min-height: 600px;}
	.page .coverPhotos {background-size: 45%; }
    /* PC用ドロップダウンメニュー */
	.menu-toggle {display: none;}
    .main-navigation ul ul {
        background-color: #fff;
        border: 1px solid #e1e1e1;
        border-radius: 4px;
        min-width: 200px;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
    }
    
    .main-navigation ul ul li {
        margin: 0;
        width: 100%;
    }
    
    .main-navigation ul ul a {
        padding: 0.75rem 1rem;
        margin: 0;
        border-radius: 0;
        width: 100%;
        box-sizing: border-box;
    }
	
	/*  */
	#menuWrap > svg { display: none;}
	#menuWrap{
		display: block;
		position: static;
        display: block;
        width: auto !important;
        transform: none !important;
        overflow: visible;
        height: auto;
        background: none !important;
	}
	/*  */
	#primary-menu { display: flex; justify-content: end; align-items: center; position: relative;
		width: auto; transform: none; height: auto; margin: auto; font-weight: bold; }
	#primary-menu li{list-style-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18.942' height='13.749' viewBox='0 0 18.942 13.749'%3E%3Crect width='18.942' height='2.774' fill='%23799295'/%3E%3Cpath d='M0,0H10.495V2.774H0Z' transform='translate(0.139 5.085)' fill='%23ddb282'/%3E%3Cpath d='M0,0H5.9V2.774H0Z' transform='translate(0.57 10.976)' fill='%23c4d6d8'/%3E%3C/svg%3E "); }
	#primary-menu > li { background: none; }
	#primary-menu > .menu-item a{ top:-4px ; font-size: 13.4px;}
	#primary-menu .menu-item .sub-menu:hover { visibility: visible; z-index: 10;}
	#primary-menu .menu-item:hover .sub-menu { display: block; visibility: visible; 
		margin: -2.3em 0 0 7.4em; z-index: 2; padding: 1em 1em 0.5em;
        filter: drop-shadow(2px 4px 6px #ccc);}
	#primary-menu .menu-item { padding: 10px 1em 0 0;margin-right: 2.1em; }
	#primary-menu > .menu-item:last-of-type { list-style: none; margin-left: -1.8em;}
	#primary-menu > .menu-item:last-of-type > a { background: var(--color15); color: white; padding: 10px 20px; font-size: 13px;}
	#primary-menu .sub-menu { position: absolute; display: none; transform: none; visibility: hidden;width: 17em;}
	#primary-menu .sub-menu:before {
		content: ""; position: absolute;
		width: 14px; height: 14px;
		left: -8px; top: 14px;
		background: var(--color14); transform: rotate(45deg); z-index: -1;
	}
	#primary-menu .sub-menu:after {
		content: ""; position: absolute;
		width: 15px; height: 15px;
		left: -5px; top: 13.5px;
		background: #fff; transform: rotate(45deg);
	}
	#primary-menu .sub-menu li::before{content: "ー";}
	#primary-menu .sub-menu li {width: 100%; padding: 0px 10px; list-style-image: inherit;}
	#primary-menu .sub-menu li a { width: 100%; padding: 5px 5px;}
	/*  */
	.spNaviCompanyName,.spNaviContact,#menuWrap > svg,.spnFootBar , .spContactLink{ display: none !important;}
    
}

@media screen and (min-width: 1280px) {
	#primary-menu > .menu-item a {
        font-size: 16px;
    }
	#primary-menu .menu-item:hover .sub-menu { display: block; visibility: visible; margin: -2.3em 0 0 8.8em; z-index: 2;}

	.header-cover {
        min-height:630px;
    }
    .page .coverPhotos { 
        background-position: 94% 0;
    }
}
