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

CARENEXT 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

--------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:700,900');
@import url('https://fonts.googleapis.com/css2?family=Covered+By+Your+Grace&family=Oswald&family=Sawarabi+Gothic&display=swap');

.wrap{
	overflow: hidden;
}

body {
    background-color: #fff7ee;
	font-family: 'Kosugi Maru', 'Rounded Mplus 1c', 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', '游ゴシック', sans-serif;
	overflow-x: hidden!important;
	font-size:18px;
	line-height:1.8;
}

/*ヘッダーメニューアイコン*/

.burger-menu{
	position: fixed;
    top: 0;
    z-index: 9999;
    right: 0;
    width: 100%;
    height: 100%;
	pointer-events: none;
}

.menu {
	position:absolute;
	top: 20px;
	right: 30px;
	height: 46px;
	width: 46px;
	pointer-events: auto;
	}
  
  .menu-link {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 1002;
  }
  
  .menu-icon {
	position: absolute;
	width: 20px;
	height: 14px;
	margin: auto;
	left: 0;
	top: 0;
	right: 0;
	bottom: 1px;
  }

  
  /* ------------- */
  .menu-line {
	background-color: #fff;
	height: 2px;
	width: 100%;
	border-radius: 2px;
	position: absolute;
	left: 0;
	transition: all 0.25s ease-in-out;
  }
  .menu-line-2 {
	top: 0;
	bottom: 0;
	margin: auto;
  }
  .menu-line-3 {
	bottom: 0;
  }
  .menu.open .menu-line-1 {
	transform: translateY(7px) translateY(-50%) rotate(-45deg);
  }
  .menu.open .menu-line-2 {
	opacity: 0;
  }
  .menu.open .menu-line-3 {
	transform: translateY(-7px) translateY(50%) rotate(45deg);
  }
  
  /* ------------- */
  .menu-circle {
	background-color: #e66600;
	width: 100%;
	height: 100%;
	position: absolute;
	border-radius: 50%;
	transform: scale(1);
	z-index: 1000;
	transition: transform 0.3s ease-in-out;
  }

  /*
  .menu:hover .menu-circle {
	transform: scale(1.5);
  }
*/

  .menu.open .menu-circle {
	transform: scale(60);
  }
  
  /* ------------- */
  .menu-overlay {
	background-color: #e66600;
	color: #333;
	height: 100%;
	width: 100%;
	position: fixed;
	transition: opacity 0.2s ease-in-out;
	z-index: 1001;
	opacity: 0;
	visibility: hidden;
  }
  .menu-overlay.open {
	opacity: 1;
	visibility: visible;
  }
  
  /* ------------- */
  .info {
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
  }
  .overlay-info {
	text-align: center;
	color: #111825;
  }

 


/*共通*/

.section-rule{
	padding:200px 0 150px 0;
	position: relative;
}

.row{
    display: -ms-grid;
    -ms-grid-columns: min-content;
}

.lower-head{
	color:#fff;
	position:absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
	z-index: 99;
	text-align: center;
}

.lower-title{
	font-size:3rem;
	font-weight:900;
}

.lower-title:after{
	content:'';
	display: block;
	height:5px;
	width:70%;
	border-top:solid 5px #f5a148;
	position: relative;
	z-index: 99;
	margin:10px auto;
}

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

	.section-rule{
		padding:130px 0 130px 0;
	}

	body{
		font-size:1rem;
	}

	.lower-title{
		font-size:3rem;
	}

}

/*DIVIDER*/
		 
		.divider-triangle-top {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			overflow: hidden;
			line-height: 0;
		}

		.divider-triangle-top svg {
			position: relative;
			display: block;
			width: calc(100% + 1.3px);
			height: 78px;
		}
		
		.divider-triangle-top .shape-fill {
			fill: #fff7ee;
		}

		  
		  .home-title:before {
			position: absolute;
			bottom: -10px;
			left: calc(50% - 30px);
			width: 60px;
			height: 5px;
			content: '';
			border-radius: 3px;
			background: #ff9c4c;
		  }
		  
  /*ヘッダーメニュー*/

  header{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 85px;
	z-index: 9999; 
	
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
	background-color: transparent; 

  }

  header.scrolled {
	background-color: #fff7ee;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
  }

  .header-logo{
	position: relative;
	width: 280px;
	height: 100%;
  }

  .header-logo img{
	width: 100%;
	height: auto;
  }

  .menu-overlay{
	text-align: center;
  }

  .main-nav{
	pointer-events: auto;
	list-style: none;
	font-size: 1.3rem;
	padding: 80px 40px 0 40px;
	text-align: left;
	font-family: 'Oswald', sans-serif;
  }

  .main-nav a{
	color: #fff;
	text-decoration: none;
  }

  .main-nav li{
	margin-bottom: 30px;
  }

  .header-tel svg{
	position: initial;
    top: initial;
    left: initial;
    transform: initial;
	width: 20px;
	fill: #fff;
  }

  .header-contactbtn a._a {
	pointer-events:auto;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(to right, #e66800 50%, #f5a148 50%);
    border: 2px solid #ffffff;
    background-size: 200% auto;
	margin: 0 auto;
}

.header-contactbtn a._a:after{
	border: none;
}

.header-teltex{
	display: flex;
	font-size: 0.8rem;
	justify-content: center;
}

.header-tel{
	font-size: 1.8rem;
	color: #fff;
	margin-bottom: 20px;
}

.header-tel a ,.footer-tel a{
	color: #fff;
	text-decoration: none;
   }


   @media screen and (max-width:756px){
	.header-logo{
		left:10px;
		display: flex;
		align-items: center;
		width:210px;
	  }

	.main-nav{
		font-size:1rem;
	}
	
	}

/* hero section*/

#main-visual{
    position: relative;
	width: 100vw;
	height:100vh;
}

