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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

html {
	box-sizing: border-box;
}

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

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

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

p {
	margin-bottom: 1.5em;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

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

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

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

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

big {
	font-size: 125%;
}

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

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

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

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

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;
	font-size:15px;
	color: black;
}

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

/*--------------------------------------
	
	カスタマイズ
	
--------------------------------------*/

/*----------------------------------------
	一般レイアウト
----------------------------------------*/
html {
	padding-top: 0px !important;	
}

body, button, input, select, optgroup, textarea {
	font-family: 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', '游ゴシック', 'Yu Gothic', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	/*font-family: 'Hiragino Kaku Gothic Pro',Meiryo,'MS PGothic',arial,sans-serif;*/
	color: #323232;
		font-size: 16px;
	line-height: 1.85;
}

a {
	transition: 0.3s;
	margin: 0;
	padding: 0;
	text-decoration: none;
	color: #323232;
}

a:visited {
	color: #323232;
}

a:hover {
	opacity: 0.5;
}

ul, ol {
    margin: 0;
    list-style-type: none;
    padding: 0;
}

.center {
	text-align: center;
}

.bold {
	font-weight: bold;
}

.site-main{
	/*max-width: 1090px;*/
	width: 100%;
	margin: 0 auto;
	
}

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

.wrapper{
	/*max-width: 990px;*/
	width: 100%;
	margin: 0 auto;
	padding: 2.5rem 0 3rem 0;
}

.small {
	font-size: 0.8rem;
}

.f24 {
	font-size: 1.65rem;
	line-height: 1.65rem;
}

.sub-color{
	color: #FF5700;
}

.flex {
	display: flex;
}

.page {
    margin: 0;
}

h1, h2, h3, h4, h5 {
	font-weight: normal;
}
/*img {display:block;vertical-align:middle;max-width:100%}*/
div{
	/*text-align:center;*/
}
img{
	vertical-align:top;
}
dt {
	font-weight: normal;
}
dd {
	margin: 0 0 1.5em;
}

.mb4 {
	margin-bottom: 4rem !important;
}
.mb3 {
	margin-bottom: 3rem !important;
}
.mb2 {
	margin-bottom: 2rem !important;
}

.noSP {
	display: block;
}
.noPC {
		display: none;
	}

