/*!
Theme Name: Rokuyou ZeroYen de Yachin
Theme URI: http://lp.rokuyou.co.jp/
Author: Sho Sacks
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: rokuyou-0yen
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments,

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
## Layouts
# Components
	- Navigation
	- Posts and pages
# Utilities
	- Accessibility
	- Alignments

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

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

:root {
	--blue: #0E4882;
	--light-green: #E7F8CE;
	--green: #7FBE25;
	--yellow-green: #D9E366;
}

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

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}


/* 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;
	text-decoration: none;
}

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

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

/* 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;
	font-size: 62.5%;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
@font-face {
	font-family: "Noto Sans Jp";
	src: url('assets/fonts/NotoSansJP-VariableFont_wght.ttf')
}

@font-face {
	font-family: "Zen Kurenaido";
	src: url('assets/fonts/ZenKurenaido-Regular.ttf');
}

body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: "Noto Sans Jp", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	letter-spacing: 10px;
	margin: 0;
}

p {
	font-size: 1.6rem;
	font-weight: 400;
	line-height: 30px;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

ul {
	list-style: none;
}

ol {
	list-style: decimal;
}


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

figure {
	margin: 1em 0;
}

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

section {
	display: block;
	position: relative;
}

h1 {
	color: var(--blue);
	font-size: 4.8rem;
	font-weight: bold;
	line-height: 10rem;
}

h2 {
	font-size: 3.0rem;
	font-weight: bold;
}

h3 {
	font-size: 2.4rem;
	font-weight: bold;
}

h4 {
	font-size: 2.4rem;
	font-weight: bold;
}

p {
	margin: 0;
}

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

	h1 {
		font-size: 2.0rem;
		line-height: 4rem;
	}

	h2 {
		font-size: 1.4rem;
		letter-spacing: 2px;
	}

	h4 {
		font-size: 1.4rem;
		letter-spacing: 8px;
	}

	p {
		font-size: 1.2rem;
		line-height: 20px;
	}

}

.br-sp {
	display: none;
}

@media screen and (max-width: 768px) {
	.br-sp {
		display: block;
	}
}


/* Links
--------------------------------------------- */
a {
	color: var(--blue);
	text-decoration: none;
}

a:visited {
	color: var(--green);
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/


/* Site header
--------------------------------------------- */
.site-header {
	height: 100px;
	padding: 3em 8em;
	box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
	filter: drop-shadow(0 4 4px 0 rgba(0, 0, 0, 0.25));
	position: relative;
}

.site-header-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1440px;
	position: relative;
	margin: 0 auto;
}


.site-logo a {
	display: block;
}


/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul,
.footer-nav {
	display: flex;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	width: 100%;
}

.main-navigation ul li:not(:first-child),
.footer-nav li:not(:first-child) {
	margin-left: 5%;
}

.main-navigation ul li a,
.footer-nav li a {
	color: var(--blue);
	font-size: 1.8rem;
	font-weight: bold;
	border-bottom: 5px solid var(--light-green);
	padding-bottom: 6px;
	text-decoration: none;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
	left: auto;
}

.hamburger {
	display: none;
	cursor: pointer;
}

.bar {
	display: block;
	width: 25px;
	height: 3px;
	margin: 5px auto;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	background-color: var(--blue);
}

@media(max-width:768px) {

	.site-header {
		align-content: center;
		padding: 2em 2em;
		height: 75px;
	}

	.site-header-wrapper {
		margin: 0;
	}

	.hamburger {
		display: block;
		float: right;
	}

	.hamburger.active .bar:nth-child(2) {
		opacity: 0;
	}

	.hamburger.active .bar:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	.hamburger.active .bar:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	.nav-menu {
		position: fixed;
		left: -100%;
		top: 70px;
		gap: 0;
		flex-direction: column;
		background-color: #fff;
		width: 100%;
		text-align: center;
		transition: 0.3s;
		z-index: 100;
		padding: 10px 0;
	}

	.nav-menu.active {
		left: 0;
		box-shadow: 0 4px 10px 0 #a4a4a4a8;
	}

	.nav-item {
		margin: 16px 0;
	}



}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.cta-floating {
	position: fixed;
	top: 20%;
	right: 0;
	z-index: 100;
	background-color: var(--blue);
	border-radius: 30px 0 0 30px;
	box-shadow: -3px 5px 4px 0 rgba(0, 0, 0, 0.25);
	width: 60px;
	padding: 20px 0;
}