.catch{
    height: 100vh;
    width: 100%;
    padding:0 100px;
    position: absolute;
    display: flex;
    align-items: center;
    z-index: 99;
    box-sizing: border-box;
}

.catch-inner h1{
    font-size: 2rem;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	color:#312300;
	max-height: 60vh;
	overflow: hidden;
}

.catch-inner p{
    font-size:1.5rem;
}

.hero-image {
    color: white;
    height:95vh;
	width: 80%;
	border-bottom-left-radius:50px;
	margin-right:0;
	margin-left:auto;
    padding:15px;
}


@media (max-width: 767px) {

    .catch{
        padding:0 20px;
		justify-content: center;
    }

	.catch-inner h1{
		font-size: 1.5rem;
		max-height: 80vh;
		color: #fff;
	}
    
    .catch-inner p{
        font-size:1rem;
    }

	.hero-image {

		height:100vh;
		width: 100%;
		border-radius:0;
		margin-right:0;
	}
	

}


/*ホーム*/

.about{
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.top-about-wrapper{
	width: 90%;
	max-width: 1280px;
	display: flex;
	border-radius: 20px;
	box-sizing: border-box;
	padding:20px;
	justify-content: center;
	align-items: center;
}

.top-about-wrapper:after{
	content:'';
	width:400px;
	height:400px;
	background: url(assets/images/deco/watercolor-bg-02.svg);
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	right:0;
	bottom:-10%;
	z-index: -1;
}

.top-about-wrapper:before{
	content:'';
	width:450px;
	height:450px;
	background: url(assets/images/deco/watercolor-bg-03.svg);
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	left:-5%;
	top:-5%;
	z-index: -1;
}


.home-title{
	position: relative;
	text-align: center;
	margin-bottom:50px;
	z-index:99;
}

.home-content{
	width:50%;
	position: relative;
	z-index: 99;
	box-sizing: border-box;
}




.top-about-img{
	width:50%;
	position: relative;
	box-sizing: border-box;
}



.top-about-img img{
	width:100%;
	border-radius: 20px ;
	position: relative;
	z-index: 99;
}

.home-text,.home-sub{
	text-align: center;
	line-height: 2.2;

}

.home-sub{
	font-size:2rem;
	color:#e66600;
}

.home-text{
	text-align: left;
	padding:30px;
}

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

	.about{
		flex-direction: column;
	}

	.top-about-wrapper{
		flex-direction: column;
	}

	.home-content{
		width:100%;
	}

	.top-about-img{
		width:100%;
	}
	
	.top-about-img img{
		width:100%;
	}

}

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

	.home-content{
		width:100%;
	}

	.home-text{
		padding:10px;
		font-size:1rem;
	}

	.home-sub,.home-title{
		font-size:1.5rem;
	}

}


/*サービス案内*/

.service{
	background:url(assets/images/topimg/office.jpg);
	background-position:top;
	background-size: cover;
	position: relative;
	z-index: 99;
}

