/*
Theme Name: oasis2023
Theme URI: 
Author: Matsuda Design
Author URI: 
Description: オアシス専用テーマ
Requires at least: 6.0
Tested up to: 6.2.2
Requires PHP: 5.7
Version: 0.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oasis2023
Tags: 
*/


/*===============
 *  style
 * ==============*/
.is-style-fixed-top{
	position:fixed;
	top:55px;
	right:15px;
	z-index:11;
}
.is-style-fixed-top a{
	display:block;
	padding-top:25px;
	width:130px!important;
	height:130px;
	box-shadow:0 0 15px 0 rgba(0,0,0,0.2);
}

.is-style-relative{
	position:relative;
}

.is-style-column-relative{
	position:relative;
}

.is-style-table-underline table tr,
.is-style-table-underline table td{
	border:none;
}
.is-style-table-underline table tr td{
	border-bottom:1px solid #CCC;
}
.is-style-table-underline table tr td:first-child{
	font-weight:700;
}
.is-style-footer-bg{
	background:url(assets/images/bg_footer.png) repeat-x top center;
}
.is-style-illust-right {
	position:absolute;
	bottom:-30px;
	right:-30px;
	z-index:2;
}
.is-style-illust-left {
	position:absolute;
	bottom:-30px;
	left:-30px;
	z-index:2;
}

.is-style-button-arrow a{
	background:url(assets/images/btn_arrow.png) no-repeat center right 20px;
	transition:all linear 0.3s;
}
.is-style-button-arrow:hover a{
	background:url(assets/images/btn_arrow.png) no-repeat center right 10px;
	opacity:0.7;
}
	.is-style-fixed-top q{
		width:120px;
		height:120px;
		position:fixed;
		top:auto;
		bottom:15px;
		font-size:0.8em;
	}
@media(max-width:1400px){
	.is-style-fixed-top q{
		width:120px;
		height:120px;
		position:fixed;
		top:auto;
		bottom:15px;
		font-size:0.8em;
	}
}

/*===============
 *  common
 * ==============*/
a img{
	transition:all linear 0.3s;
}
a img:hover{
	opacity:0.7;
}
.text-center{
	text-align:center;
}
.wp-block-button a{
	transition:all linear 0.3s;
}

.wp-block-button a:hover{
	opacity:0.7;
}


/*===============
 *  main
 * ==============*/
main{
	overflow-x:hidden;
}

/*===============
 *  header
 * ==============*/
header{
	box-shadow:0 0 20px rgba(0,0,0,0.2);
}
header.fixed{
	position:fixed;
	top:0;
	left:0;
	width:100%;
	background:var(--wp--preset--color--white);
	z-index:10;
	margin:0;
	height:70px;
}
@media(max-width:781px){
	header .logo img{
		width:180px;
	}
}


/*===============
 *  mv
 * ==============*/
#mv{
	position:relative;
	background:linear-gradient(to top,var(--wp--preset--color--lorange) 70%,var(--wp--preset--color--white) 70%);
}
#mv .textArea{
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%);
	border-radius:12px;
}
#mv:before{
	display:block;
	content:'';
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;
	background:var(--wp--preset--color--white);
	animation:bgAnime 0.7s 2s forwards; 
}
@keyframes bgAnime {
	0%{
		transform:scalex(1);
	}
	100%{
		transform:scalex(0);
	}
}

@media(max-width:781px){
	#mv .textArea{
		width:100%;
		top:auto;
		left:auto;
		position:relative;
		transform:translate(0,0);
		padding:10px!important;
	}
	#mv .textArea h1{
		font-size:30px!important;
	}
}

/*===============
 *  metaslider
 * ==============*/
@media(min-width:782px){
.metaslider .flexslider ul.slides .caption-wrap {
    position: absolute;
    bottom: 30%;
    left: auto;
		right:0;
    background: rgba(255,255,255,0.8);   
    opacity: 1;
    margin: 0;
    display: block;
    width: 50%;
	border-radius:24px 0 0 24px;
	padding-left:2em;
    
}
.metaslider .flexslider ul.slides .caption-wrap .caption{
	font-family:'Noto Serif JP';
	line-height: 2;
	font-size:clamp(1.3em,2.5vw,6em);
	color: var(--wp--preset--color--orange);
	text-align:left;
	width:100%;
}
}

.metaslider .flexslider .flex-direction-nav li a {
  width: 30px;
  height: 30px;
  border: 0;
  box-shadow: none !important;
  display: block;
  background-color: transparent;
  background-image: url('https://oasis-care.site/wp-content/uploads/2023/07/arrowleft-thin_o.svg');
  background-repeat: no-repeat;
  position: absolute;
  right: 10px;
  top: 50%;
  z-index: 10;
  cursor: pointer;
  text-indent: -9999px;
  opacity: 0;
  -webkit-transition: all .3s ease;
  -moz-transition: opacity .25s ease-in-out;
  transition: all .3s ease;
}
.metaslider .flexslider .flex-direction-nav li.flex-nav-next a {
  background-image: url('https://oasis-care.site/wp-content/uploads/2023/07/arrowright-thin_o.svg');
}


@media(max-width:781px){
	.metaslider .flexslider ul.slides .caption-wrap {
		background: rgba(255,102,0,0.9); 
		border-radius:0 0 10px 10px;
	}
	.metaslider .flexslider ul.slides .caption-wrap .caption{
		padding:10px;
		font-weight:700;
	}
}

/*===============
 *  home
 * ==============*/

/*===============
 *  bread
 * ==============*/
.yoast-breadcrumbs{
	font-size:0.9em;anchor-point
}

@media(min-width:782px){
	#staff_voice{
		position:relative;
		margin-top:-8vw;
		z-index:2;
	}
}

.page-mv a{
	pointer-events:none;
}

/*===============
 * form
 * ==============*/
span.require{
	display:inline-block;
	background:#C00;
	color:var(--wp--preset--color--white);
	padding:0 5px;
	border-radius:4px;
	font-size:0.7em;
	margin-left:0.5em;
}

form p{
	margin-bottom:1.5em;
}

input[type=text],input[type=email],input[type=tel],textarea{
	width:95%;
	padding:0.7em;
	border:1px solid #CCC;
	border-radius:7px;
	font-size:1em;
}
select{
	padding:0.7em;
	border:1px solid #CCC;
	border-radius:7px;
	font-size:1em;
}
input[type=text]:focus,input[type=email]:focus,input[type=tel]:focus,textarea:focus{
	background:#f4f4f4;
}
input[type=tel].small,input[type=text].small{
	width:8em;
	margin:5px 0;
}
input[type=text].medium{
	width:60%;
	margin:5px 0;
}
input[type=submit]{
	background:var(--wp--preset--color--orange);
	color:var(--wp--preset--color--white);
	font-size:1.1em;
	padding:10px 30px;
	border-radius:30px;
	box-shadow:0 7px 0 rgba(0,0,0,0.7); 
	border:none;
}

@media(max-width:781px){
	input[type=text],input[type=email],input[type=tel],textarea{
		width:95%;
	}
}

table.form{
	width:100%;
}
table.form tr th{
	padding:10px 0;
	text-align:left;
	vertical-align:top;
	border-bottom:1px solid #CCC;
}
table.form tr td{
	padding:10px 0;
	border-bottom:1px solid #CCC;
}

@media(max-width:767px){
table.form tr td{
	display:block;
	width:100%;
}	
table.form tr th{
	padding:10px 0 0 0;
	border-bottom:none;
	display:block;
	width:100%;
}	
}