.cta-floating p {
	color: #fff;
	font-size: 1.8rem;
	font-weight: bold;
	writing-mode: vertical-rl;
	margin: 0 auto;
	letter-spacing: 10px;
}

.cta-floating p a {
	color: #fff;
	text-decoration: none;
}

.cta-floating p::after {
	content: url('assets/images/mail.svg');
}

.container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	max-width: 1440px;
}

.hero {
	background: linear-gradient(rgba(240, 240, 240, 1), rgba(255, 255, 255, 1));
	width: 100%;
}

.hero__top {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	width: 100%;
	padding: 60px 0;
}

.hero__top>div {
	display: flex;
	align-items: center;
}

.hero__top h1::after {
	content: "";
	background-image: url('assets/images/right-arrow.svg');
	background-size: contain;
	display: inline-block;
	width: 40px;
	height: 40px;
}

.hero__images {
	display: flex;
	gap: 75px;
	width: 100%;
	height: 545px;
}

.hero__images>div {
	display: flex;
	width: 25%;
	background-color: var(--light-green);
	border-radius: 50px;
}

.hero__images>div:nth-child(odd) {
	background-position: bottom;
	background-repeat: no-repeat;
	background-size: contain;
	width: 300px;
}

.hero__images>div:nth-child(even) {
	background-position: top;
	background-repeat: no-repeat;
	background-size: contain;
}

.hero__images>div:nth-child(1) {
	background-image: url('assets/images/hero-top-img-1.webp');

}

.hero__images>div:nth-child(2) {
	background-image: url('assets/images/hero-top-img-2.webp');
	width: 212px;
}

.hero__images>div:nth-child(3) {
	background-image: url('assets/images/hero-top-img-3.webp');
}

.hero__images>div:nth-child(4) {
	background-image: url('assets/images/hero-top-img-4.webp');
	width: 407px;
}

@media screen and (max-width: 1439px) and (min-width: 769px) {

	.hero__images {
		height: 390px;
	}

}

@media screen and (max-width: 768px) {
	.cta-floating {
		border-radius: 20px 0 0 20px;
		width: 40px;
	}

	.cta-floating p {
		font-size: 1.4rem;
	}

	.cta-floating p::after {
		display: inline-block;
		transform: scale(0.7);
	}

	.hero__top {
		flex-direction: column;
		padding: 20px 0;
	}

	.hero__top>div {
		justify-content: center;
		margin-top: 15px;
	}

	.hero__top img {
		width: 50%;
	}

	.hero__top h1::after {
		width: 20px;
		height: 20px;
	}

	.hero__images {
		gap: 10px;
		height: 150px;

	}

	.hero__images>div {
		width: 25%;
		border-radius: 15px;
	}
}

/* お悩み 
--------------------------------------------- */

.worries {
	padding: 60px 0;
}

.worries h2 {
	color: var(--blue);
	text-align: center;
}

.worries h2::before {
	content: "";
	display: inline-block;
	background-image: url('assets/images/old-man-thinking.webp');
	background-size: contain;
	background-repeat: no-repeat;
	width: 80px;
	height: 80px;
	margin-right: 10px;
	vertical-align: middle;
}

.worries ul {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 50px;
	padding: 20px 0;
}

.worries ul>li {
	color: #fff;
	display: flex;
	flex-direction: column;
	padding: 20px;
	background-color: var(--blue);
	border-radius: 50px;
	width: 300px;
	height: 300px;
	justify-content: center;
	align-items: center;
}

.worries ul li img {
	margin-bottom: 15px;
}

.worries ul li p {
	text-align: center;
}

@media screen and (max-width: 1439px) and (min-width: 768px) {
	.worries ul {
		gap: 20px;
	}

	.worries ul>li {
		width: 240px;
		height: 240px;
		padding: 15px
	}

	.worries ul>li img {
		width: 50%;
	}
}

@media screen and (max-width: 767px) {
	.worries {
		padding: 20px 0;
	}

	.worries h2::before {
		display: block;
		width: 60px;
		height: 60px;
		margin: 0 auto 10px;
	}

	.worries ul {
		flex-wrap: wrap;
		gap: 10px;
	}

	.worries ul>li {
		border-radius: 25px;
		width: 180px;
		height: 180px;
		padding: 12px;
	}

	.worries ul>li img {
		width: 50%;
	}

}

.solutions {
	background-color: #FAFAFA;
	border-radius: 100px;
	padding: 60px 0 100px;
	z-index: 10;
}