.service:after{
	content: '';
	background-color: rgba(0, 0, 0, 0.5);
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

.service-itemwrap{
	color: #fff;
	margin: 0 auto;
	width: 70%;
	position: relative;
	z-index: 2;
}

.service-item1{
	text-align: center;
	margin: 50px 0;
	width:80%;
	margin:auto;
}


.service-text{
	text-align: left;
	line-height: 2.2;
}

.service-item1 ._a{
	padding: 1rem 1rem;
	margin: 80px auto 0 auto;
	background: linear-gradient(to right, #fff 50%, #f5a148 50%);
	background-size: 200% auto;
}

.service-img{
	position: initial;
    top: initial;
    left: initial;
    transform: initial;
	fill: #e66700;
	width: 200px;
    height: 200px;
    border: solid #e66700 2px;
    padding: 30px;
	border-radius: 50%;
	margin: 0 auto;
	display: block;
}



/*トップ-ブログ*/
.info_wrapper{
	background-image: url(./assets/images/carenext_bg_logo.svg);
	background-repeat: no-repeat;
	background-size:80%;
	background-position: -40%;
}

.blog-slider{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin: 50px auto;
	width:60%;

}

li.blog-tile{
	margin:20px;
	width:calc(50% - 40px);
}

.top-blog-image{
	margin-bottom:20px;
	width:100%;
	height:280px;
	overflow: hidden;
}

.blog-eyecatch{
	width: 100%;
	object-fit: cover;
	transition-duration: 0.3s;
}

.blog-eyecatch:hover{
	transform: scale(1.1);
	transition-duration: 0.3s;
	}

.top-blog-excerpt{
	padding:5px;
}

.news_category{
	background-color: #e66800;
	border-radius: 100vh;
	padding:2px 15px;
	color:#fff;
	margin:0 20px;
}

.news_date{
	font-size:.8rem;
	color:#666;
	border-bottom:1px dotted #999;
	padding-bottom:10px;
}

a.post-title{
	color:#333;
	font-weight:700;
	text-decoration: none;
	margin:10px 0;
	display: inline-block;
}

a.post-title:hover{
	color:#e66800;
	transition-duration: 0.3s;
}

.top-blog-excerpt p{
	font-size:0.8rem;
	color:#999;
}

		@media screen and (max-width:1280px){
			.info_wrapper{
				background-size:100%;
				background-position: top 10% left -40%;
			}

			.blog-slider{
				width:80%;
			}

		}

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

			.blog-slider{
				flex-direction: column;
				width:90%;
			}

			li.blog-tile{
				width:100%;
				margin:30px 0;
			}

			.top-blog-excerpt{
				padding:5px 10px;
			}

			.post-title{
				font-size:0.9rem;
			}

			.news_date{
				font-size:.6rem;
			}

		}

	/*ギャラリースライダー*/

	
	.top-galerie {
		position: relative;
	}

	.autoplay-slider{
		display: flex;
		min-width: 100%;
		width: min-content;
		animation: 50s linear infinite sliderAnimation;
		position: relative;
	}

	.top-galerie:after{
		white-space: pre;
		content:'Believe in yourself!';
		color:#ff9c4c;
		font-family:'Covered By Your Grace', cursive;
		font-size:8rem;
		position:absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		-webkit-transform: translate(-50%, -50%);
		z-index: 10;
	}
	

	/*
	.autoplay-slider:after{
		content: '';
		background-color: rgba(0, 0, 0, 0.4);
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
	}
	*/

	.slide-img{
		height: 500px;
		width: 753px;
		background: #3486eb;
		margin: 0;
		position: relative;
	}

	.slide-img img{
		width:100%;
	}
	
	@keyframes sliderAnimation {
		100% {
		  transform: translateX(-50%);
		}
	  }


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

		.top-galerie:after{
			font-size:3rem;
		}
	}

	/*グリーティング*/

	.greeting-container{
		display: flex;
		justify-content: center;
		align-items: center;
		background: url(assets/images/deco/watercolor-bg-01.svg);
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
	}

	.greeting-txt{
		margin: 0 auto;
		width: 100%;
		padding:30px 50px;
		position: relative;
		text-align: center;

	}

	.greeting-txt p{
		margin: 50px 0;
		line-height: 2.2;
		text-align: left;
		display: inline-block;
		padding:50px;
		border-radius: 5%;
		position: relative;
		z-index: 4;
	}


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

		.greeting-txt{
			padding:30px;
		}

		.greeting-txt p{
			padding:0;
			font-size:1rem;
		}

	}

	@media screen and (max-width:540px){
		.sp-hidden{
			display: none;
		}

		.greeting-container{
			background-size: cover;
		}

	}


	/*インスタ連携*/

	.instagram-feed{
		width:80%;
		margin:auto;
		text-align: center;
		padding:50px 0 100px 0;
	}


	/*アクセスマップ*/
	.map-wrapper{
		background-color: #eee;
	}

	.access-map p {
		margin: 20px 0;
		line-height: 2.2;
	}

	.map-hed{
		margin-top: 50px;
	}

	.access-map{
		display: flex;
		justify-content: center;
		margin: 50px 0;
	}

	.map-text{
		text-align: center;
		margin:0 50px;
	}

	.map-text p{
		text-align: left;
		display: inline-block;
	}

	.map-data{
		width: 600px;
		padding:0 30px;
	}

	/* 007 */
.button007 a {
    background: #ddd;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 50px auto;
    max-width: 240px;
    padding: 10px 25px;
    color: #000;
    transition: 0.3s ease-in-out;
    font-weight: 500;
	text-decoration: none;
}

.button007 a:before {
    content: '';
    position: absolute;
    top: calc(50% - 2px);
    right: -1em;
    transform: translateY(calc(-50% - 2px)) rotate(30deg);
    width: 12px;
    height: 2px;
    background-color: #f5a148;
    transition: 0.3s;
}

.button007 a:after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1em;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background-color: #f5a148;
    transition: 0.3s;
}
.button007 a:hover:before, .button007 a:hover:after {
    right: -0.5em;
}
.button007 a:hover {
    background: #edf6ff;
    color: #f5a148;
}

/*ブログ一覧*/

.blog-bg{
	background-image: url(./assets/images/carenext_bg_logo.svg);
	background-repeat: no-repeat;
	background-size:80%;
	background-position: 50% 10%;
}

.hero-blog{
	height:50vh;
	width:100%;
	position: relative;
}

#blog-p-title{
	color:#333;
}

.info_blog{
	width:70%;
	margin:75px auto;
}

.info_blog li{
	display: flex;
	margin:25px 0;
	align-items: center;
}

.info-blog-image{
	width:auto;
	height:auto;
	overflow: hidden;
	flex-basis: 30%;
}