@media screen and (max-width: 1025px) {
	.other section  {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

@media screen and (max-width: 990px) {
	/*.site-main{
		width: 94%;
		margin: 0 auto;
	}
	.wrapper{
		width: 100%;
		margin: 0 auto;
	}*/
}

@media screen and (max-width: 750px) {
	/*.site-main{
		width: 100%;
		margin: 0 auto;
	}*/
	.noSP {
		display: none;
	}
	.noPC {
		display: block;
	}
}

@media screen and (max-width: 500px) {
	.wrapper{
		padding: 1.5rem 0 2rem 0;
	}
}


/*----------------------------------------
	ヘッダ
----------------------------------------*/
.site-header {
	max-width: 1000px;
	width: 100%;
	margin: 0 auto;
	padding-top: 1rem;
}

.site-branding {
	display: flex;
	justify-content:space-between;
	align-items: flex-end;
	padding: 2rem 0 1.5rem 0;
}

.site-branding p {
	margin: 0;
}

.site-branding div:first-child a img {
	max-width: 267px;
	width: 100%;
	/*padding: 2rem 0 1.3rem 0;*/
}

.site-branding div:last-child a img {
	max-width: 303px;
	width: 100%;
	padding-top: 0.8rem;
}

.site-branding .shop-button span{
	border-top: 1px solid #323232;
	border-bottom: 1px solid #323232;
	padding: 5px 5px;
	font-size: 15px;
	margin-right: 10px;
}

.site-branding .shop-b-wrapper{
	position: relative;
	display: inline-block;
}

.site-branding .shop-b:before {
	content: url(/wp/wp-content/uploads/2023/10/icon_shop.png);	
	display: inline-block;
	position: absolute;
	top: 7px;
	left: 12px;
}

.site-branding .shop-b {
	color: white;
	background: #ff0000;
	line-height: 44px;
	width: 205px;
	height: 44px;
	border-radius: 22px;
	padding-left: 46px;
	
}

@media screen and (max-width: 1025px) {
	.site-branding {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

@media screen and (max-width: 800px) {
	.site-branding div:first-child a img {
		width: 80%;
	}

	.site-branding {
		display: block;
		padding-top: 0.5rem;
	}
	.site-branding div.shop-button{
		text-align: center;
	}
	.site-branding div:first-child{
	}
	.site-branding div:last-child{
		/*border-bottom: 1px solid #004ea2;*/
		padding-top: 0.5rem;
		padding-bottom: 0.35rem;
	}
	.home .site-branding div:last-child{
		border-bottom: 0;
	}
	.site-branding div:first-child a img {
		width: 80%;
	}
	.site-branding .shop-b {
		line-height: 29px;
	}
	.site-branding .shop-b:before {
		top: 16px;
	}
}

@media screen and (max-width: 500px) {
	.site-branding {
		padding-top: 0;
		padding-bottom: 1.5rem;
	}
	.site-description {
		font-size: 0.75rem;
	}
	.site-branding div:last-child a img {
		width: 60%;
	}
	.site-branding div:first-child a img {
		padding: 0;
		width: 60%;
	}
	.site-branding div:first-child{
		padding-bottom: 0.35rem;
	}
	.site-branding .shop-button {
		margin-top: 1rem;
	}
	.site-branding .shop-button span{
		margin-right: 0;
	}
}




/*----------------------------------------
	フッタ
----------------------------------------*/
footer {
	background: #323232;
	/*margin-top: 3rem;*/
}

footer .site-info {
	width: 100%;
	max-width: 990px;
	margin: 0 auto;
	justify-content: space-between;
	font-weight: bold;
	font-size: 1rem;
	padding: 3rem 0 2rem 0;
}

footer img.foot-logo {
	max-width: 267px;
	width: 100%;
	margin-bottom: 2.75rem;
}

footer a {
	text-decoration: none;
	color: black;
}

footer p {
	margin: 0;
	line-height: 1.2;
}

footer .child {
 	width: 48%;
}

footer .g-map-wrap {
 	position: relative;
}

footer .g-map {
    height: 0;
    padding-top: 65%;
}

footer .g-map iframe {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

footer .child:first-child {
 	font-size: 1.15rem;
}

footer .child:first-child a {
 	color: #fff;
 	font-size: 2.8rem;
}

footer .address {
	color: white;
}

footer .child:first-child span:last-child {
 	font-size: 1.2rem;
 	padding-top: 0.8rem;
 	margin-bottom: 1rem;
}

 footer span {
	 display: block;
 }

footer .copy {
	text-align: center;
	line-height: 2.5rem;
	color: white;
}

footer .banner .flex {
	width: 100%;
	max-width: 990px;
	margin: 0 auto;
	justify-content: space-between;
	margin: 1rem auto 2rem auto;
}

footer .banner .flex li img {
	width: 100%;
	height: auto;
}


@media screen and (max-width: 1000px) {
	footer .site-info {
		padding: 2.4rem 1.4rem 1rem;
	}
	footer .child:first-child a {
	 	font-size: 5.2vw;
	}
	footer .banner .flex {
		padding: 0 1rem;
	}
	footer .banner .flex li {
		width: 24%;
	}
}

@media screen and (max-width: 950px) {
	footer .child:first-child {
	 	font-size: 1.8vw;
	}
	footer .child:first-child span:last-child {
	 	font-size: 2vw;
	 	/*text-align: right;*/
	}
}

@media screen and (max-width: 800px) {
	footer .child a.phone:before {
		width: 48px;
		height: 35px;
	}
}

@media screen and (max-width: 770px) {
	footer .child:first-child a {
	 	font-size: 5vw;
	}
	footer .child:first-child span:first-child {
	 	margin-bottom: 0.65rem;
	}
	footer .child a.phone:before {
		width: 45px;
		height: 33px;
	}
}

@media screen and (max-width: 700px) {
	footer .flex {
		display: block;
	}
	footer .child a.phone:before {
		width: 52px;
		height: 38px;
	}
	footer .child {
	 	width: 100%;
	 	text-align: center;
	}
	footer .child.g-map-wrap {
	 	width: 70%;
	 	margin: 0 auto;
	}
	
	footer .child:first-child,
	footer .child:first-child span:last-child {
	 	font-size: 1.15rem;
	}
	
	footer .child:first-child a {
	 	font-size: 3.2rem;
	}
	footer .site-info {
		padding: 2.4rem 1rem 1.5rem;
	}
	footer img.foot-logo {
	    width: 60%;
	    margin-bottom: 1.5rem;
	}
	footer .banner .flex {
		display: flex;
		/*justify-content: flex-start;*/
		flex-wrap: wrap;
		width: 80%;
	}
	footer .banner .flex li {
		width: 48%;
		margin-bottom: 0.8rem;
	}
}

@media screen and (max-width: 550px) {
	footer .child.g-map-wrap {
	 	width: 100%;
	}
}

@media screen and (max-width: 500px) {
	footer .child a.phone:before {
		width: 45px;
		height: 33px;
	}
	footer .child:first-child,
	footer .child:first-child span:last-child {
	 	font-size: 0.85rem;
	}	
	footer .child:first-child a {
	 	font-size: 2.2rem;
	}
	footer .banner .flex {
		width: 100%;
	}
}

@media screen and (max-width: 400px) {
	footer .child:first-child,
	footer .child:first-child span:last-child {
	 	font-size: 0.8rem;
	}	
	footer .child:first-child a {
	 	font-size: 2.2rem;
	}
	footer .banner .flex {
		display: block;
		width: 80%;
	}
	footer .banner .flex li {
		width: 100%;
		max-width: 280px;
		margin-bottom: 0.8rem;
	}
}

@media screen and (max-width: 360px) {
	footer .child:first-child,
	footer .child:first-child span:last-child {
	 	font-size: 0.75rem;
	}	
}


/*----------------------------------------
	ナビPC
----------------------------------------*/
.home nav {
	margin-bottom: 7rem;
}

nav {
	margin-bottom: 0.5rem;
}

nav ul {
	/*width: 93%;*/
	display: flex;
	justify-content:space-between;
	margin: 0 auto !important;
}

nav ul a,
nav ul a:visited {
	font-size: 1.1rem;
	font-weight: bold;
}

nav ul li {
	text-align: center;
	padding-top: 0.27rem;
}

nav ul li.current_page_item,
nav ul li.current-page-ancestor {
	border-bottom:5px solid #FF5700;
}

nav ul li.current_page_item a,
nav ul li.current-page-ancestor a {
	color: #000;
}

.main-navigation ul ul {
	float: none;
	display: block;
	background: white;
	opacity: 0.85;
}

.main-navigation ul ul li {
	text-align: left;
	margin-left: 1rem;
	background: white;
	padding-bottom: 0.27rem;
	
}

.main-navigation ul ul li a,
.main-navigation ul ul li a:visited {
	font-weight: normal;
}


/*----------------------------------------
	ナビ　スマホ
----------------------------------------*/
@media screen and (max-width: 1025px) {
	nav.main-navigation {
		display: none;
	}
	#mg-wprm-wrap ul li {
    border-top: 0 !important;
    }
    #mg-wprm-wrap ul.sub-menu li.menu-item:last-child {
    border-bottom: 0 !important;
}

	/*#mg-wprm-wrap ul#wprmenu_menu_ul li.menu-item {
		border-bottom: 1px solid white;
	}*/
}

/*----------------------------------------
	トップページ
----------------------------------------*/
.home .entry-header {
	display: none;
}

.home section,
.home section {
	margin: 0 auto;
	margin-bottom: 2rem;
	width: 100%;
	max-width: 1000px;	
}

@media screen and (max-width: 1025px) {
	.home section {
		padding: 0 1.5rem;
	}
}

@media screen and (max-width: 500px) {
	.home section {
		padding: 0 1rem;
	}
}

.home h2 {
	font-weight: bold;
	font-size: 3.8rem;
	font-size: clamp(2.3rem, 5.5vw, 3.8rem);
	line-height: 1.5;
	margin: 0;
	padding: 0;
}

.home .intro h2 {
	margin-bottom: 1rem;
}

.home .intro h2,
.home .real-estate h2 {
	letter-spacing: 0.35rem;
}

.home .wrapper:nth-of-type(3),
.home .wrapper:nth-of-type(5) {
	background: #323232;
	color: white;
}


/*---トップページメインスライドショー---*/
.home .main-slider {
	position: relative;
	background: #666666;
	padding: 0;
}

.home .main-slider .image-anim {
	width: 100%;
	max-width: 1290px;
	height: auto;
	max-height: 651px;
	aspect-ratio: 1290 / 651;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
}

.home .main-slider .image-anim img {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	animation-name: sample-animation;
    animation-duration: 10s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}
@keyframes sample-animation {
    0%{
        bottom: 0%;
    }
    100%{
        bottom: -115%;
    }
}

.home .main-slider .slider-copy {
  position: absolute;
  top: -16%;
  right: 0;
  left: 0;
  margin: auto;
text-align: center;
	font-size: 120px;
	font-size: clamp(40px, 10vw, 120px);
	font-weight: bold;
	color: black;
}

@media screen and (max-width: 1025px) {
	.home .main-slider {
		margin-top: 5rem;
	}
}
@media screen and (max-width: 800px) {
	.home .main-slider {
		margin-top: 2rem;
	}
}
@media screen and (max-width: 500px) {
	.home .main-slider {
		margin-top: 0;
	}
	.home .main-slider .slider-copy {
		top: 0;
		color: white;
	}
	.home .main-slider .image-anim {
		width: 100%;
		max-width: 500px;
		height: auto;
		max-height: 667px;
		aspect-ratio: 500 / 667;
		margin: 0 auto;
		overflow: hidden;
		position: relative;
	}
	.home .main-slider .image-anim img {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		animation:none;
	}
}

/*---トップページ各セクション---*/
.home .wrapper .flex:not(.intro.flex):not(dl.flex){
	margin-bottom: 2.8rem;
}

.home .wrapper .renov.flex>div,
.home .wrapper .new.flex>div,
.home .wrapper .real-estate.flex>div{
	width: 50%;
}

.home .wrapper .renov.flex>div:first-child,
.home .wrapper .new.flex>div:first-child,
.home .wrapper .real-estate.flex>div:first-child{
	padding-right: 2rem;
	box-sizing: border-box;
}

.home .wrapper .flex h3{
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1.3;
	margin-bottom: 0.8rem;
}

.home .wrapper .flex div.index-button {
	width: 90% !important;
	max-width: 400px;
	margin-left: 1rem;
	margin-top: 0.8rem;
	position: relative;
}

.home .wrapper p {
	margin-top: 0;
	margin-bottom: 0;
}

.index-button a {
	color: white;
	font-size: 1.55rem;
	font-weight: bold;
	border: 1px solid white;
	display: block;
	padding: 0.25rem 1rem  0.25rem 1.8rem;
	width: 100%;
}

.index-button a:after {
	content: '';
	background-image: url(/wp/wp-content/uploads/2023/10/button_arrow_w.png);
	display: inline-block;
	width: 34px;
	height: 37px;
	background-size: contain;
	position: absolute;
	right: 1rem;
	top: 0.6rem;
}


.index-button.black a {
	color: #323232;
	border: 1px solid #323232;
}

.index-button.black a:after {
	content: '';
	background-image: url(/wp/wp-content/uploads/2023/10/button_arrow_b.png);
}

@media screen and (max-width: 750px) {
	.home .wrapper .flex{
		display: block;
	}
	.home .wrapper .renov.flex>div:first-child,
	.home .wrapper .new.flex>div:first-child,
	.home .wrapper .real-estate.flex>div:first-child{
		padding-right: 0;
		box-sizing: border-box;
	}
}

/*---トップページ各セクションスライド---*/
.home .slider-pro {
	margin: 0 auto !important;
	/*width: 100% !important;
	max-width: 1290px !important;*/
}

/*---トップページイントロ---*/
.home .wrapper .intro.flex{
	margin-bottom: 0;
	align-items: flex-end;
}
.home .wrapper .intro.flex>div:first-child{
	width: 70%;
	margin-bottom: 4rem;
}
.home .wrapper .intro.flex>div:last-child{
	width: 30%;
	text-align: right;
}

.home .wrapper.index-intro {
	padding-bottom: 0;
}

@media screen and (max-width: 750px) {
	.home .wrapper .intro.flex>div:first-child{
		width: 100%;
		margin-bottom: 3rem;
	}
	.home .wrapper .intro.flex h2{
		position: relative;
	}
	.home .wrapper .intro.flex h2:after{
		content: '';/*何も入れない*/
		display: inline-block;
		width: 80px;/*画像の幅*/
		height: 126px;/*画像の高さ*/
		background-image: url(/wp/wp-content/uploads/2023/10/img_man-e1697946773564.webp);
		background-size: contain;
		vertical-align: top;
		position: absolute;
		top: 0;
	}
	.home .wrapper .intro.flex>div:last-child{
		display: none;
	}
	.home .wrapper .renov.flex>div, .home .wrapper .new.flex>div, .home .wrapper .real-estate.flex>div {
	    width: 100%;
	}
}
@media screen and (max-width: 500px) {
	.home .wrapper .intro.flex>div:first-child{
		margin-bottom: 2rem;
	}
	.home .wrapper .intro.flex h2:after{
		width: 70px;/*画像の幅*/
		height: 110px;/*画像の高さ*/
	}
}

/*---トップページリノベーション---*/



/*---トップページお知らせ---*/
.home section.movie iframe {
	width: 100%;
	max-width: 1000px;
	height: auto;
	max-height: 560px;
	aspect-ratio: 16 / 9;
}

.home section.news {
	display: table;
	padding-bottom: 2rem;
	padding-top: 1.5rem;
}

.home section.news h2 {
	margin: 0;
	padding: 0;
	font-size: 28px;
	margin-bottom: 2rem;
}
section.news dl.flex {
	margin-top: 0.5rem;
	margin-bottom: 0;
}

section.news dt span a,
.other section.news .article-cat a {
	background: #003682;
	color: white;
	font-size: 0.75rem;
	padding: 0.25rem 0.65rem;
	margin-left: 1rem;
	border-radius: 0.15rem
}

section.news dd {
	margin-left: 2rem;
}

.home .wrapper section.movie .title.flex {
	display: inline-flex;
	justify-content: center;
	align-items: flex-end;
	margin-bottom: 2rem !important;
	margin: 0 auto;
	text-align: center;
}

.home section.movie .title.flex>div {
	padding: 0 1rem;
	/*width: 100%;
	height: auto;
	box-sizing: border-box;*/
	text-align: center;
	display: inline-block;
}

@media screen and (max-width: 500px) {
	.home .wrapper section.movie .title.flex {
		display: block;
		margin-bottom: 1rem !important;
	}
	.home .wrapper section.movie .title.flex>div:first-child {
		width: 40vw;
		margin-bottom: 0.5rem;
	}
	.home section.news {
		padding-bottom: 0;
		padding-top: 0;
	}
}

.button-small {
    width: 100%;
    max-width: 125px;
    margin: 0 auto;
    margin-top: 1.5rem;
    position: relative;
}

.button-small a {
    color: black;
    font-size: 0.9rem;
    border: 1px solid black;
    display: block;
    padding: 0.2rem 0.6rem 0.1rem 0.6rem;
    width: 100%;
}

.button-small a:after {
    content: '';
    background-image: url(/wp/wp-content/uploads/2023/10/button_arrow_b.png);
    display: inline-block;
    width: 19px;
    height: 21px;
    background-size: contain;
    position: absolute;
    right: 0.4rem;
    top: 0.4rem;
}

@media screen and (max-width: 500px) {
	/*.home section.news.flex {
		display: block;
	}
	.home section.news .title {
		padding: 0 1.5rem;
	}
	.home section.news .title {
		border-top-right-radius: 15px;
		border-top-left-radius: 15px;
		border-bottom-left-radius: 0px;
		display: block;
		text-align: center;
		padding: 1rem 0;
		width: 100%;
	}
	.home section.wp-show-posts {
		border: 1px solid #c9caca;
		border-top: none;
		border-bottom-right-radius: 15px;
		border-bottom-left-radius: 15px;
		border-top-right-radius: 0px;
		padding: 0.8rem 1rem;
	}
	.home section.news .title img {
		width: 15%;
		vertical-align: middle;
	}*/
}

@media screen and (max-width: 420px) {
	.home .wp-show-posts:not(.wp-show-posts-columns) .wp-show-posts-single {
		/*padding: 0.7rem 0;*/
	}
}


/*----------------------------------------
	下層ページ共通
----------------------------------------*/

.wrapper.other section {
	max-width: 1000px;
	width: 100%;
	margin: 0 auto;
	background: #fff;
	margin-bottom: 3rem;
}

.wrapper.other section:last-child {
	margin-bottom: 0rem;
}

.wrapper.other section .width {
	padding: 0 2rem 2rem;
}

@media screen and (max-width: 1025px) {
	.wrapper.other {
		padding-top: 1.5rem !important;
	}
}
@media screen and (max-width:800px) {
	.wrapper.other {
		padding-top: 0 !important;
	}
}

/*---ページタイトル---*/
.wrapper.other h1 {
	margin:0;
	font-weight: bold;
	font-size: 1.7rem;
	margin-bottom: 2rem;
}

.wrapper.other h1 span {
	color: #323232;
	font-size: 1rem;
}

.wrapper.other h2 {
	line-height: 1.3;
	font-weight: bold;
	font-size: 1.6rem;
}

/*---セクションタイトル---*/
.other section .title {
	font-weight: bold;
	color: #fabe00;
	background: #004ea2;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
	padding: 1rem 2rem;
}

/*---リンクボタン---*/
.other .news .button-small {
    max-width: 155px;
    margin: 0 0 0 auto;
}
.other .button-small.back {
    max-width:  100% !important;
    width: auto !important;
    margin: 0 auto;
    margin-top: 4rem;
    display: inline-block;
}
.other .button-small.back.solo {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.other .button-small.back a:after {
    content: '';
    background-image: url(/wp/wp-content/uploads/2023/10/button_arrow_b.png);
    display: inline-block;
    width: 19px;
    height: 21px;
    background-size: contain;
    position: absolute;
    left: 0.6rem;
    top: 0.35rem;
    transform: rotate(180deg);
}

.other .button-small.back a {
    padding: 0.2rem 0.6rem 0.1rem 3rem;
    display: inline-block;
}

.other .news .entry-content .flex {
	justify-content: center;
	width: 50%;
	margin: 0 auto;
}
@media screen and (max-width: 1030px) {
	.other .news .entry-content .flex {
		display: block;
		width: 100%;
		margin: 0 auto;
		margin-bottom: 2.5rem;
	}
	.other .button-small.back {
	    max-width: 330px !important;
	    width: auto !important;
	    margin: 0 auto;
	    margin-top: 3rem;
	    display: block;
	}
	.other .button-small.back:last-child {
	    margin-top: 1.5rem;
	}
}

/**メイン画像**/
.other .large-image {
	background: #666666;
	text-align: center;
	margin-bottom: 3.5rem;
}
.other .large-image img {
	width: 100%;
	max-width: 1290px;
}
@media screen and (max-width: 750px) {
	.other .large-image {
	    margin-bottom: 2.3rem;
	}
}

@media screen and (max-width: 500px) {
	.other .large-image {
	    margin-bottom: 1.5rem;
	}
}

/*-------------ページネーション------------*/

/* ページ中央に設置 */
.pnavi {
    text-align: center;
    margin-bottom: 2rem;
}

.pnavi.btm {
    text-align: center;
    margin-bottom: 4rem;
}

/* 現在開いている以外のページのボタン */
.pagination .page-numbers {
    display: inline-block;
    margin-right: 20px;
    padding: 0;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #000;
    border: 0;
    background: #fff;
    /*font-weight: bold;*/
    font-size: 14px;
}

/* マウスが乗った時の、ボタンの背景の色と文字の色 */
.pagination a.page-numbers:hover {
    color: #FFF;
    background-color: #999;
    border-color: #999;
}


/* 現在のページのボタン */
.pagination .current {
    padding: 0;
    background: #003682;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
}

/* 前へ、次へ */
.pagination .prev,
.pagination .next {
    border: 0;
    color: #000;
    position: relative;
    font-size: 12px;
}

.pagination a.next.page-numbers {
    margin-right: 0;
}

/*  縦線の共通CSS　*/
.pagination .next::before,
.pagination .prev::after {
    content: "";
    display: inline-block;
    width: 0.5px;
    height: 40px;
    /*background-color: rgb(224, 215, 215);*/
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/*「次へ」の前の線*/
.pagination .next::before {
    /*left: -15px;*/
}

/*「前へ」の後の線*/
.pagination .prev::after {
    /*right: -15px;*/
}

/* 数字の間のドット */
.pagination .dots {
    background: transparent;
    border: none;
}



@media screen and (max-width: 1000px) {
	/*.entry-header,
	.wrapper.other section {
		max-width: 55%;	
		width: 100%;
		margin: 0 auto;
		margin-bottom: 3rem;
	}*/

}

@media screen and (max-width: 700px) {
	/*#page .entry-header {
		max-width: 64%;
		width: 100%;
		margin-top: 1.5rem;
		margin-bottom: 0.5rem;
	}*/
	.aligncenter {
	    clear: both;
	    display: block;
	    margin-left: auto;
	    margin-right: auto;
	    margin-bottom: 0.5em;
	}
	.entry-header,
	.wrapper.other section {
		margin-bottom: 2rem;
	}
}

@media screen and (max-width: 500px) {
	.other section .title {
		padding: 0.5rem 1rem;
	}
	.wrapper.other section .width {
		padding: 0 1rem 1rem;
	}
	.entry-header,
	.wrapper.other section {
		margin-bottom: 1.5rem;
	}
}

/*----------------------------------------
	お知らせ
----------------------------------------*/

.news h2.article-title {
	margin-bottom: 0.85rem;
	margin-top: 1.5rem;
}

.news .article-content {
	margin-bottom: 1.5rem;
}

.news .each-article {
	padding-bottom: 3rem;
	margin-top: 3.5rem;
	border-bottom: 1px solid #ccc;
}

.news .each-article:nth-of-type(1) {
	margin-top: 0;
}

.news .article-image {
	margin-bottom: 2rem;
	margin-top: 1rem;
}

.news .article-image img {
	width: 100%;
	height: auto;
}


@media screen and (max-width: 768px) {
	.news a.wp-show-posts-read-more {
	    margin-top: 0;
	}
}

/*----------------------------------------
リフォーム・リノベーションページ
----------------------------------------*/

.reform-renov ul.flex {
	justify-content: space-between;
	flex-wrap:wrap;
}
.reform-renov ul.flex li {
	width: 32.5%;
	height: auto;
	margin-bottom: 0.8rem;
}
.reform-renov ul.flex li img {
	width: 100%;
	height: auto;
}

.reform-renov .ttl-sample{
	font-weight: bold;
	margin-top: 3rem;
	margin-bottom: 0.8rem;
}
.reform-renov .ttl-sample span {
	color: white;
	font-size: 1.6rem;
	background: #323232;
	padding: 0.4rem 1.25rem;
	margin-right: 0.7rem;
}

@media screen and (max-width: 750px) {
	.reform-renov ul.flex li {
		width: 49%;
		margin-bottom: 0.6rem;
	}
	.reform-renov .ttl-sample span {
		display: inline-block;
	}
}



/*----------------------------------------
リフォーム・リノベーション投稿
----------------------------------------*/
.reform-renov h2 span {
	background: #003682;
    color: white;
    font-size: 1rem;
    padding: 0.1rem 0.65rem;
    margin-left: 1rem;
    border-radius: 0.15rem;
    display: inline-block;
    position: relative;
    top: -2px;
}
.reform-renov .image-box {
	position: relative;
}
.reform-renov .image-box img{
	width: 100%;
	height: auto;
}
.reform-renov .image-box .txt {
	position: absolute;
	bottom: 0.1rem;
	left: 1rem;
	font-size: clamp(1.4rem, 5vw, 2.8rem);
	color: white;
	font-weight: bold;
}
.reform-renov .arrow {
	font-weight: bold;
	text-align: center;
	font-size: 2.8rem;
}
.reform-renov .exp,
.shinchiku .exp {
	margin-top: 2rem;
}
.reform-renov .button-small.back,
.shinchiku .button-small.back {
    margin-bottom: 2.5rem;
}

/*----------------------------------------
	不動産
----------------------------------------*/

.realestate h2.huge {
 	font-size: clamp(2.5rem, 8vw, 4rem);
}

.realestate .huge-tel {
 	margin-top: 4rem;
 	font-size: 6rem;
 	font-size: clamp(2.15rem, 9vw, 6rem);
 	line-height: 1.4;
}

.realestate .huge-tel span {
 	display: block;
 	font-size: 1.4rem;
 	line-height: 1.85;
}

@media screen and (max-width: 700px) {
	.realestate .huge-tel {
	 	margin-top: 2rem;
	}
}

/*----------------------------------------
	会社概要
----------------------------------------*/
.company h2.huge {
 	font-size: clamp(2.5rem, 8vw, 3.9rem);
}

.company .flex {
 	justify-content: space-between;
 	align-items: flex-end;
 	margin-bottom: 2rem;
}

.company .table {
 	width: calc(100% - 305px);
}

.company .table table,
.company .table table tbody,
.company .table table tr,
.company .table table th,
.company .table table td {
 	margin: 0;
 	padding: 0;
 	text-align: left;
 	font-size: 1.3rem;
}

.company .table table th,
.company .table table td{
	padding-bottom: 1.25rem;
}

.company .table table tr:nth-of-type(3) th,
.company .table table tr:nth-of-type(3) td {
	padding-bottom: 0;
}

.company .table p:nth-of-type(1) {
 	margin-top: 0;
}

.company .boss {
 	width: 100%;
 	max-width: 265px;
}

.company .boss img {
 	margin-bottom: 1rem;
}

@media screen and (max-width: 870px) {
	.company .flex {
		display: block;
	}
	.company .table {
	 	width: 100%;
	}
	.company .boss {
	 	max-width: 100%;
	}
}

/*----------------------------------------
	会社概要
----------------------------------------*/


@media screen and (max-width: 700px) {
	.company table{
		width:100%;
	}
}

@media screen and (max-width: 550px) {
	.company th,
	.company td {
		display: block;
	}
	.company th {
		padding: 0 0.3rem;
		font-weight: bold;
	}
	.company td {
		padding-bottom: 1.4rem;
		padding-top: 0.1rem;
	}
}


/*----------------------------------------
	ポリシー
----------------------------------------*/
.privacy-policy dl {
	/*margin-left: 1.4rem;*/
}

.privacy-policy dl dt {
	font-weight: bold;
}
.privacy-policy dl dd {
	margin-bottom: 1.5rem;
	margin-left: 2rem;
	margin-top: 0.3rem;
}

.wrapper.other.policy section .width {
    padding: 2rem;
}


/*----------------------------------------
	フォーム
----------------------------------------*/

.contact .iframe-wrap{
	max-width: 1000px;
	width: 100%;
	height: 300px;
	margin: 0 auto;
}
.contact .iframe-wrap iframe {
    width: 100%;
    height: 100%;
    padding: 1.2rem;
    background: white;
}

.page-id-502 header,
.page-id-502 footer,
.page-id-502 #wprmenu_bar{
   display:none;
}

html .page-id-502 {
	width: 95%;
	overflow-y: scroll;
}

html .page-id-502 .wprm-wrapper {
	display: none;
}



.wrapper.other.contact section {
    background: none;
}

.mw_wp_form_preview .pp-check,
.mw_wp_form_preview .iframe-wrap{
	display: none;
}

.mw_wp_form h2{
	width: 100%;
	line-height: 80px;
	background: #fcc92c;
}

.mw_wp_form ul {
	width: 90%;
	margin: 60px auto ;
	text-align: justify;
}

.mw_wp_form ul li{margin-bottom: 30px;}

.mw_wp_form ul li div{display: inline-block; width: 63%; }
.mw_wp_form ul li img{display: inline-block; width: 30%; margin-left: 5%; }

.mw_wp_form ul li h3{margin-bottom: 10px;}

.mw_wp_form table{
	/*font-family:'Noto Sans JP', sans-serif, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック";*/
	/*text-align: justify;
	width: 100%;
	border-collapse: collapse;*/
}

.mw_wp_form tr:last-child{border-bottom: none;}

.mw_wp_form th {
	width: 30%;
	padding: 20px 0;
	vertical-align: middle;
}

.mw_wp_form td{
	padding: 20px 0;
}
.mw_wp_form td span.content{
	color: black;
	font-weight: normal;
	font-size: 1rem;
}

.mw_wp_form td span.must{
	background: #003682;
	font-size: 11px;
	padding:0px 4px ;
	display: inline-block;
	border-radius: 2px;
	margin-left: 0.5rem;
	position: relative;
	top: -0.1rem;
	font-weight: normal;
	color: white;
}

.mw_wp_form input[type=submit]:hover,
.mw_wp_form button[type=submit]:hover {
	cursor: pointer;
}

.mw_wp_form button[type=submit] {
	line-height: 1;
}

.mw_wp_form td input[type=text],
.mw_wp_form td input[type=email],
.mw_wp_form td textarea{
	width: 100%;
	line-height: 40px;
	padding: 5px 10px;
	margin-top: 0.3rem;
}

.mw_wp_form td .mwform-tel-field input[type=text]{
	width: auto;
}

.mw_wp_form td textarea{
	width: 100%;
	height: 150px;
	padding: 10px;
}

.mw_wp_form td img{width: 100%;}

.mw_wp_form .btn{
	cursor : pointer;
	background: #5BB53C;
	border: 2px solid #5BB53C;
	color: #FFFFFF;
	display: inline-block;
	font-weight: bold;
	font-size: 18px;
	max-width: 200px;
	width: 90%;
	line-height: 30px;
	transition: .3s;
	margin: 40px 10px 0;
}

.mw_wp_form .btn:hover{
	background: #FFFFFF;
	color: #d71439;
}

.mw_wp_form .btn02{
	background: #FFFFFF;
	color: #d71439;
}

.mw_wp_form .error{
	margin-top: 0.3rem;
	font-weight: normal;
}

.mw_wp_form_confirm td span.must,
.mw_wp_form_confirm .noneed {
	display: none !important;
}


@media screen and (max-width: 768px){
	.mw_wp_form h2{line-height: 60px;}
	
	.mw_wp_form ul{margin: 30px auto;}
	.mw_wp_form ul li{margin-bottom: 15px;}
	.mw_wp_form ul li div{width: 100%;}
	.mw_wp_form ul li img{margin: 10px auto 0; width: 300px;}
	
	.mw_wp_form th,.mw_wp_form td{display: block;}
	
	.mw_wp_form th{width: 100%; padding-bottom: 0;}
	
	.mw_wp_form .btn{margin-top: 20px;}
	
}

/*--フォーム完了--*/
.wrapper.other.contact.complete section {
    background: white;
    padding-top: 0rem;
    padding-bottom: 0rem;
    border: 2px solid #fabe00;
}

.wrapper.other.contact.complete section p:first-child {
    text-align: center;
    font-weight: bold;
    font-size: 2rem;
    color: #004ea2;
}


