/*!
Theme Name: ishii
Theme URI: https://shu-ishii.com/
Author: Underscores.me
Author URI: https://shu-ishii.com/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ishii
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

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


@charset "UTF-8";
/*==========================================
 common
==========================================*/
/*------------------------------------------
　*reset
------------------------------------------*/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, dl, dt, dd, ul, ol, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, abbr, address, em, img, small, strong, sub, sup, var, b, i, a, article, aside, canvas, details, figcaption, figure, header, hgroup, menu, nav, section, summary, footer,
time, audio, video  {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	vertical-align: baseline;
	background: transparent;
	font-size: 100%;
}
a {
	text-decoration: none;
	-webkit-text-decoration-skip: objects;
}
a:hover, a:focus {
	text-decoration: none;
	outline-width: 0;
}
ol, ul {list-style: none;}

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
	vertical-align: top;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
img {
	border: none;
	vertical-align: top;
	font-size: 0;
	line-height: 0;
}

address, em, img, small, strong {
	font-style: normal;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
}

* {
	box-sizing: border-box;
}


/*form -----------------------------------*/
button,
option,
select,
textarea,
input[type="button"],
input[type="submit"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="text"],
input[type="select"],
input[type="option"],
input[type="checkbox"] {
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	border-radius: 0;
	border: none;
	outline: 0;
	margin: 0;
	background: #fff;
}

/* デフォルトのradio、checkboxは非表示 */
input[type=radio],
input[type=checkbox] {
	display: none;
}

/* for firefox */
select {
	text-indent: 0.01px;
	text-overflow: '';
}
/* for ie10 ie11 */
select::-ms-expand {
	display: none;
}

/*------------------------------------------
 *base
------------------------------------------*/
html {
	height: 100%;
	font-size: 62.5%;
}
body {
	min-height: 100%;
	font-family: 'Noto Sans JP', sans-serif;
	color: #000;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.6;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
}
body.body_overlay{
	overflow: hidden!important;
}

#mainContent {
	flex: 1;
}
.contentsIn {
	width: 990px;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 15px;
}

.img-responsive {
	display: block;
	max-width: 100%;
	height: auto;
}

.fbox {
	display: -webkit-flex;
	display: flex;
}

.clear {
	clear: both;
}

/* link ---------------------------------*/
a {
	color: #000;
	/*transition: all 0.5s;*/
}
a:hover,
a:active,
a:focus {
	color: #888;
	text-decoration: none;
}

@media screen and (max-width: 960px) {
	body {
		min-width: 100%;
	}
	.contentsIn {
		width: 100%;
		padding: 0 30px;
	}
}

@media screen and (max-width: 768px) {
	.underTab {display: none;}
	.onlyPC {display: none;}
	.contentsIn {padding: 0 5vw;}
}

@media screen and (min-width: 769px) {
	.onlyMobile {display: none;}
}


/*==========================================
 *headder
==========================================*/
/*header area ----------------------------*/
#header {
	width: 100%;
	background: rgba(255, 255, 255, 0.9);
	position: fixed;
	z-index: 100;
	box-shadow: 0 0 5px rgba(51, 51, 51, 0.2);
}

.header-cont {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 15px;
}

#header h1 {
	width: 265px;
}
#header h1 img {
	max-width: 100%;
	height: auto;
}

/*globalNavigation for PC ---------------*/
#header .gNav-pc {
	width: 70%;
	vertical-align: middle;
	line-height: 80px;
}
#header.transform .gNav-pc {
	/*line-height: 50px;*/
}

.gNav-pc ul {
	text-align: right
}
.gNav-pc ul li {
	margin-left: 2rem;
	display: inline;
	/*height: 80px;*/
}
.gNav-pc ul li a {transition: color 0.3s;}

.gNav-pc ul li:first-child {margin-left: 0;}
.gNav-pc ul li.mail i {margin-right: 8px;}
.gNav-pc ul li.mail a {
	padding: 28px 24px;
	color: #fff;
	background-color: #1d5aa4;
	transition: opacity 0.5s ease-out;
}
.gNav-pc ul li.mail a:hover {
	opacity: 0.8;
}


@media screen and (min-width: 961px) { /*PC*/
	#header {
		height: 80px;
		background: rgba(255, 255, 255,1);
	}
	#header.transform {
		height: 68px;
		background: rgba(255, 255, 255, 1);
		/*transition: height .5s ;*/
	}
	.header-cont {
		margin: 0 40px; /*追加*/
		display: -webkit-flex;
		display: flex;
		-webkit-justify-content: space-between;
		justify-content: space-between;
	}

	/* logo ----------------------------------*/
	#header h1 {
		margin-top: 26px;
		/*transition: .5s;*/
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
	}
	#header.transform h1 {
		margin-top: 18px;
	}

	/**globalNavigation for PC --------------*/
	.gnav-mobile {
		display: none;
	}
	#header.transform .gNav-pc {
		line-height: 68px;
	}
	#header.transform .gNav-pc ul li {
		height: 40px;
	}
	#header.transform .gNav-pc ul li.mail a {
		padding: 23px 24px;
	}
}

	/**globalNavigation for Moblie --------------*/