.info_excerpt{
	padding:20px 30px;
	flex-basis: 70%;
}

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

	.pagination-wrapper{
		text-align: center;
		margin:50px 0;
		width: 90%;
		max-width:980px;
		margin:auto;
	}
	
	.pagination{
		background-color: #eee;
		display: inline-block;
		border-radius:50px ;
		padding:10px 30px;
	}

	.page-numbers{
		display: flex;
		justify-content: center;
	}

	.page-numbers li{
		margin:0 10px;
		width: 50px;
		height:50px;
		text-align: center;
		line-height:50px;
	}

	.page-numbers.current{
		background:#e66800;
		border-radius: 50%;
		width: 100%;
		height:100%;
		color:#fff;
	}

	a.page-numbers{
		text-decoration: none;
		color:#333;
	}

	a.page-numbers:hover{
		background:#e66800;
		border-radius: 50%;
		width: 100%;
		height:100%;
		color:#fff;
		transition-duration: 0.3s;
	}

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

		.info_blog{
			margin:25px auto;
			width: 80%;
		}

		.p-excerpt{
			font-size:0.9rem;
		}
	}

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

		.blog-bg{
			background-size:100%;
		}

		.page-numbers li{
			margin:0 3px;
			width: 30px;
			height:30px;
			text-align: center;
			line-height:30px;
		}
	}

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

		.blog-bg{
			background-position:50% 5%;
		}

		.info_blog li{
			flex-direction: column;
		}

		.info_excerpt{
			padding:20px 0;
		}

	}

		
	/*ブログ個別ページ*/

	.blog-bg{
		margin-bottom:100px;
	}

	.single-head{
		width:50%;
		margin:auto;
		padding-top:150px;
	}

	.single-title{
		color:#333;
		text-align: left;

	}

	.single-title-cont{
		font-size:2rem;
		font-weight:900;
	}

	.entry-content{
		width:50%;
		margin:auto;
		padding:10px;
		margin-bottom:100px;
	}

	.entry-content p{
		line-height:2;
	}

	.nav-links{
		width:50%;
		margin:auto;
		display: flex;
		justify-content:space-between;
		align-items: top;
	}

	.nav-links a{
		text-decoration: none;
		color:#333;
	}

	.next-post{
		text-align: right;
	}

	.nav-previous,.nav-next{
		padding:20px;
	}

	.nav-next{
		margin-left:auto;
	}

	.prev-info,.next-info{
		font-size:0.8rem;
		background-color: #333;
		color:#fff;
		display: inline-block;
		padding:3px 10px;
	}

	.next-info{
		text-align: right;
	}

	.nav-title{
		padding:3px 10px;
		font-size:1rem;
		font-weight:900;
	}

	.nav-previous a:hover .nav-title,
	.nav-next a:hover .nav-title{
		color:#e66800 ;
		transition-duration: .3s;
	}

	.nav-previous a:hover .prev-info,
	.nav-next a:hover .next-info{
		background-color:#e66800 ;
		transition-duration: .3s;
	}

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

		.single-head,
		.entry-content,
		.nav-links{
			width:70%;
		}
	}

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

		.single-head,
		.entry-content,
		.nav-links{
			width:80%;
		}

		.nav-title{
			font-size:0.8rem;
		}

		.nav-previous,.nav-next{
			flex-basis: 50%;
		}
	}

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

		.single-head,
		.entry-content,
		.nav-links{
			width:90%;
		}

		.single-title-cont{
			font-size:1.5rem;
			margin-bottom:20px;
		}

	}
	
	/*よくあるご質問*/

	.faq-wrapper{
		background-color: #122b39;
	}

	.faq-wrapper h2{
		color: #fff;
	}

	

	/*=========
	accordion
	=========*/

	.accordion_area .accordion_one .ac_header {
	background-color: #ffffff;
	border: 1px solid #ccc;
	padding: 1rem 4rem 1rem 2rem;
	position: relative;
	z-index: +1;
	cursor: pointer;
	transition: .2s;
	}
	.accordion_area .accordion_one .ac_header:not(.open):hover {
	background-color: #f5a148;
	}
	.accordion_area .accordion_one:nth-child(odd) .ac_header {
	background-color: #fff;
	}
	.accordion_area .accordion_one:nth-child(odd) .ac_header:not(.open):hover {
	background-color: #f5a148;
	}
	.accordion_area .accordion_one .ac_header .i_box {
	position: absolute;
	top: 50%;
	right: 2rem;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	}
	.accordion_area .accordion_one .ac_header .i_box:before, .accordion_area .accordion_one .ac_header .i_box:after {
	position: absolute;
	content: "";
	margin: auto;
	box-sizing: border-box;
	vertical-align: middle;
	}
	.accordion_area .accordion_one .ac_header .i_box:before {
	border-top: 2px solid #014897;
	width: 20px;
	height: 0;
	top: 0;
	bottom: 0;
	right: 0;
	}
	.accordion_area .accordion_one .ac_header .i_box:after {
	border-left: 2px solid #014897;
	width: 0;
	height: 20px;
	top: 0;
	bottom: 0;
	right: 9px;
	transition: .3s;
	}
	.accordion_area .accordion_one .ac_header.open .i_box:after {
	height: 0;
	}
	.accordion_area .accordion_one .ac_inner {
	display: none;
	padding: 1rem 2rem 1rem 2rem;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	box-sizing: border-box;
	background: #fff;
	}
	@media screen and (max-width: 736px) {
	.accordion_area .accordion_one .ac_header {
		padding: 1rem 2rem 1rem 1.0rem;
	}
	.accordion_area .accordion_one .ac_header .i_box {
		right: 0.8rem;
		width: 15px;
		height: 15px;
		margin-top: -7px;
	}
	.accordion_area .accordion_one .ac_header .i_box:before {
		width: 15px;
	}
	.accordion_area .accordion_one .ac_header .i_box:after {
		height: 15px;
		right: 7px;
	}
	.accordion_area .accordion_one .ac_inner {
		padding: 1rem 1.5rem 1.5rem 1rem;
	}
	}

	/*=========
	faq
	=========*/

	.p-faq__headinner {
	display: block;
	padding-left: 35px;
	position: relative;
	line-height: 1.5;
	font-size: 1rem;
	}
	.p-faq__headinner::before {
	position: absolute;
	left: 0;
	content: "Q．";
	color: #09357f;
	}

	@media screen and (max-width: 736px) {
	.p-faq__headinner {
		padding-left: 25px;
		font-size: 0.9rem;
	}

	}
	.p-faq__bodyinner {
	display: block;
	padding-left: 35px;
	position: relative;
	line-height: 1.5;
	font-size: 1rem;
	}
	.p-faq__bodyinner::before {
	position: absolute;
	left: 0;
	content: "A．";
	color: #de0000;
	font-weight: bold;
	}

	@media screen and (max-width: 736px) {
	.p-faq__bodyinner {
		padding-left: 25px;
		font-size: 0.9rem;
	}

	}

	/*=========
	base
	=========*/

	.s_section {
	max-width: 1020px;
	margin: 0 auto;
	padding: 50px 0;
	}
	
	.gutter>*:not(:last-child) {
	margin-bottom: 1.5rem;
	}

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

	}
	ul.list-disc {
	margin-bottom: 0;
	padding-left: 0;
	}
	.list-disc__item {
	margin-left: 1.5em;
	list-style: disc;
	}
	a._a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 300px;
	margin: 0 auto;
	padding: 1.0em 1.0em;
	border: 1px solid #222222;
	background: linear-gradient(to right, #fff 50%, #f5a148 50%);
	background-size: 200% auto;
	box-sizing: border-box;
	color: #222222;
	/*
	font-size: 14px;
	*/
	text-decoration: none;
	text-align: center;
	transition: .3s;
	position: relative;
	}
	a._a:after {
	content: "";
	position: absolute;
	right: -5px;
	bottom: -5px;
	width: 100%;
	height: 100%;
	border-right: 1px solid #222222;
	border-bottom: 1px solid #222222;
	}
	a._a:hover {
	color: #ffffff;
	background-position: -100% 0;
	}