.solutions .solutions__title {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin-bottom: 20px;
}

.solutions h2 {
	color: #000;
	display: inline-block;
}

.solutions .points {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 50px;
}


.solutions .points>.point>h4 {
	text-align: center;
	color: var(--green);
}

.solutions .points>.point>h4 span {
	font-size: 3.2rem;
}

.solutions .points>.point>.point__box {
	color: #000;
	border: 6px solid var(--green);
	display: flex;
	flex-direction: column;
	padding: 20px;
	border-radius: 50px;
	width: 300px;
	height: 300px;
	justify-content: center;
	align-items: center;
}

.solutions .points>.point>.point__box img {
	margin-bottom: 15px;
				height: 200px;
					width: auto;
}

.solutions .points>.point>.point__box p {
	text-align: center;
	color: #000;
}

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

	.solutions .points {
		gap: 20px;
	}

	.solutions .points>.point>.point__box {
		width: 245px;
		height: 245px;
		padding: 15px;
	}

	.solutions .points>.point>.point__box img {
			height: 150px;
	}

	.solutions .points>.point>.point__box p {
		font-size: 1.4rem;
	}

}


@media screen and (max-width: 767px) {
	.solutions {
		border-radius: 50px;
		padding: 20px 0;
	}

	.solutions .solutions__title {
		flex-direction: column-reverse;
		gap: 20px;
	}

	.solutions .solutions__title img {
		width: 60px;
		height: 60px;
	}

	.solutions ul {
		flex-direction: row;
		gap: 10px;
	}

	.solutions ul>li {
		border-radius: 25px;
		width: 150px;
		height: 150px;
	}

	.solutions ul>li img {
		width: 50%;
	}

	.solutions .points {
		flex-wrap: wrap;
		gap: 20px;
	}

	.solutions .points>.point>.point__box {
		border-radius: 25px;
		width: 175px;
		height: 175px;
		padding: 12px
	}

	.solutions .points>.point>.point__box img {
		height: 75px;
	}

}

.system {
	background-color: var(--green);
	align-items: center;
	margin-top: -100px;
	padding-top: 160px;
	z-index: 0;
}

.system .container {
	max-width: 100vw;
}

.system h2 {
	color: #fff;
	font-size: 4.8rem;
	text-align: center;
}

.system .system__title {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.system .system__title h2 {
	margin: 0 20px;
	white-space: nowrap;
}

/* 
.system :is(.system__title-left, .system__title-right) {
	content: "";
	display: block;
	background-size: contain;
	background-repeat: no-repeat;
	width: 25%;
	height: auto;
} */

/* .system .system__title-left {
	background-image: url('assets/images/system-title-arrow-right.svg');
	margin-right: 10px;
}

.system .system__title-right {
	background-image: url('assets/images/system-title-arrow-left.svg');
	margin-left: 10px;
} */

.system .system__list {
	padding: 75px 0;
	width: 100%;
	position: relative;
	z-index: 5;
}

.system .system__list::before {
	content: "";
	position: absolute;
	background: url(assets/images/system-arrow-bg.svg) no-repeat;
	background-size: contain;
	background-position: center;
	height: 100%;
	z-index: -1;
	top: 50px;
	left: 0;
	right: 0;

}

.system :is(.silver-gear, .orange-gear) {
	position: absolute
}

.system .silver-gear {
	top: 0;
	right: calc(10vw - 55px);
}

.system .orange-gear {
	bottom: 50px;
	left: calc(10vw - 55px);
}

.system .system__list ul {
	display: flex;
	margin: 0 auto;
	max-width: 1000px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.system .system__list ul>li {
	background-color: #f7f7f7;
	border-radius: 19px;
	color: #000;
	font-weight: bold;
	font-size: 2.4rem;
	padding: 32px;
	margin-bottom: 45px;
	text-align: center;
	width: 100%;
}

.system .system__message {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	background-color: #fff;
	padding: 100px 0;
}

.system .system__message :is(.system__title-left, .system__title-right) {
	filter: invert(0) sepia(68%) saturate(1344%) hue-rotate(5deg) brightness(97%) contrast(83%);
}

.system .system__message p {
	color: var(--green);
	font-size: 4.8rem;
	font-weight: bold;
	text-align: center;
	line-height: 10rem;
	letter-spacing: 10px;
	margin: 0 20px;
	white-space: nowrap;
}

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

	.system h2 {
		font-size: 2.8rem;
	}

	.system .system__list {
		padding: 75px 20px;
	}

	.system .system__list ul>li {
		font-size: 1.2rem;
		padding: 16px;
	}

	.system :is(.silver-gear, .orange-gear) {
		position: absolute
	}

	.system .silver-gear {
		top: 12px;
		right: calc(10vw - 35px);
	}

	.system .orange-gear {
		bottom: 50px;
		left: calc(10vw - 20px);
	}

	.system :is(.silver-gear, .orange-gear) {
		width: 40px;
		height: 40px;
	}

	.system .system__message p {
		font-size: 2.4rem;
		line-height: 4rem;
		letter-spacing: 3px;
	}

}

.case-studies {
	background-color: var(--light-green);
	padding-top: 125px;
	padding-bottom: 125px;
	text-align: center;
	margin-bottom: 100px;
}

.case-studies .container {
	position: relative;
}

.case-study__box {
	background-color: #fff;
	border: 10px solid var(--blue);
	border-radius: 50px;
	padding: 55px 75px;
	width: calc(100% - 40px);
	max-width: 1000px;
	position: relative;
	z-index: 10;
}

.case-studies::after {
	content: "";
	position: absolute;
	top: 12%;
	right: 0;
	background-image: url('assets/images/green_rectangle.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	width: 100%;
	height: 100%;
}

.case-studies .container>img {
	position: absolute;
	z-index: 30;
}

.case-studies .wrench {
	top: -60px;
	right: 40px;
}

.case-studies .hammer {
	top: 20%;
	left: 3%;
}

.case-studies .screwdriver {
	bottom: 35%;
	right: 3%;
}

.case-studies .silver-gear {
	bottom: -10%;
	left: 3%;
}


.case-study__box_title h3 {
	position: relative;
	color: var(--blue);
}

.case-study__box_title h3::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	background: url('assets/images/dashed-line.svg') no-repeat;
	background-size: auto;
	width: 25%;
	height: 100px;
}

.case-study__box_title h3::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 0;
	background: url('assets/images/dashed-line.svg') no-repeat;
	background-size: auto;
	width: 25%;
	height: 100px;
}