@media screen and (max-width: 960px) { /*タブレット以下*/
	.gNav-pc {
		display: none;
	}

	#header {
		height: 64px;
		position: fixed;
	}
	.header-cont {
		padding: 0;
	}

	#header .logo { /*バック白の設定*/
		width: 100%;
		top: 0;
		left: 0;
		right: 0;
		background-color: transparent;
		background: rgba(255, 255, 255, 1);
		position: fixed;
		z-index: 100;
	}
	#header .logo a {
		width: 265px;
		max-width: 100%;
		margin-left: 3vw;
		padding: 20px 0 0;
		/*padding: 10px 0 0 3vw;*/
		height: 64px; /*バック白の高さ*/
		display: block;
	}


	/* bar icon -*/
	#header .navbar {
		top: 0px;
		right: 0px;
		width: 64px;
		height: 64px; /*高さ*/
		background: #1d5aa4;
		position: fixed;
		z-index: 100;
		transition: background-color .5s ease-in-out;
		cursor: pointer;
	}
	#header .navbar:after {
		bottom: 9px;
		left: 50%;
		color: #fff;
		line-height: 1;
		font-size: 1.1rem;
		font-weight: bold;
		content: "MENU";
		letter-spacing: 1px;
		display: inline-block;
		position: absolute;
		-webkit-transform: translate(-50%,0);
		transform: translate(-50%,0);
	}

	#header .active .navbar:after {
		content: "CLOSE";
		color: #fff;
	}
	#header .navbar .navbar_line {
		height: 22px;
		left: 50%;
		top: 13px;
		width: 34px;
		position: absolute;
		-webkit-transform: translate(-50%,0);
		transform: translate(-50%,0);
	}
	#header .navbar_line span{
		width: 100%;
		height: 4px;
		background: #fff;
		display: block;
		position: absolute;
		transition:transform .3s;
		border-radius: 2px;
	}

	#header .navbar_line-center{
		top: 9px;
	}
	#header .navbar_line-bottom{
		bottom: 0;
	}
	#header .active .navbar_line-top{
		top: 8px;
		background: #fff;
		transform: rotate(45deg);
	}
	#header .active .navbar_line-center{
		transform:scaleX(0);
	}
	#header .active .navbar_line-bottom {
		bottom: 10px;
		background: #fff;
		transform: rotate(135deg);
	}

	/*navigation contents*/
	#header .mob_nav {
		overflow: auto;
		width: 100%;
		height: 100%;
		top: 0;
		margin-top: 64px; /*上部白バー*/
		padding: 0 3vw;
		background: rgba(29, 90, 164, 0.8);
		display: none;
		position: fixed;
		z-index: 98;
	}

	#header .mob_nav-inner {
		width: 100%;
		margin: 0 auto;
		padding-bottom: 70px;
	}
	#header .mob_nav-inner a {
		line-height: 1;
	}
	/*
	#header .navlist-in {
		display: none ;
	}
*/
	#header .mob_nav-content {
		margin: 0 0 16px;
	}
	#header .mob_nav-content > li {
		border-bottom: 1px dotted #fff;
		position: relative; /*0811追加*/
	}

	#header .mob_nav-content li a.navlist,
	#header .mob_nav-content li a {
		padding: 24px 2vw;
		color: #fff;
		font-size: 16px;
		text-decoration: none;
		display: block;
		transition: color .5s;
	}

	#header .mob_nav-content li a:hover,
	#header .mob_nav-content li a:focus {
		/*background: rgba(0, 0, 0, 0.9);*/
		color: #fdf14b;
	}
/*
	#header .mob_nav-content li a.navlist:hover,
	#header .mob_nav-content li a.navlist:focus {
		background: none;
	}

	#header .mob_nav-content li .navlist::after {
		position: absolute;
		right: 3vw;
		content: "\f078";
		font-family: "Font Awesome 5 Free";
		font-weight: 600;
	}
	#header .mob_nav-content li .navlist.active:after {
		content: "\f077";
	}
*/
	#header .mob_nav-content li ul li {
		border-top: dotted 1px #A3C08E;
	}
	#header .mob_nav-content li ul li a {
		padding: 20px 4vw;
	}
}

@media screen and (max-width: 600px) { /*スマートフォン	*/
	#header .logo { /*バック白の設定*/
		width: 100%;
		top: 0;
		left: 0;
		right: 0;
		position: fixed;
		z-index: 100;
	}
}

@media screen and (max-width: 480px) {
	#header .logo a {
		width: 60vw;
		margin-left: 3vw;
	}
}


/*==========================================
 *parts
==========================================*/
/*SNS button -----------------------------*/
.snsBtn li a {
	width: 36px;
	height: 36px;
	margin: 16px 8px 0 0;
	padding: 0;
	color: #333;
	font-size: 2.4rem;
	text-align: center;
	line-height: 36px;
	background: #fff;
	border-radius: 50%;
	display: inline-block;
}