/************************************
** お問い合わせフォームの入力
************************************/

	.form-wrapper{
	background: #fff;
	padding: 50px 20px;
	margin: 20px;
	}

	.form-wrapper .home-title{
		margin-bottom: 50px;
	}

	.form-sub{
		text-align: center;
		line-height: 2;
		margin-bottom: 50px;
		font-size: 1rem;
	}

	.form-sub p{
		display: inline-block;
		text-align: left;
	}

	#cf-tbl{
	margin:auto;
	width: 70%;
	}
	
	#cf-tbl table{
	width: 100%;
	border-collapse: collapse;
	border: solid #CCC;
	border-width: 1px;
	color: #444;
	}
	#cf-tbl table tr th,
	#cf-tbl table tr td{
	padding: 20px;
	text-align: left;
	vertical-align: top;
	border: solid #CCC;
	border-width: 1px;
	vertical-align: middle;
	}
	#cf-tbl table tr th{
	width: 35%;
	background: #eee;
	}
	@media screen and (max-width:768px){
	#cf-tbl{
	width: 100%;
	}
	
	#cf-tbl table,
	#cf-tbl table tbody,
	#cf-tbl table tr,
	#cf-tbl table tr th,
	#cf-tbl table tr td{
	display: block;
	}
	
	#cf-tbl table{
	width: 100%;
	border-width: 0 0 1px 0;
	}
	
	#cf-tbl table tr th,
	#cf-tbl table tr td{
	width: 100%;
	padding: 3% 5%;
	}
	
	#cf-tbl table tr td{
	border-width: 0px 1px 0px 1px;
	}
	}
	/*「必須」文字デザイン*/
	.required{
	font-size:.8em;
	padding: 5px;
	background: #e66600;
	color: #fff;
	margin-right: 5px;
	}
	
	/*「任意」文字デザイン*/
	.optional{
	font-size:.8em;
	padding: 5px;
	background: #122b39;
	color: #fff;
	margin-right: 5px;
	}
	
	/* 入力項目を見やすく */
	input.wpcf7-form-control.wpcf7-text,
	textarea.wpcf7-form-control.wpcf7-textarea {
		width: 100%;
		padding: 8px 15px;
		margin-right: 10px;
		margin-top: 10px;
		border: 1px solid #d0d5d8;
		background-color: #eff1f5;
	}
	textarea.wpcf7-form-control.wpcf7-textarea {
		height: 200px;
	}
	
	/* 「送信する」ボタン */
	input.wpcf7-submit {
		display: block;
		padding: 15px;
		width: 400px;
		background: #f5a148;
		color: #fff;
		font-weight: 700;
		margin: 60px auto 0;
	}

	@media screen and (max-width:768px){
		input.wpcf7-submit {
		width: 250px;
		}
	}
	
	input.wpcf7-submit:hover {
		box-shadow: 0 15px 30px -5px rgba(0,0,0,.15), 0 0 5px rgba(0,0,0,.1);
		transform: translateY(-4px);
		opacity:0.7;
	}
	/* エラーメッセージを見やすく */
	span.wpcf7-not-valid-tip,
	.wpcf7-response-output.wpcf7-validation-errors {
		color: red;
		font-weight: 600;
	}

/************************
 Service/works Page
************************/

.works-subflow{
	text-align: center;
	position: relative;
}


