/*!
Theme Name: andwell-being
Theme URI: http://underscores.me/
Author: andwell-being
Author URI: https://andwell-being.com/
Description: Simple responsive theme for &well being
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: andwell-being
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ----------
 * 追加
 * ---------- */
:root {
	--text-color: #100a59;
	--sub-color: #34a4d4;
}
/* ----------
 * layout
 * ---------- */
#wrapper {
	position: relative;
	overflow: hidden;
}
.page {
	margin: 0;
}
section {
	position: relative;
	width: 100%;
	margin: 60px auto;
	padding: 0 5.3333vw;
	box-sizing: border-box;
}
section.pd {
	margin: 0 auto;
	padding: 60px 5.3333vw;
}
.inner {
	max-width: 1300px;
	margin: 0 auto;
}
.inner.narrow {
	max-width: 1000px;
}
/* ----------
 * common
 * ---------- */
body {
	color: var(--text-color);
	font-family: "Noto Sans", sans-serif;
	font-size: .875rem;
	letter-spacing: .1em;
	text-indent: .1em;
}
ul, ol {
	margin: 0 0 1.5em;
	padding: 0;
}
ul.none, ol.decimal {
	list-style: none;
}
ol.decimal {
	counter-reset: number 0;
}
ol.decimal li {
	position: relative;
	padding-left: 1.5em;
	margin-bottom: .5em;
}
ol.decimal li::before {
	counter-increment: number 1;
	position: absolute;
	top: 0;
	left: 0;
	content: counter(number) ".";  
}
img {
	display: block;
}
table, tbody {
	border-collapse: collapse;
}
a.none {
	text-decoration: none;
}
a:hover, a:focus, a:active {
	outline: none;
}
p {
	text-align: justify;
}
.pc, .pc2, .pc3 {
	display: none !important;
}
.ct {
	text-align: center;
}
.r {
	text-align: right;
}
.l {
	text-align: left;
}
::selection {
	background: rgba(30, 65, 155, .7);
	color: #fff;
}
/* heading */
h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	line-height: 1.35;
}
.sec_title {
	width: 95%;
	margin: 0 0 1.5em -5.3333vw;
	padding: 0 0 .5em 30px;
	border-bottom: 6px solid var(--text-color);
	font-size: 2em;
	font-weight: 900;
}
.sec_title.r {
	margin-left: calc(5% + 5.3333vw);
	padding: 0 30px .5em 0;
	text-align: right;
}
/* animation */
.fd-up,
.dfd-up {
	opacity: 0;
	filter: blur(5px);
	transition: all .5s ease;
	transform: translateY(25px);
}
.fd-up.is-active,
.dfd-up.is-active {
	opacity: 1;
	filter: none;
	transform: scale(1.0) translate(0, 0);
}
.sec_title,
.mask {
	opacity: 0;
	clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0 100%);
	transition: all .65s cubic-bezier(.215, .61, .355, 1) .35s;
}
.sec_title.is-active,
.mask.is-active {
	opacity: 1;
	clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0 100%);
}
#wrapper,
.page_header {
	opacity: 0;
	transition: all 1s cubic-bezier(.215, .61, .355, 1);
}
#wrapper.is-active,
.page_header.is-active {
	opacity: 1;
}
/* ----------
 * header
 * ---------- */
.site-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 60px;
	padding: 0 10px 0 5.3333vw;
	box-sizing: border-box;
	transition: background .5s ease;
	z-index: 100;
}
.site-header.is-scroll {
	background: #fff;
}
.site-branding {
	height: 100%;
	width: 150px;
}
.site-title {
	display: flex;
	align-items: center;
	height: 100%;
	margin: 0;
}
.main-navigation {
	align-self: center;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: calc(100% - 175px);
	max-width: 200px;
	padding: .25em .5em;
	border-radius: .5em;
	box-sizing: border-box;
	background: #d2dce8;
}
.header_cta {
	width: 100%;
}
.header_cta p {
	margin: 0;
}
.header_cta .tel {
	position: relative;
	padding-left: 1.5em;
}
.header_cta .tel::before {
	position: absolute;
	top: 50%;
	left: 0;
	width: 1.5em;
	height: 1.5em;
	background: url("images/common/icon-tel.svg") center / contain no-repeat;
	content: "";
	transform: translateY(-50%);
}
.header_cta .tel a {
	color: #1e419b;
	font-weight: 900;
	letter-spacing: .05em;
	text-indent: .05em;
	text-decoration: none;
}
.header_cta .hour {
	font-size: .625rem;
	font-weight: 500;
}
.header_cta .hour .label {
	display: none;
}
.main-navigation .mail a {
	display: block;
	width: 1.75em;
	height: 1.75em;
	border-radius: .2em;
	box-sizing: border-box;
	background: url("images/common/icon-mail.svg") center / contain no-repeat, #f9625a;
}
.floating {
	display: none;
}
/* ----------
 * footer
 * ---------- */
