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

dacc_theme 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
# Frame
	- Layout fixed
	- Header
	- Footer
	- Main
# Postlayout
# Top
# Contents
	- Tab
	- Tab(business)
	- Business contents
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# 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;
	overflow-y: scroll;
}

body#modalbody{
	margin: 0;
	overflow-y: auto;
}

/**
 * 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: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic','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%;*/
	vertical-align: bottom;
}

figure {
	margin: 1em 0;
}

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

/* Links
--------------------------------------------- */
a {
	color: #00407f;
	text-decoration: none;
}

a:visited {
	color: #00407f;
}

a:hover{
	color: #5983ac;
	text-decoration: underline;
}


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

.entry-content02{
	margin: 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;
}

/*--------------------------------------------------------------
# Frame
--------------------------------------------------------------*/
/* Layout fixed
--------------------------------------------- */
body,
div#page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
 
footer {
	margin-top: auto;
}

.sp{
	display: none;
}


main a:hover img {
	-webkit-opacity: 0.5;
	-moz-opacity: 0.5;
	-o-opacity: 0.5;
	opacity: 0.5;
}
 
main a img {
	-webkit-transition: opacity 0.3s ease-out;
	-moz-transition: opacity 0.3s ease-out;
	-ms-transition: opacity 0.3s ease-out;
	-o-transition: opacity 0.3s ease-out;
	transition: opacity 0.3s ease-out;
}

main a.tab:hover img {
	opacity: 1;
}
 
main a.tab img {
	transition: none;
}

.edit-link{
	display: none;
}

video{
	width: 65%;
	margin: 2% auto;
	display: block;
}

@media screen and (max-width: 780px){
	video{
		width: 100%;
	}
}


@media screen and (max-width: 480px){
	.pc{
		display: none;
	}
	.sp{
		display: block;
	}
}

/* Header
--------------------------------------------- */
header#masthead{
	display: flex;
	align-items: center;
	background: #00407f;
	height: 140px;
}

div.site-branding{
	background: #fff;
	height: 140px;
	display: flex;
	align-items: center;
	padding: 20px;
}

ul#primary-menu{
	width: 100%;
}

ul#primary-menu li{
	height: 140px;
	display: flex;
	align-items: center;
	width: 20%;
	justify-content: center;
}

ul#primary-menu li:hover{
	background: #5983ac;
}

ul#primary-menu li a{
	line-height: 140px;
	width: 100%;
	text-align: center;
}

div#head_saturn{
	display: flex;
	align-items: flex-end;
	height: 140px;
}

/* Footer
--------------------------------------------- */
footer#colophon{
	height: 80px;
	background: #00407f;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 20px;
}

footer#colophon img{
	max-width: 100%;
}

/* Main
--------------------------------------------- */
div.subpage{
	background: #f2f6f7;
}

main#primary{
	width: 85%;
	margin: 0 auto 3% auto;
	padding: 10px;
	background: #fff;
}

main.subbox{
	box-shadow: 12px 9px 13px #b3b3b3;
	padding: 1% 3% 3% 3%!important;
}

div#page main.subbox_busi{
	background-color: #f2f6f7!important;
	padding: 0 10px!important;
}

div#h1_img img{
	width: 100%;
}

div#h1_img img.pc{
	margin: 3% 0;
}

div#h1_img img.sp{
	margin: 60px 0 0 0;
}

@media screen and (max-width: 1321px){
	div#h1_img img.pc{
		margin: 80px 0 3% 0;
	}
	
	div#sliderwrap{
		margin: 60px 0 0 0;
	}
}

@media screen and (max-width: 480px){
	main#primary{
		width: 95%;
		margin: 5% auto;
		padding: 10px;
		background: #fff;
	}
}

/*--------------------------------------------------------------
# Postlayout
--------------------------------------------------------------*/

body#modalbody .mob-menu-header-holder, body.single #wpadminbar{
	display: none;
}