.home-works{
	background: #fff;
}

.works-top{
	padding: 100px 30px;
    text-align: center;
	margin: auto;
    width: 60%;
	position: relative;
}

.works-sub-en{
	color:#e66600;
	text-align: center;
}

.works-subtitle{
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-size: 2.8rem;
	color: #000;
	line-height: 1.2;
	margin-bottom:3rem;
	margin-top:10px;
	text-align: center;
}

.works-text {
    line-height: 2;
	margin-bottom:30px;
    text-align: left;
    display: inline-block;
}

.works-top-img{
	width:200px;
}

.works-content-divider-01{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.works-content-divider-01 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 200px;
}

.works-content-divider-01 .shape-fill {
    fill: #fff;
}

.works-content{
	position: relative;
	background-color: #ffeddb;
}

/** works two point **/

.about-works{
	display: flex;
    text-align: center;
	justify-content: center;
	margin: 0 auto 100px auto;
	width: 90%;
	position: relative;
}

.about-works-box{
	padding:30px;
	margin: 0 25px;
    width: calc(100% / 2 - 10%);
	position: relative;
	z-index: 9;
	background-color:#f4ffff;
	border-radius: 50px;
	border:solid 5px #28baba;
}

.works-box-title{
	background: #28baba;
	color: #fff;
	margin-bottom: 20px;
	padding:5px 30px;
	border-radius: 50px;
	display: block;
	position: relative;
}
  

.works-box-text{
	text-align: left;
	line-height: 2;
}

/** works A/B comparison **/

.works-comparison{
	padding: 100px 30px 100px 30px;
	position: relative;
}

	/*works table*/
	.home-works table {
		border-collapse: collapse;
		margin:auto;
		padding: 0;
		width: 70%;
		table-layout: fixed;
		color: #000;
		position: relative;
		z-index: 9;
	}

	.home-works table tr {
		background-color: #fff;
		padding: .35em;
		border-bottom: 1px solid #bbb;
	}

	.home-works table thead{
		border-bottom: 5px solid #ff9900;
	}

	.home-works table tr:last-child{
		border-bottom: none
	}

	.home-works table th,
	.home-works table td {
		padding: 1em 10px 1em 1em;
		border-right: 1px solid #bbb;
	}

	.home-works table th:last-child,
	.home-works table td:last-child{
		border: none;
	}
	tbody th {
		color: #000;
	}

	.txt{
		font-size: .85em;
	}

	.b-txt-strong{
		font-weight: 900;
		color:#e66600;
	}

	.b-focus{
		background-color:#fff9f4;
	}


	@media screen and (max-width: 710px) {
		.home-works table {
		border: 0;
		width:100%
		}
		.home-works table th{
		display: block;
		border-right: none;
		border-bottom: 5px solid #ff9901;
		padding-bottom: .6em;
		margin-bottom: .6em;
	
		}
		.home-works table thead {
		border: none;
		clip: rect(0 0 0 0);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		width: 1px;
		}
		
		.home-works table tr {
		display: block;
		margin-bottom: 2em;
		}
		
		.home-works table td {
		border-bottom: 1px solid #bbb;
		display: block;
		text-align: right;
		position: relative;
		padding: .625em .625em .625em 4em;
		border-right: none;
		}
		
		.home-works table td::before {
		content: attr(data-label);
		font-weight: bold;
		position: absolute;
		left: 10px;
		}
		
		.home-works table td:last-child {
		border-bottom: 0;
		}
	}

	/*works table*/

.works-content-divider-02 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.works-content-divider-02 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 200px;
    transform: rotateY(180deg);
}

.works-content-divider-02 .shape-fill {
    fill: #fff4ea;
}

/** works wage **/

.works-wage{
	padding:100px 30px;
	background: #fff4ea;
	width: 100%;
}

.works-wage-content{
	margin: 50px auto;
    width: 80%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wage-illust{
	width:15%;
}

.wage-illust img{
	width: 100%;
}

.wage-illust-sp{
	display: none;
}

.works-wage-box{
    background: #f4ffff;
    padding: 30px;
	border-radius: 50px;
	border:solid 5px #28baba;
	position: relative;
	width:60%;
}

/** works Qualification **/

.works-qualifi{
	padding:100px 30px;
	background: #fff4ea;
}

.target-icon{
	width:30%;
	margin:0 auto 30px auto;
}

.target-icon img{
	width: 100%;
}

.works-qualifi-sub{
	margin:20px 0 50px 0;
}

/*Qualification list*/

.works-list {
	padding: 0;
	position: relative;
	width: 70%;
	margin: auto;
  }
  
  .works-list li {
	color: black;
	border-left: solid 8px orange;/*左側の線*/
	background: #fff;/*背景色*/
	margin-bottom: 5px;/*下のバーとの余白*/
	line-height: 1.5;
	border-radius: 0 15px 15px 0;/*右側の角だけ丸く*/
	padding: 0.5em;
	list-style-type: none!important;
  }

/*works schedule*/

  .works-schedule{
	position: relative;
  }

  .works-content-divider-03 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
	}

	.works-content-divider-03 svg {
		position: relative;
		display: block;
		width: calc(100% + 1.3px);
		height: 200px;
	}

	.works-content-divider-03 .shape-fill {
		fill: #fff4ea;
	}

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

	.works-top,.home-works table,.works-wage-content{
		width:90%;
	}

	.about-works{
		flex-direction: column;
	}

	.about-works-box{
		width: 80%;
		margin:auto;
		margin-top:30px;
	}

	.target-icon{
		width: 50%;
	}

	.works-list{
		width: 90%;
		text-align: left;
	}

}

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

	.works-subtitle{
		font-size: 2rem;
	}
	
	.works-top,.home-works table,.works-wage-content{
		width:100%;
	}
	
	.about-works-box,.works-wage-box{
		width: 100%;
	}

	.works-wage-content{
		flex-direction: column;
		margin-bottom:50px;
	}

	.wage-illust{
		display: none;
	}

	.wage-illust-sp{
		display: block;
		width: 200px;
		margin:0 auto 0 auto;
	}

	.works-wage-box{
		width: 100%;
	}

	.target-icon{
		width: 80%;
	}

}

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

	.works-top{
		padding-bottom:50px;
	}

	.works-comparison,
	.works-wage,
	.works-qualifi{
		padding:50px 30px;
	}

	.works-subtitle{
		font-size: 1.8rem;
	}

	.about-works-box,
	.works-wage-box{
		padding:20px;
		border:solid 3px #28baba;
	}

	.works-box-title{
		font-size: 1rem;
	}

	.target-icon,.works-list{
		width: 100%;
	}

	.works-content-divider-01 svg,
	.works-content-divider-02 svg,
	.works-content-divider-03 svg   {
		height: 100px;
	}

}