.site-footer {
	padding: 60px 5.3333vw 0;
}
dl.info {
	display: flex;
	flex-flow: row wrap;
}
dl.info dt, dl.info dd {
	margin: 0;
	font-weight: 400;
	line-height: 2;
}
dl.info dt {
	width: 4em;
}
dl.info dd {
	width: calc(100% - 4em);
}
dl.info dd a {
	display: inline-block;
	color: var(--text-color);
	text-decoration: none;
}
.footer_menu li {
	position: relative;
	margin-top: .75em;
	padding-left: 1.5em;
}
.footer_menu li::before {
	position: absolute;
	top: 50%;
	left: 0;
	width: 1em;
	height: 1em;
	background: url("images/common/arrow-menu.svg") left center / contain no-repeat;
	content: "";
	transform: translateY(-50%);
}
.footer_menu {
	margin: 1.5em 0;
}
.footer_menu li a, .copyright a {
	color: var(--text-color);
	text-decoration: none;
	transition: opacity .3s ease;
}
.footer_menu li a:hover,
.copyright a:hover {
	opacity: .6;
}
.copyright {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	height: 60px;
	border-top: 1px solid var(--text-color);
}
/* page top */
#pageTop {
	position: fixed;
	bottom: 60px;
	right: 20px;
	z-index: 99;
}
#pageTop a {
	display: block;
	width: 60px;
	height: 60px;
	background: url("images/common/pagetop.svg") center / contain no-repeat;
	transition: all .3s ease;
}
#pageTop a:hover {
	opacity: .6;
}
/* ----------
 * top
 * ---------- */