body#modalbody div#page main article div.entry-content ul{
	margin:0;
}

body#modalbody div#page main article div.entry-content{
	word-break: break-word;
}

#fancybox-close {
	top: 24px!important;
	right: 24px!important;
	width: 23px!important;
	height: 23px!important;
	background: transparent url('images/popup/icon_close.png')!important;
	background-size: cover !important;
}

body.mob-menu-overlay, body.mob-menu-slideout, body.mob-menu-slideout-over, body.mob-menu-slideout-top {
	padding-top: 0px!important;
}

#modal_post_title{
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	border-bottom: 2px solid #bccddd;
	padding: 0 0 10px 0;
	margin: 0 0 30px 0;
}

#modal_post_title h1{
	margin: 0;
	font-size: 250%;
	position: relative;
	padding: 0 0 0 50px;
}

#modal_post_title h1:before {
	content: url('images/post/icon_square.png');
	margin: 0 10px 0 0;
	position: absolute;
	top: 5px;
	left: 0px;
}

#modal_post_title span{
	font-size: 140%;
	font-weight: bold;
	margin: 10px 0 0 0;
}

#post_list_title h1{
	margin: 0;
	font-size: 250%;
	position: relative;
	padding: 0 0 12px 50px;
	border-bottom: 2px solid #bccddd;
}

#post_list_title h1:before {
	content: url('images/post/icon_square.png');
	margin: 0 10px 0 0;
	position: absolute;
	top: 5px;
	left: 0px;
}

article.post{
	margin-top: 30px;
}

.postlist_wrap{
	display: flex;
	padding: 1%;
	justify-content: space-between;
}

.newsbox{
	width: 83%;
}

.postbox{
	padding: 17px 0;
	border-bottom: 1px dashed #00407f;
	display: flex;
}

.date{
	font-weight: bold;
}

.catbnr{
	color: #fff;
	font-size: 75%;
	border-radius: 5px;
	margin: 0 6px;
}

.pr{
	background-color: #a8d340;
	padding: 2px 5px;
}

.news{
	background-color: #17bcb8;
	padding: 2px 21px;
}

.post_data{
	min-width: 179px;
	white-space: nowrap;
}

.newsbox_right{
	width: 14%;
}

.newsbox_right h2{
	margin: 0 0 13px 0;
	border-bottom: 4px solid #00407f;
	color: #00407f;
	font-size: 180%;
	padding: 0 7px 0 7px;
}

.newsbox_right ul#year-list{
	margin: 0;
	padding: 0;
	list-style:none;
}

.newsbox_right ul#year-list li{
	font-size: 150%;
	font-weight: bold;
	border-bottom: 2px solid #b2c5d8;
	background-image: url(images/post/icon_archives.png);
	background-repeat: no-repeat;
	background-position: left 10px bottom 8px;
	line-height: 30px;
	padding: 8px 0 8px 47px;
}

@media screen and (max-width: 1321px){
	#modal_post_title{
		flex-direction: column;
		align-items: flex-start;
	}
	
	.postlist_wrap{
		flex-direction: column;
	}
	
	.newsbox{
		width: 100%;
	}
	
	.newsbox_right{
		margin: 30px	0 0 0;
	}
	
	.newsbox_right ul#year-list li{
		display: inline-block;
	}
	
	.newsbox_right h2{
	display: inline;
	}
}

@media screen and (max-width: 560px){
	.postbox{
		flex-direction: column;
	}
	
	.post_data{
	margin-bottom: 10px;
	}
	
	#modal_post_title h1{
	margin: 0;
	font-size: 170%;
	position: relative;
	padding: 0 0 0 50px;
	}

}

/*--------------------------------------------------------------
# Top
-------------------------------------------------------*/

.midashi{
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding: 0px 5px 3px 5px;
	border-bottom: 1px dashed #404040;
	margin: 0 0 10px 0;
}