/*step bar*/

.step-flow{
	display: flex;
	justify-content: center;
	position: relative;
	z-index: 9;
}

.step-flex1,.step-flex2{
	padding: 50px;
}

.step-flow .service-title{
	color: #000;
}

.stepbar {
	background-color: #fff;
    margin: 0px;
    padding: 50px;
  }
  
  .stepbar .stepbarwrap {
	margin: 2em 0;
	position: relative;
  }
  
  .stepbar .stepbarwrap .steptitle {
	display: inline-flex;
	align-items: center;
	z-index: 1;
    position: inherit;
  }
  
  .stepbar .stepbarwrap .steptitle .stepcircle {
	display: inline-block;
	width: 5em;
	height: 5em;
	content: "";
	border-radius: 50%;
	background-color: #28baba;
	color: #fff;
	text-align: center;
  }
  
  .stepbar .stepbarwrap .steptitle .stepcircle span {
	display: inline-block;
	line-height: 1.2em;
	font-size: 0.8em;
	font-weight: bold;
	position: relative;
	top: 2em;
  }
  
  .stepbar .stepbarwrap .steptitle .title {
	margin: 0.5em;
	font-weight: bold;
	font-size: 1.2em;
	color: #28baba;
  }
  
  .stepbar .stepbarwrap .steptxt {
	padding-left: 5.7em;
  }
  
  .stepbar .stepbarwrap .steptxt .txt {
	font-size: 1em;
  }
  
  .stepbar .stepbarwrap .stepline {
	width: 4px;
	height: calc(100% + 1em);
	background-color: #28baba;
	position: absolute;
	top: 1em;
	left: 2.5em;
  }
  
  .stepbarwrap:last-of-type .stepline:last-of-type {
	display: none;
  }

  /*FAQページ*/
  .hero-faq{
	background-image: url(./assets/images/care-next-corp.jpg);
	background-size: cover;
	background-position: center;
	height:50vh;
	width:100%;
	position: relative;
}