/* main visual */
.main_visual {
	width: 100%;
	height: 100svh;
	margin: 0;
	background: url("images/top/mv.webp") center / cover no-repeat;
}
.main_visual .caution {
	position: absolute;
	top: 25%;
	left: 50%;
	width: 100%;
	margin: 0;
	color: var(--sub-color);
	font-size: clamp(1.125rem, 4.8vw, 2rem);
	font-weight: 700;
	text-align: center;
	line-height: 1;
	transform: translateX(-50%);
}
h2.mv {
	position: absolute;
	top: 35%;
	left: 50%;
	width: 100%;
	margin: 0;
	color: #1e419b;
	font-size: clamp(1.1875rem, 5.0666vw, 2.25rem);
	font-weight: 900;
	letter-spacing: 0;
	text-indent: 0;
	text-align: center;
	line-height: 1.5;
	transform: translateX(-50%);
}
h2.mv span {
	display: inline-block;
	margin-right: .2em;
}
.feature_list {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 160px;
	margin: 0;
	padding: 0 5px 5px;
	box-sizing: border-box;
	background: var(--sub-color);
}
.feature_list li {
	display: flex;
	justify-content: center;
	align-items: center;
	width: calc(50% - 2.5px);
	margin-top: 5px;
	border-radius: .5em;
	box-sizing: border-box;
	background: #fff;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
}
/* strong point */
.strong_point {
	background: #d2dce8;
}
.strong_point ol li {
	margin-bottom: 2em;
	line-height: 2;
}
.content_box .text {
	position: relative;
}
.content_box .text::after {
	position: absolute;
	bottom: -2em;
	width: 95%;
	height: 6px;
	content: "";
}
.strong_point .content_box .text::after {
	right: -5.3333vw;
	background: #fff;
}
.content_box p {
	line-height: 2;
}
/* messege */
.messege {
	background: #f0f4f7;
}
.messege .content_box .text::after {
	left: -5.3333vw;
	background: #d2dce8;
}
/* support menu */
.support_menu {
	background: linear-gradient(90deg, rgba(16, 10, 89, .1) 1px, transparent 1px) 10px 10px / 16px 16px repeat, linear-gradient(rgba(16, 10, 89, .1) 1px, transparent 1px) 10px 10px / 16px 16px repeat;
}
.menu_list {
	margin: 0;
}
.menu_list li {
	position: relative;
	padding: 30px;
	box-sizing: border-box;
	color: #fff;
	text-align: justify;
	line-height: 2;
}
.menu_list li::after {
	pointer-events: none;
	position: absolute;
	top: 10px;
	left: 10px;
	width: calc(100% - 20px);
	height: calc(100% - 20px);
	border: 1px solid rgba(255, 255, 255, .5);
	box-sizing: border-box;
	content: "";
}
.menu_list li:nth-child(odd) {
	background: #6f85b3;
}
.menu_list li:nth-child(even) {
	background: #6f99da;
}
.menu_list li h3 {
	margin: 0 0 .5em;
	font-size: 2em;
	text-align: center;
}
.menu_list li figure {
	width: 85px;
	height: 70px;
	margin: 0 auto;
}
.menu_list li p {
	margin-bottom: 0;
}
/* tax exemption */
.exemption_list li {
	margin-top: 70px;
}
.exemption_list li:first-child {
	margin-top: 0;
}
.exemption_list li .text {
	position: relative;
	width: 100%;
	margin: -50px 0 0;
	padding: 5.3333vw;
	box-sizing: border-box;
	background: #f0f4f7;
	transform: translate(5.3333vw, 5.3333vw);
}
.exemption_list li h3 {
	font-size: 1.5em;
}
.exemption_list li p {
	margin-bottom: 0;
	line-height: 2;
}
/* contact */
.contact.pd {
	padding-top: 130px;
	background: url("images/top/bg-contact.webp") center / cover no-repeat;
}
.contact.pd::before {
	pointer-events: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 70px;
	background: url("images/top/bg-arrow.webp") center bottom / cover no-repeat;
	content: "";
}
.contact h2 {
	margin: 0 0 .5em;
	font-size: 2em;
	font-weight: 900;
	text-align: center;
}
.contact .desc {
	color: var(--sub-color);
	font-size: 1.5em;
	font-weight: 500;
	text-align: center;
}
.contact .desc span {
	display: inline-block;
	position: relative;
	padding: 0 1.5em;
}
.contact .desc span::before,
.contact .desc span::after {
	display: inline-block;
	position: absolute;
	top: 50%;
	width: 1.2em;
	height: 1.2em;
	content: "";
	transform: translateY(-50%);
}
.contact .desc span::before {
	left: 0;
	background: url("images/common/slash-l.svg") center / contain no-repeat;
}
.contact .desc span::after {
	right: 0;
	background: url("images/common/slash-r.svg") center / contain no-repeat;
}
table.contact_form, table.contact_form tbody {
	display: block;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
}
table.contact_form tr {
	display: flex;
	flex-direction: column;
}
table.contact_form th, table.contact_form td {
	padding: 1.5em .5em;
	border-bottom: 1px solid rgba(16, 10, 89, .1);
	box-sizing: border-box;
	font-size: 1em;
}
table.contact_form th {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	font-weight: 400;
	text-align: left;
}
table.contact_form th .req {
	display: inline-block;
	padding: .5em .3em .4em;
	background: #f9625a;
	color: #fff;
	letter-spacing: .3em;
	text-indent: .3em;
	line-height: 1;
}
table.contact_form td {
	width: 100%;
}
.contact_form input[type="text"],
.contact_form input[type="email"],
.contact_form textarea {
	display: block;
	width: 100%;
	padding: 5px;
	border-radius: 0;
}
.contact_form input[type="text"]:focus,
.contact_form input[type="email"]:focus,
.contact_form textarea:focus,
.contact_form input[type="text"]:focus-visible,
.contact_form input[type="email"]:focus-visible
.contact_form textarea:focus-visible {
	outline-color: var(--sub-color);
}
.btn_form {
	display: flex;
	flex-direction: column;
	position: relative;
	width: 320px;
	margin: clamp(40px, 10.6666vw, 80px) auto 0;
}
.contact .btn,
.confirm .btn,
.thanks .btn {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 60px;
	margin: 1em auto 0;
	padding: 0;
	border: 2px solid var(--text-color);
	border-radius: 30px;
	box-sizing: border-box;
	background: var(--text-color);
	color: #fff;
	font-size: .9375rem;
	letter-spacing: .05em;
	transition: all .3s ease;
}
.contact .btn:hover,
.confirm .btn:hover,
.thanks .btn:hover {
	border: 2px solid var(--text-color);
	background: #fff;
	color: var(--text-color);
}
/* ----------
 * page
 * ---------- */