.midashi span{
	font-size: 140%;
	letter-spacing: 5px;
	font-weight: bold;
}

a.arrow{
	background-image: url('images/link/icon_link.png');
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 18px;
}

.topbox{
	padding: 0 10px 50px 10px;
}

div.topbox div.newsbox div.postbox{
	border: none;
	padding: 8px 0;
}

.busibox{
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-around;
	margin: 50px 0 0 10px;
}

.busibox a{
	margin-bottom:25px;
	width: 47%;
}

.busibox a img{
	width: 100%;
}

.busibox a img.bnrl{
	margin-right: 10px;
}

.busibox a img.bnrr{
	margin-left: 10px;
}

a.aright{
	float: right;
	padding-right: 5px;
	margin-top: -10px;
	width: auto!important;
}

table.tbl01 th{
	text-align: left;
	color: #00407f;
	padding:5px;
}

table.tbl01 td{
	padding: 5px 5px 5px 10px;
}


div.topbtm01{
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-around;
	margin: 20px 0 0 10px;
}

div.topbtm02{
	margin: 0 5px;
	width: 47%;
}


@media screen and (max-width: 830px){

	.busibox{
		margin: 20px 0 0 10px;
	}

	.busibox a{
	width: 100%;
	margin-bottom:20px;
	}
	
	.busibox a img.bnrl{
	margin-right: 0px;
	}

	.busibox a img.bnrr{
		margin-left: 0px;
	}
	
	.topbusiwrap a.arrow{
	padding-right: 0px;
	}
	
	div.topbtm02{
	margin: 0 5px 45px 5px;
	width: 100%;
}

	table.tbl01 { margin: 0 -10px 20px -10px; }
	table.tbl01 th,
	table.tbl01 td{
		width: 100%;
		display: block;
		border-top: none;
}

}

@media screen and (max-width: 560px){
	.midashi{
		flex-direction: column;
		align-items: flex-start;
	}
	

}

/*--------------------------------------------------------------
# Contents
-------------------------------------------------------*/

.saiyouwrap{
	padding: 40px 40px 17px 40px;
}

.saiyouwrap p{
	text-align: center;
}

.kyujinlink{
	margin: 50px 0 0 0;
}

a.pdflink{
	background-image: url('images/link/icon_pdf.png');
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 27px;
	font-size: 130%;
	background-size: contain;
	color:#404040;
}

a.pdflink:hover{
	color:#404040;
}

.contactwrap img{
	max-width: 100%;
}


.contactwrap ul{
	margin:0;
	padding:0;
	list-style-position: inside;
	list-style-type: square;
}

.contactwrap ul li {
	
}


.dwnlink{
	margin: 30px 0;
	font-size: 120%;
	font-weight: bold;
}

/*.dwnlink a{
	background-color: linear-gradient(transparent 60%, #fff449 60%);
	display: inline;
}*/

h2.smlsquare{
	background-image: url('images/post/icon_square.png');
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 28px;
	font-size: 145%;
	background-size: 20px 20px;
}

span.wpcf7-list-item {
	display: block!important;
}

.formbnr{
	width: 500px;
}

.wpcf7 form.sent .wpcf7-response-output {
	border: none!important;
}

table.formtbl{
	
}

table.formtbl th{
	text-align: left;
	width: 95px;
}

div.confirmbtn{
	text-align :center;
	margin-bottom: 10px;
}

div.submitbtn{
	margin: 0 10px;
	display: flex;
	justify-content: center;
	margin-bottom: 10px;
	align-items: center;
}

div.submitbtn input{
	margin: 0 10px;
}

a.closebtn{
	width:200px;
	font-size: 115%;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	padding: 20px 10px;
	color: #fff;
	background-color: #00407f;
	border-radius: 10px;
	cursor: pointer;
	display: inline-block;
	margin-top:100px;
}