/*==========================================
 *footer
==========================================*/
footer .footer-cont {
	clear: both;
	padding: 0px 0 40px;
	background: #1d5aa4;
	color: #fff;
	font-size: 1.6rem;
}
footer a {
	color: #fff;
	transition: color 0.5s ease-out;
}
footer a:hover,
footer a:focus {
	color: #fdf14b;
	text-decoration: none;
}
footer .fbox {
	-ms-flex-pack: justify;
	-webkit-box-pack: justify;
	justify-content: space-between;
}

/* Left */
footer .details {
	width: 32%;
	margin-top: 60px;
}
footer h1 {
	width: 264px;
	margin-bottom: 12px;
}
footer .phone {
	margin: 0 0 12px;
	font-size: 3.5rem;
	line-height: 1;
	/*background: url(../images/icon_phone.png) left bottom / 30px 30px no-repeat;*/
}
footer .phone img {
	width: 30px;
	margin-right: 8px;
	vertical-align: bottom;
}

footer .address {
	margin: 0 0 32px;
	font-size: 1.8rem;
}
footer .copy {
}

/* Right */
footer nav {
	width: 52%;
	font-size: 1.8rem;
}


@media screen and (min-width: 769px) {
	footer nav ul {
		width: 50%;
		padding-top: 60px;
		border-left: 1px solid rgba(255, 255, 255, 0.5);
	}
	footer nav ul li {
		margin-bottom: 12px;
		padding-left: 26px;
		background: url(images/icon_line.png) left center no-repeat;
	}
}

@media screen and (max-width: 768px) { /*タブレット以下*/
	footer .footer-cont {
		padding: 0px 5vw 20px;
		text-align: center;
	}
	footer .fbox { /* fbox の逆回転*/
		-webkit-flex-direction: column-reverse;
		flex-direction: column-reverse;
	}
	footer .contentsIn {
		padding: 0;
	}

	/* Left */
	footer .details {
		width: 80%;
		margin: 40px auto;
	}
	footer h1 {
		margin: 30px auto 16px;
	}

	/* Right */
	footer nav.fbox {
		width: 100%;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
	}
	footer nav ul {}
	footer nav ul li {
		text-align: left;
		border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
	}
	footer nav ul li a {
		padding: 8px;
		display: block;
	}
}


/*------------------------------------------
 *page top
------------------------------------------*/
@media (min-width: 769px) {
	#pageTop .pt_arrw {display: none;}

	#pageTop-pc {
		width: 990px;
		max-width: 100%;
		margin: 0 auto;
		padding: 0 15px;
	}
	#pageTop-pc a {
		float: right;
		width: 40px;
		height: 40px;
		padding-top: 4px;
		background-color: #1d5aa4;
		display: block;
		color: #fff;
		text-align: center;
	}
	#pageTop .pt_arrw {
		font-size: 2.8rem;
	}
}

@media (max-width: 768px) {
	#pageTop-pc .pt_arrw {display: none;}
	#pageTop {
		position: fixed;
		bottom: 20px;
		right: 20px;
		font-size: 1.2rem;
	}

	#pageTop a {
		width: 42px;
		height: 42px;
		padding: 4px;

		background: #333;
		text-align: center;
		text-decoration: none;
		color: #fff;
		display: block;
		border-radius: 50%;
	}
	#pageTop a:hover {
		text-decoration: none;
		background: #555;
	}

	#pageTop .pt_arrw {
		font-size: 2.8rem;
	}
}


/*==========================================
 *Contents
==========================================*/
.scroll_top { /*ヘッダー用*/
	margin-top: -80px;
	padding-top: 80px;
}

/* text -----------------------------------*/
.txt-center {text-align: center;}
.txt-left {text-align: left;}
.txt-right {text-align: right;}
strong {
	font-weight: normal;
	font-size: 20px;
	font-size: 2.0rem;
}
.text-b {font-weight: 500;}

/* space ----------------------------------*/
.mb4 {margin-bottom: 4px;}
.mb8 {margin-bottom: 8px;}
.mb16 {margin-bottom: 16px;}
.mb20 {margin-bottom: 20px;}
.mb24 {margin-bottom: 24px;}
.mb40 {margin-bottom: 40px;}
.mb80 {margin-bottom: 80px;}


@media screen and (max-width: 960px) {
	.scroll_top { /*ヘッダー用*/
		margin-top: -64px;
		padding-top: 64px;
	}
}

@media screen and (max-width: 768px) {
/* text -----------------------------------*/
	strong {font-size: 1.8rem;}

	/* space ----------------------------------*/
	.mb4 {margin-bottom: 4px;}
	.mb8 {margin-bottom: 8px;}
	.mb16 {margin-bottom: 8px;}
	.mb20 {margin-bottom: 10px;}
	.mb24 {margin-bottom: 12px;}
	.mb40 {margin-bottom: 20px;}
	.mb80 {margin-bottom: 40px;}
}