.case-study__box_list h4 {
	color: #000;
	font-size: 2.4rem;
	margin-bottom: 15px;
}

.case-study__box_list ul {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 20px;
}

.case-study__box_list ul>li {
	color: #000;
	font-size: 1.8rem;
	letter-spacing: 2px;
	background-color: var(--yellow-green);
	padding: 10px;
	border-radius: 10px;
	width: 170px;
}

.case-study__before-after {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 50px;
	padding-top: 80px;
}

.case-study__before-after .before {
	display: flex;
	flex-direction: column;
}

.case-study__before-after .before>img {
	padding-top: 20px;
	align-self: flex-end;
}

.case-study__before-after .before .down-arrow {
	display: none;
}

.case-study__before-after figure {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;

	border: 3px solid var(--blue);
	border-radius: 30px;
	padding: 20px;
}

.case-study__before-after .after figure {
	border-color: var(--green);
}

.case-study__before-after :is(.before-figure, .after-figure) figcaption {
	position: absolute;
	width: 85px;
	height: 85px;
	background-color: var(--blue);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	font-weight: bold;
	font-size: 1.8rem;
	top: -48px;
}

.case-study__before-after .after-figure figcaption {
	background-color: var(--green);
}

.case-study__reform-images {
	display: flex;
	flex-direction: row;
	padding-top: 10px;
	gap: 20px;
}

.case-study__reform-images>div {
	width: 100%;
}

.case-study__reform-images>div p {
	color: #000;
	background-color: var(--yellow-green);
	padding: 10px;
	border-radius: 10px;
	width: 50%;
	left: 40px;
	top: 25px;
	position: relative;
}

.case-study__reform-images .front-door>div {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 402px;
}


@media screen and (min-width: 769px) and (max-width: 1439px) {

	.case-studies::after {
		transform: scaleY(1.6);
	}

	.case-studies .wrench {
		top: -100px;
		right: 0;
	}

	.case-studies .hammer {
		bottom: 0;
		left: 0;
	}

	.case-studies .screwdriver {
		display: none;
	}

	.case-studies .case-study__box .silver-gear {
		display: none;
	}

}