a.closebtn:hover{
	background-color: #5983ac;
	text-decoration: none;
}

input.wpcf7-confirm[type="submit"]{
	width:200px;
	font-size: 115%;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	padding: 20px 10px;
	color: #fff;
	background-color: #00407f;
	border-radius: 10px;
	cursor: pointer;
}

input.wpcf7-confirm[type="submit"]:hover{
	background-color: #5983ac;
}

input.wpcf7-submit[type="submit"]{
	width:200px;
	font-size: 115%;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	padding: 20px 10px;
	color: #fff;
	background-color: #ff7900;
	border-radius: 10px;
	cursor: pointer;
}

input.wpcf7-submit[type="submit"]:hover{
	background-color: #ffba7c;
}

input.wpcf7-back[type="button"]{
	width:200px;
	font-size: 115%;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	padding: 20px 10px;
	color: #fff;
	background-color: #00407f;
	border-radius: 10px;
	cursor: pointer;
}

input.wpcf7-back[type="button"]:hover{
	background-color: #5983ac;
}

.wpcf7c-conf, .wpcf7c-conf:focus {
	background-color: transparent;
	border: none;
}

input[readonly]{
	border: none!important;
	color:#404040!important;
}

#modalbody #wpadminbar{
	display: none;
}

.wpcf7-checkbox .wpcf7-list-item:nth-child(6){
	border-bottom: 1px dashed #404040;
	padding: 0 0 10px 0;
	margin: 0 0 10px 15px;
	width: 300px;
}

.dashedline{
	width: 300px;
}

@media screen and (max-width: 780px){
	.saiyouwrap {
		padding: 10px;
	}
}

@media screen and (max-width: 560px){

	table.formtbl th,
	table.formtbl td{
		width: 100%;
		display: block;
		border-top: none;
	}

	input[type="text"],input[type="tel"],input[type="email"] {
		width: 100%;
		}
}

@media screen and (max-width: 480px){
	div.submitbtn{
		flex-direction: column;
	}
	
	div.submitbtn input{
		margin: 10px 10px;
	}

}


/* Tab
--------------------------------------------- */

#gaiyou .tabs {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#gaiyou .tab {
	display: inline-block;
	padding: 0;
	font-weight: normal;
	border-top: none;
}

#gaiyou a.tab{
	font-weight: normal;
	color: #404040;
	text-align: center;
	border-right: 1px solid #3f6f9f;
	font-size: 1.6vw;
	width: 20%;
}

#gaiyou a.tab:first-child{
	border-left: 1px solid #3f6f9f;
}

#gaiyou a.tab:hover{
	color: #404040;
	text-decoration: none;
}

#gaiyou .tab.active {
	color: #404040;
	background: #f2f6f7;
	border-top: none;
}

#gaiyou .panels {
	margin-top: -1px;
	box-shadow: none;
	background: #fff;
	width: 100%;
}

#gaiyou .panels .panel {
	padding: 3% 0 0 0;
}

@media (max-width: 500px) {

	#gaiyou .tabs {
		flex-direction: column;
	}
	
	#gaiyou a.tab{
		width: 100%;
		margin: 2px 0;
		border-left: 1px solid #3f6f9f;
		border-right: 1px solid #3f6f9f;
		font-size: 110%;
	}

}

table.cotable {
	border-collapse: collapse;
	margin-bottom: 0!important;
}

table.cotable th, table.cotable td {
	border: solid 1px #b2c5d8;
	padding: 10px;
}

table.cotable th{
	background: #f7fafa;
	color: #21598f;
	vertical-align: top;
	text-align: left;
	font-weight: normal;
}

table.cotable tr td ul{
	padding: 0 0 0 40px;
	margin: 0;
}

table.cotable tr td ul li{
	margin: 1%;
}

#map {
	width: 100%;
	box-sizing: border-box;
	margin: 0 auto;
}

#map .inner {
	position: relative;
	height: 500px;
	overflow: hidden;
}