.hero-faq:after{
	content: '';
	background-color: rgba(0,0,0,.5);
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

.faq-page{
	margin: 20px 0;
	padding:30px;
}

.faq-page h2{
	text-align: center;
    margin: 20px;
}

/************************
 Gallery Page
************************/

.gallery-wrapper{
	width:90%;
	max-width: 980px;
	margin:auto;
}


/*フッター*/
.site-footer
{
  background-color:#122b39;
  color:#fff;
  padding-top:50px;
}

.site-footer svg{
  position: initial;
  top: initial;
  left: initial;
  transform: initial;
  fill: #fff;
  width: 180px;
}

.footer-bottom{
	display: flex;
    margin: auto;
    width: 70%;
}

.footer-links{
	list-style: none;
	width: 30%;
	padding: 30px 0;
	border-top: 1px solid #fff;
}

.footer-links2,.footer-links3{
	list-style: none;
	width: 30%;
	padding: 30px 0;
	border-top: 1px solid #fff;
}

.footer-links a,.footer-links2 a,.footer-links3 a{
	color: #fff;
    text-decoration: none;
}

.footer-links li,.footer-links2 li,.footer-links3 li{
	margin: auto;
	padding: 10px 0;
}

.footer-logo{
	display: flex;
	align-items: center;
	margin-right: auto;
}

.footer-contact svg{
	width: 25px;
}

.footer-contact{
	font-size: 30px;
	display: flex;
	align-items: center;
}

.footer-head{
	display: flex;
	align-items: center;
	margin: auto;
	width: 70%;
	padding: 0 0 30px 0;
}

.footer-teltex{
	font-size:0.8rem;
	display: flex;
}

.footer-tel{
	text-align: center;
	margin-right: 2rem;
}

.footer-contactbtn a._a{
	font-size: 14px;
	color: #fff;
	background: linear-gradient(to right, #e66800 50%, #f5a148 50%);
	border: 1px solid #ffffff;
	background-size: 200% auto;
}

.footer-contactbtn a._a:hover{
	color: #fff;
    background-position: -100% 0;
}

.footer-contactbtn a._a:after{
	border: none;
}

.footer-copy{
	margin-top:50px;
	text-align: center;
	font-size: 0.5rem;
}

/*レスポンシブ*/
@media screen and (max-width: 600px) {

	.menu{
		top: 20px;
		right: 20px;
	}

	.service-text,a._a,.greeting p,.form-sub{
		font-size: 0.9rem;
	}

	.service-itemwrap,.greeting,.Corporate{
		width: 100%;
	}

  }

  @media screen and (min-width: 600px) {

	.main-nav{
		text-align: center;
	}
}

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

	.footer-head{
		display: block;
		width: 100%;
		padding: 0 0 30px 0px;
	}

	.footer-contact{
		display: block;
		padding: 20px 0 0 0;
	}

	.footer-tel{
		margin: 0;
		padding-bottom: 20px;
	}

	.footer-teltex{
		justify-content: center;
	}

	.footer-links,.footer-links2,.footer-links3{
		display: none;
	}

	.home-service .home-text{
		padding: 0;
	}

	.footer-logo{
		justify-content: center;
	}

	.footer-logo svg{
		width: 150px;
	}

	.bg{
		justify-content: center;
		display: flex;
		border-top: none !important;
		padding: 0 !important;
		margin: auto;
	}
}

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


	.form-wrapper{
		margin: 10px;
	}


	.access-map{
		display: block;
		margin: 50px 0;
	}

	.map-text,.map-data{
		padding:0;
	}

	.map-data{
		width: 100%;
	}

	.service-box1,.service-box2{
		display: block;
	}

	.service-box1{
		margin: 0 auto;
	}

	.service-item{
		width: 250px;
		margin: 50px auto;
	}

	.service-img{
		width: 150px;
		height: 150px;
	}

	.step-flow{
		display: block;
	}

	.step-flex1{
		padding: 0;
	}

	.step-flex2{
		padding: 20px 0;
	}
  }

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

	.logo-title{
		font-size: 15px;
	}

	.footer-tel{
		font-size: 20px;
	}

	.footer-contact svg{
		width: 20px;
	}
  }

  /**/
  li{
  list-style: none;
}

.bg{
	width: 70%;
	border-top: 1px solid #fff;
    padding: 30px 0;
}

.sns-wrap{
	z-index: 99;
	display: flex;
	justify-content: end;
}
  
.sns-wrap ul{
	display: flex;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0 solid #fff;
    border-width: 0 0 1px 1px;
  }
.sns-wrap li{
    box-sizing: border-box;
    padding: 15px 20px;
    border: 0 solid #fff;
    border-width: 1px 1px 0 0;
   }

.sns-wrap li :hover .fa{
	animation: hoverIcon .65s;
   }

.sns-wrap a{
    display: block;
    font-size: 20px;
  }

.sns-wrap .fa{
    color: #fff;
  }

@keyframes hoverIcon{
  25% {
    transform: scale(1.25)
  }
  50% {
    transform: scale(.8)
  }
  75% {
    transform: scale(1.5)
  }
  100% {
    transform: scale(1)
  }
}
.github:hover{
    background: linear-gradient(rgba(80,80,80,.5), rgba(80,80,80,1));
}
.facebook:hover{
    background: linear-gradient(rgba(49,74,126,.5), rgba(49,74,126,1));
}
.twitter:hover{
  background: linear-gradient(rgba(0,250,250,.2), rgba(0,250,250,1));
}
.codepen:hover{
  background: linear-gradient(rgba(0,0,0,.1), rgba(0,0,0,1));
}
.sns-main__item.instagram:hover{
  background: radial-gradient(circle farthest-corner at 32% 106%,
    rgba(255, 225, 125,.5) 0%,
    rgba(255, 205, 105,.5) 10%,
    rgba(250, 145, 55,.5) 28%,
    rgba(235, 65, 65,.5) 42%),
    linear-gradient(135deg,rgba(35, 75, 215,.5),rgba(195, 60, 190,.5));
}
.sns-main__item.pinterest:hover{
  background: linear-gradient(rgba(179,18,23,.2), rgba(179,18,23,1));
}
.sns-main__item.dribbble:hover{
  background: linear-gradient(rgba(234,76,137,.2), rgba(234,76,137,1));
}


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

.company-wrapp{
    width: 90%;
	max-width: 980px;
	margin: auto;
    padding:80px 0;
}

.company-info dl {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 0px;
    margin-top:80px;
  }

  
@media (min-width: 769px) {/* PC表示時のdtとddの幅 */
    .company-info dl {
      grid-template-columns: 2fr 5fr; /* dt25%、ddの75% */
    }
  }

  
  .company-info dt, .company-info dd {
    margin: 0;
    padding: 20px 10px;
    border-bottom: 1px dotted #ccc;
    position: relative; 
  }

  .company-info dd{
	padding-left:20px;
  }

  .company-info dt::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background-color: #ccc;
  }

  @media (max-width: 768px) {
  .company-info dd:last-of-type,.company-info dt:last-of-type {
    border-bottom: none; /* 最後のddにはボーダーを追加しない */
  }


  .company-info dl {
	grid-template-columns: 1fr;
	}

.company-info dt {
	border-bottom: none;
	background-color: #f5a148;
	}

.company-info dd{
	border-bottom: none;
}

.company-info dt::after {
	content:none;
}
  }