@media screen and (max-width: 767px) {
	.case-studies {
		padding: 100px 0 60px;
	}

	.case-studies::after {
		content: "";
		position: absolute;
		background-image: url('assets/images/green-rectangle-sp.svg');
		transform: scaleY(1.7);
		top: 7%;
	}

	.case-study__box {
		padding: 20px;
	}

	.case-studies .container>img {
		position: absolute;
		width: 50px;
		height: 50px;
	}


	.case-studies .wrench {
		top: -70px;
		right: 0;
	}

	.case-studies .hammer {
		top: 33%;
		left: 35px;
	}

	.case-studies .screwdriver {
		top: 50%;
		right: 0;
	}

	.case-studies .silver-gear {
		bottom: -5%;
		left: 3%;
	}

	.case-study__before-after {
		flex-direction: column;
		align-items: center;
		gap: 20px;
		padding-top: 40px;
	}

	.case-study__reform-images {
		flex-direction: column;
		gap: 10px;
	}

	.case-study__before-after .before .right-arrow {
		display: none;
	}

	.case-study__before-after .before .down-arrow {
		display: block;
		align-self: center;
		width: 70px;
		height: auto;
		padding: 0;
		margin-bottom: 30px;
	}

	.case-study__reform-images :is(.living-room, .front-door) {
		align-items: center;
	}

	.case-study__reform-images :is(.living-room, .front-door) p {
		left: 50%;
		transform: translateX(-50%);
	}

	.case-study__reform-images .living-room img {
		border-radius: 20px;
		height: 270px;
	}

	.case-study__reform-images .front-door img {
		border-radius: 20px;
	}

	.case-study__reform-images .front-door div {
		align-items: center;
		gap: 10px;
		height: auto;
	}

}

.ceo-thoughts {
	padding: 150px 0 75px;
}

.ceo-thoughts .ceo-thoughts__title {
	background-color: var(--blue);
	padding: 12px 65px;
	border-radius: 36px;
	position: relative;
}

.ceo-thoughts .ceo-thoughts__title::before {
	content: "";
	position: absolute;
	border-left: 24px solid var(--blue);
	border-right: 12px solid transparent;
	border-top: 12px solid var(--blue);
	border-bottom: 20px solid transparent;
	right: 40px;
	bottom: -24px;
}

.ceo-thoughts .ceo-thoughts__title h2 {
	color: #fff;
	text-align: center;
	margin: 0;
}

.ceo-thoughts .ceo-thoughts__content {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	padding-top: 50px;
	gap: 50px;
}

.ceo-thoughts .ceo-thoughts__content .ceo-thoughts__message {
	border: 3px dotted var(--green);
	border-radius: 50px;
	height: 368px;
	width: calc(100% - 20px);
	max-width: 580px;
}

.ceo-thoughts .ceo-thoughts__content .ceo-thoughts__message .message_wrapper {
	height: 90%;
	margin: 22px;
	overflow-y: scroll;
}

.ceo-thoughts .ceo-thoughts__message .message_wrapper p {
	font-family: "Zen Kurenaido";
	font-size: 1.8rem;
	padding-right: 10px;
	padding-bottom: 10px;
	line-height: 32px;
	letter-spacing: 3px;
}

.ceo-thoughts .ceo-thoughts__message .message_wrapper .message_title {
	text-align: center;
}

.ceo-thoughts .ceo-thoughts__message .message_wrapper .message_name {
	text-align: right;
}

.ceo-thoughts .ceo-thoughts__message .message_wrapper::-webkit-scrollbar {
	width: 6px;
}

.ceo-thoughts .ceo-thoughts__message .message_wrapper::-webkit-scrollbar-track {
	background-color: var(--light-green);
	border-radius: 10px;
}

.ceo-thoughts .ceo-thoughts__message .message_wrapper::-webkit-scrollbar-thumb {
	background-color: var(--green);
	border-radius: 10px;
}

.ceo-thoughts .ceo-thoughts__content .ceo-thoughts__photo figure {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 0;
}

.ceo-thoughts .ceo-thoughts__content .ceo-thoughts__photo img {
	border-radius: 50px;
}

.ceo-thoughts .ceo-thoughts__content .ceo-thoughts__photo figcaption {
	color: var(--blue);
	font-size: 3.0rem;
	font-weight: bold;
	text-align: center;
}

.ceo-thoughts .ceo-thoughts__content .ceo-thoughts__photo figcaption span {
	font-size: 2.0rem;
}

.ceo-thoughts .ceo-thoughts__text {
	width: 50%;
	text-align: center;
}

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

	.ceo-thoughts {
		padding: 50px 0;
	}

	.ceo-thoughts .ceo-thoughts__text {
		font-size: 1.4rem;
		line-height: 24px;
		width: 90%;
	}

}