#map .inner iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

p.btmp{
	margin-bottom: 0!important;
}

img.resp{
	max-width: 100%;
}

ul.checkli{
 	list-style-image: url(images/company/icon_check.png);
 	margin-left:32px;
 	padding:0;
}

ul.checkli li{
 	margin: 10px 0;
}

.preshead{
	display: flex;
	align-items: center;
	margin: 0 0 20px 0;
}

.preshead div{
	width: 100%;
}

.preshead img{
	margin: 0 30px 0 0;
}

.preshead img.prestxt{
	margin-top: 40px;
	width: 300px;
}


p.tbltext{
	line-height: 1.7em;
	margin: 0;
}

ul.tbltextul{
	list-style: none;
	margin:0;
	padding: 0;
}

main ol{
	margin: 0;
}




@media screen and (max-width: 1070px){

	table.cotable th{
		width: 100%;
		display: block;
		border-bottom: none;
	}
	table.cotable td{
		width: 100%;
		display: block;
		border-bottom: none;
	}
	
	table.cotable tr:first-child th{
	border-top: solid 1px #b2c5d8;
	border-bottom: none;
	}

	table.cotable tr:last-child td{
		border-bottom: solid 1px #b2c5d8;
	}

}


@media (max-width: 600px) {

	.preshead img{
		margin: 0 10px 0 0;
	}
	
	img.presphoto{
		width:150px;
		height: auto;
	}

}

@media (max-width: 480px) {

	#map .inner {
		height: 300px;
	}
	

}

/* Tab(business)
--------------------------------------------- */

/*
 * タブとして必要な設定
 */
.panels > .panel {
  display: none;
}

.panels > .panel.active {
  display: block;
}

/*
 * デザイン
 */

.tabs {
	display: flex;
	justify-content: space-between;
}

.tab {
	display: inline-block;
	padding: 1%;
	font-weight: bold;
	border-top: 7px solid transparent;
}

a.tab{
	font-weight: bold;
	color: #404040;
	text-align: center;
}

a.tab img{
	max-width: 100%;
}

.flexg{
	flex-grow:1;
}

a.tab:hover{
	color: #404040;
	text-decoration: none;
}

.tab.active {
	color: #404040;
	background: #fff;
	border-top: 7px solid #00407f;
}

.panels {
	margin-top: -1px;
	box-shadow: 12px 9px 13px #b3b3b3;
	background: #fff;
	width: 100%;
}

.panels .panel {
	padding: 3%;
}

/*subtab*/

#panel1 .tabs {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#panel1 .tab {
	display: inline-block;
	padding: 0 2%;
	font-weight: normal;
	border-top: none;
}

#panel1 a.tab{
	font-weight: normal;
	color: #404040;
	text-align: center;
	border-right: 1px solid #3f6f9f;
	font-size: 2vw;
	width: 20%;
}

#panel1 a.tab:first-child{
	border-left: 1px solid #3f6f9f;
}

#panel1 a.tab:hover{
	color: #404040;
	text-decoration: none;
}

#panel1 .tab.active {
	color: #404040;
	background: #f2f6f7;
	border-top: none;
}

#panel1 .panels {
	margin-top: -1px;
	box-shadow: none;
	background: #fff;
	width: 100%;
}

#panel1 .panels .panel {
	padding: 3% 0 0 0;
}

@media (max-width: 500px) {

	#panel1 .tabs {
		flex-direction: column;
	}
	
	#panel1 a.tab{
		width: 100%;
		margin: 2px 0;
		border-left: 1px solid #3f6f9f;
		border-right: 1px solid #3f6f9f;
		font-size: 110%;
	}

}

/* Business contents
--------------------------------------------- */

.img2in1{
	display: flex;
	justify-content: center;
	align-items: flex-start;
	margin: 0 auto 3% auto;
	width: 62%;
}