.page_header {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 30vh;
	margin-top: 60px;
	background: #f0f4f7;
}
.page_title {
	margin: 0;
	font-size: 2.125em;
	font-weight: 900;
}
.btn_link a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 320px;
	height: 60px;
	margin: 4em auto 0;
	border: 1px solid var(--text-color);
	border-radius: 30px;
	box-sizing: border-box;
	background: var(--text-color);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: all .3s ease;
}
.btn_link a:hover {
	background: #fff;
	color: var(--text-color);
}
/* ----------
 * responsive
 * ---------- */
@media (min-width: 768px) {
	/* ----------
	 * layout
	 * ---------- */
	section {
		margin: 70px auto;
	}
	section.pd {
		padding: 70px 5.3333vw;
	}
	/* ----------
	 * common
	 * ---------- */
	.sp {
		display: none !important;
	}
	.pc {
		display: block !important;
	}
	/* ----------
	 * footer
	 * ---------- */
	.footer_content {
		display: flex;
		justify-content: space-between;
	}
	.footer_info {
		width: 45%;
	}
	.footer_menu {
		width: 40%;
		margin: 0 0 4em;
	}
	/* ----------
	 * top
	 * ---------- */
	/* tax exemption */
	.exemption_list li {
		margin-top: 100px;
	}
	.exemption_list li .text {
		margin: -100px 0 0;
	}
	.exemption_list li h3 {
		font-size: 2em;
	}
	/* contact */
	.contact.pd {
		padding-top: 160px;
	}
	.contact.pd::before {
		height: 90px;
	}
	table.contact_form tr {
		flex-direction: row;
	}
	table.contact_form th {
		width: 27%;
	}
	table.contact_form td {
		width: 73%;
	}
	/* ----------
	 * 各ページ（※ページごとに区切る）
	 * ---------- */
}
@media (min-width: 992px) {
	/* ----------
	 * layout
	 * ---------- */
	section {
		margin: 90px auto;
	}
	section.pd {
		padding: 90px 5.3333vw;
	}
	/* ----------
	 * common
	 * ---------- */
	.sp2 {
		display: none !important;
	}
	.pc2 {
		display: block !important;
	}
	/* heading */
	.sec_title {
		width: 50%;
	}
	.sec_title.r {
		margin-left: calc(50% + 5.3333vw);
	}
	/* ----------
	 * top
	 * ---------- */
	/* main visual */
	.feature_list {
		flex-flow: row nowrap;
		height: 100px;
		padding: 5px;
	}
	.feature_list li {
		width: calc(25% - 5px);
		margin: 0;
		font-size: 1.25rem;
	}
	/* strong point */
	.content_box {
		display: flex;
		justify-content: space-between;
	}
	.content_box figure {
		width: 45%;
		margin: 0;
		box-sizing: border-box;
	}
	.content_box .text {
		width: 50%;
	}
	.content_box .text::after {
		width: 100%;
	}
	.content_box .text p:first-of-type {
		margin-top: 0;
	}
	/* messege */
	.messege .content_box .text::after {
		left: calc(-100% - 5.3333vw);
	}
	/* support menu */
	.menu_list {
		display: flex;
		flex-flow: row wrap;
		justify-content: space-between;
		margin-top: -30px;
	}
	.menu_list li {
		width: 31%;
		margin-top: 30px;
	}
	.menu_list li h3 {
		height: 2.5em;
		font-size: 1.5em;
	}
	/* tax exemption */
	.exemption_list li {
		margin-top: 120px;
	}
	.exemption_list li .text {
		margin-left: auto;
	}
	.exemption_list li .text {
		width: 650px;
		transform: translate(0, 0);
	}
	/* ----------
	 * 各ページ（※ページごとに区切る）
	 * ---------- */

}
@media (min-width: 1200px) {
	/* ----------
	 * layout
	 * ---------- */
	section {
		margin: 120px auto;
		padding: 0 3vw;
	}
	section.pd {
		padding: 120px 3vw;
	}
	/* ----------
	 * common
	 * ---------- */
	body {
		font-size: .9375rem;
	}
	.sp3 {
		display: none !important;
	}
	.pc3 {
		display: block !important;
	}
	/* heading */
	.sec_title {
		margin: 0 0 1.5em -3vw;
		font-size: 3em;
	}
	.sec_title.r {
		margin-left: calc(50% + 3vw);
	}
	/* ----------
	 * header
	 * ---------- */
	.site-header {
		padding: 0 60px;
		height: 100px;
	}
	.site-header.is-scroll {
		background: none;
	}
	.site-branding {
		width: 300px;
	}
	.main-navigation {
		width: 324px;
		max-width: initial;
		height: 80px;
		padding: .25em 25px;
		background: #fff;
		box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
	}
	.header_cta .tel {
		padding-left: 40px;
		font-size: 1.875rem;
	}
	.header_cta .tel::before {
		width: 40px;
		height: 40px;
	}
	.header_cta .hour {
		display: flex;
		justify-content: flex-end;
		align-items: center;
		font-size: .875rem;
	}
	.header_cta .hour .label {
		display: inline-block;
		margin-right: .5em;
		padding: 0 .2em;
		border: 1px solid var(--sub-color);
		border-radius: .3em;
		color: var(--sub-color);
		font-size: .75rem;
	}
	.floating {
		display: block;
		position: fixed;
		top: 200px;
		right: 0;
		width: 80px;
		height: 200px;
		z-index: 10;
	}
	.floating a {
		display: flex;
		justify-content: center;
		align-items: center;
		position: relative;
		width: 100%;
		height: 100%;
		padding-top: 30px;
		border-radius: 10px 0 0 10px;
		box-sizing: border-box;
		background: #f9625a;
		color: #fff;
		font-size: 1.125rem;
		writing-mode: vertical-rl;
		text-decoration: none;
		transition: all .3s ease;
	}
	.floating a::before {
		position: absolute;
		top: 15px;
		left: 50%;
		width: 42px;
		height: 42px;
		background: url("images/common/icon-mail.svg") center / contain no-repeat;
		content: "";
		transform: translateX(-50%);
	}
	.floating a:hover {
		background: #ff736b;
		box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
	}
	/* ----------
	 * footer
	 * ---------- */
	.footer_menu {
		width: 25%;
	}
	/* ----------
	 * top
	 * ---------- */
	/* main visual */
	.main_visual .caution {
		font-size: clamp(2.25rem, 3vw, 4rem);
	}
	h2.mv {
		font-size: clamp(3rem, 4vw, 5rem);
	}
	.feature_list {
		height: 120px;
	}
	.feature_list li {
		font-size: 1.875rem;
	}
	/* strong point */
	.strong_point .content_box .text::after  {
		right: -3vw;
	}
	/* messege */
	.messege .content_box .text::after {
		left: calc(-100% - 3vw);
	}
	/* support menu */
	.menu_list {
		margin-top: -50px;
	}
	.menu_list li {
		margin-top: 50px;
	}
	.menu_list li h3 {
		height: 2.5em;
		margin-top: .5em;
		font-size: 2em;
	}
	/* contact */
	.contact.pd {
		padding-top: 220px;
	}
	.contact.pd::before {
		height: 100px;
	}
	.contact h2 {
		font-size: 3em;
	}
	/* ----------
	 * page
	 * ---------- */
	.page_header {
		margin-top: 100px;
	}
}
@media (min-width: 1350px) {
	/* ----------
	 * layout
	 * ---------- */
	section {
		margin: 150px auto;
		padding: 0;
	}
	section.pd {
		padding: 150px 0;
	}
	/* ----------
	 * common
	 * ---------- */
	/* heading */
	.sec_title {
		margin: 0 0 1.5em 0;
		border-bottom: 12px solid var(--text-color);
		font-size: clamp(3rem, 3.5555vw, 3.75rem);
	}
	.sec_title.r {
		margin-left: 50%;
	}
	/* ----------
	 * top
	 * ---------- */
	/* strong point */
	.content_box figure {
		padding: 0 120px;
	}
	.content_box .text {
		padding-right: 120px;
	}
	.strong_point .content_box .text {
		margin-top: 80px;
	}
	.content_box .text::after {
		height: 12px;
	}
	.strong_point .content_box .text::after  {
		right: 0;
	}
	/* tax exemption */
	.tax_exemption.pd {
		padding-bottom: 0;
	}
	/* contact */
	.contact.pd {
		padding-top: 250px;
	}
	.contact.pd::before {
		height: 150px;
	}
	.contact h2 {
		font-size: clamp(3rem, 3.5555vw, 3.75rem);
	}
	/* messege */
	.messege .content_box figure {
		margin: 80px 0 5em;
	}
	.messege .content_box .text::after  {
		bottom: 0;
		left: -100%;
	}
	/* support menu */
	.menu_list li {
		padding: 40px 50px;
	}
	.menu_list li h3 {
		margin-top: .25em;
	}
	/* tax exemption */
	.exemption_list li {
		margin-top: -100px;
	}
	.exemption_list li .text {
		margin-left: auto;
	}
	.exemption_list li .text {
		width: 750px;
		transform: translate(0, -200px);
	}
}