.cta {
	padding: 0 0 100px;
}

.cta .cta__box {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: stretch;
	margin: 50px 0;
}

.cta .cta__box .cta__box-text {
	background-color: #F2F2F2;
	border-radius: 20px 0 0 20px;
	padding: 25px 50px
}

.cta .cta__box .cta__box-text p {
	font-size: 1.8rem;

	color: var(--blue);
}

.cta .cta__box .cta__box-button {
	background-color: var(--blue);
	border-radius: 0 20px 20px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 25px;
}

.cta .cta__box .cta__box-button a {
	color: #fff;
	font-size: 3.0rem;
	font-weight: bold;
	letter-spacing: 10px;
	text-decoration: none;
}

.cta .cta__box .cta__box-button a::before {
	content: url('assets/images/mail.svg');
	margin-right: 10px;
	vertical-align: middle;
}

@media screen and (max-width: 768px) {
	.cta {
		padding: 0 0 50px;
	}

	.cta h2 {
		margin-bottom: 20px;
	}

	.cta .cta__box {
		background-color: #F2F2F2;
		border-radius: 20px 20px 0 0;
		flex-direction: column;
		width: calc(100% - 50px);
		padding: 0;
		margin: 0 0 25px
	}

	.cta .cta__box .cta__box-text {
		border-radius: 20px 20px 0 0;
		padding: 25px;
	}

	.cta .cta__box .cta__box-text p {
		font-size: 1.2rem;
		text-align: center;
	}

	.cta .cta__box .cta__box-button {
		border-radius: 20px;
		padding: 25px;
	}
}

.site-footer {
	clear: both;
	position: relative;
	height: auto;
	bottom: 0;
}

.site-footer .footer-content {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	background-color: #F2F2F2;
	height: 100%;
	padding: calc(100vw - 95%) 10%;
}

.site-footer .footer-content .company-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	width: 25%;
	gap: 10px
}

.site-footer .footer-content .footer-links {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	width: 75%;
}

.site-footer .footer-content .footer-links div>a {
	display: block;
	margin-bottom: 5px;
	text-align: right;
}

.site-footer .footer-nav li a {
	border-bottom: 5px solid var(--green);
}

.site-footer .site-copyright {
	background-color: var(--green);
	height: 56px;
}

.site-footer .site-copyright p {
	color: #fff;
	font-size: 1.6rem;
	padding: 10px 0;
	text-align: center;

}

@media screen and (max-width: 768px) {
	.site-footer .footer-content {
		flex-direction: column;
		gap: 10px;
		padding: 20px;
	}

	.site-footer .footer-content .company-info {
		align-items: center;
		gap: 10px;
		width: 100%;
	}

	.site-footer .footer-content .footer-links .footer-nav {
		display: none;
	}

	.site-footer .site-copyright p {
		font-size: 1.2rem;
	}
}

.card {
	background: #fbfbfb;
	border-radius: 12px;
	box-shadow: -20px 20px 35px 1px rgba(10, 49, 86, 0.04);
	display: flex;
	flex-direction: column;
	padding: 32px;
	margin: 40px;
	max-width: 400px;
	width: 100%;
}

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

	.card {
		overflow-y: scroll;
		height: calc(100vh - 100px);
	}
}

.link:focus {
	box-shadow: 0 0 0 2px #e5e6ef, 0 0 0 4px #121943;
}


.modal-header {
	align-items: baseline;
	display: flex;
	justify-content: space-between;
}

.close {
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	height: 16px;
	text-decoration: none;
	width: 16px;
}

.close svg {
	width: 16px;
}

.modal-wrapper {
	align-items: center;
	background: rgba(0, 0, 0, 0.7);
	bottom: 0;
	display: flex;
	justify-content: center;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
}

#modal {
	opacity: 0;
	transition: opacity 0.25s ease-in-out;
	visibility: hidden;
	z-index: 100;
}

#modal:target {
	opacity: 1;
	visibility: visible;
}

#modal:target .modal-body {
	opacity: 1;
}

#modal .modal-body {
	max-width: 500px;
	opacity: 0;
	transition: opacity 0.25s ease-in-out;
	width: 100%;
	z-index: 1;
}

.outside-trigger {
	bottom: 0;
	cursor: default;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
}

.button__link {
	text-decoration: none;
}


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