.img2in1 img{
	margin: 0 1%;
	min-width: 0;
	width: 100%;
}

p.smallh {
	position: relative;
	padding: 0 0 0 35px;
	margin: 0;
	font-size: 180%;
	font-weight: bold;
	color: #00407f;
}

p.smallh:before {
	position: absolute;
	width: 22px;
	height: 22px;
	top: 10px;
	left: 3px;
	background: #00407f;
	content: "";
}

p.subp{
	margin: 0.4em 0 1.5em 0;
}

p.subsubp{
	margin: 0em 0 0em 0;
}

p.markerp{
	margin: 1% 0 1% 0;
	font-size: 150%;
	background: linear-gradient(transparent 60%, #fff449 60%);
	display: inline;
}

ul.busiul{
	font-size: 115%;
	margin: 0;
	margin: 0 0 15px 0;
	padding: 0 0 0 2%;
}

ul.busiul li{
	margin: 20px 0;
	list-style-type: none; /*点を非表示*/
	position: relative; /*基準位置*/
	padding-left: 1.2em;
}

ul.busiul li:before {
	border-radius: 50%; /*丸くする*/
	width: 13px; /*点の幅*/
	height: 13px; /*点の高さ*/
	display: block;
	position: absolute; /*絶対配置*/
	left: 0; /*点の位置*/
	top: 0.4em; /*点の位置*/
	content: "";
	background: #9acdff; /*点の色*/
}

ul.busiul li ul li:before {
	display: none;
}

ul.busiul li ul li {
	padding: 0;
}

.introbox{
	margin: 0 0 2.5em 0;
}

table.busitable {
	border-collapse: collapse;
	margin-bottom: 3em;
}

table.busitable th, table.busitable td {
	border: solid 1px #b2c5d8;
	padding: 10px;
}

table.busitable th{
	background: #f7fafa;
	color: #21598f;
	vertical-align: middle;
	text-align: center;
	font-weight: normal;
}

table.busitable tr td ul{
	padding: 0 0 0 40px;
	margin: 0;
}

table.busitable tr td ul li{
	margin: 1%;
}

.centertd{
	text-align: center;
}

h2.bsmlsquare{
	background-image: url('images/post/icon_square.png');
	background-repeat: no-repeat;
	background-position: 0px 12px;
	padding-left: 28px;
	font-size: 180%;
	background-size: 20px 20px;
	margin:0 0 0.5em 0;
}

ul.busiul li ul{
	margin-left: 0;
	list-style: none;
	padding-left: 0;
}

.mb0{
	margin-bottom: 0!important;
	}


.txtimg2in1{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 3%;
}

.txtimg2in1 div{
	width: 50%;
	margin-right: 2%;
}

.txtimg2in1 img{
	width: 50%;
}


@media (max-width: 880px) {

	table.busitable {
		font-size: 85%;
	}
	
	table.busitable th, table.busitable td {
		padding: 0.5%;
	}
	
	ul.busiul {
		margin: 0.4em 0 0.4em 0em;
		padding: 0 0 0 1em;
	}
	.img2in1{
		width: 100%;
	}
	
	.txtimg2in1{
		flex-direction: column;
	}
	
	.txtimg2in1 div{
		width: 100%;
		margin-right: 0;
	}
	
	.txtimg2in1 img{
		width: 100%;
	}
}

@media (max-width: 500px) {

	.img2in1,.txtimg2in1{
		flex-direction: column;
	}

	.img2in1 img{
		margin: 0 0 3% 0;
	}
	
	table.busitable {
		font-size: 65%;
	}
	
	p.smallh {
		padding: 0 0 0 27px;
		font-size: 140%;
		font-weight: bold;
		color: #00407f;
	}
	
	p.smallh::before {
		width: 17px;
		height: 17px;
		top: 8px;
	}
	
}

@media (max-width: 360px) {

	table.busitable {
		word-break: break-all;
	}

}