/*
Theme Name:Washila Health
Theme URI: https://washila-dev.r53.rexvirt.com/
Author: ワシラヘルス株式会社
Description: ワシラヘルス株式会社専用のWordPressテーマです
Version: 1.0.0
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Noto Sans JP", sans-serif;
	background: var(--background-main);
	font-size: clamp(17px, 1.5vw, 18px);
	line-height: 1.8;
	color: var(--text-main);
	letter-spacing: 3px;
}

.container {
	width: 100%;
	max-width: 1500px;
	margin-inline: auto;
	padding-inline: 100px;
}

section {
	padding: 0px 0 120px;
}

.caveat-dark {
	font-family: "Caveat", cursive;
	font-size: 96px;
	font-weight: bold;
	color: rgba(255, 255, 255, 0.6);
	text-align: center;
	padding-top: 40px;
}

.caveat-light {
	font-family: "Caveat", cursive;
	font-size: 96px;
	font-weight: bold;
	color: rgba(121, 143, 161, 0.6);
	text-align: center;
}

.caveat {
	margin-bottom: 0px;
}

.step {
	font-family: "Caveat", cursive;
	font-size: 88px;
	font-weight: bold;
	color: var(--color-accent);
	opacity: 0.6;
	text-align: center;
}

h1 {
	font-size: clamp(37px, 3.5vw, 48px);
	font-weight: bold;
	color: var(--background-main);
	line-height: 1.5;
	letter-spacing: 0.08em;
}

h2 {
	font-size: clamp(30px, 2.9vw, 40px);
	font-weight: bold;
	color: var(--background-main);
	line-height: 1.5;
	letter-spacing: 0.08em;
	max-width: 100%;
	word-break: keep-all;
}

h3 {
	font-size: clamp(18px, 1.8vw, 32px);
	font-weight: bold;
	color: var(--background-main);
	line-height: 1.3;
}

:root {
	--background-main: #1F3A5F;
	--background-sub: #798FA1;
	--background-light: #D2ECFB;
	--text-main: #243A5E;
	--text-sub: #EDF7FF;
	--color-accent: #66B5D2;
	--color-gray: #F3F3F3;
}

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

a {
	color: inherit;
	text-decoration: none;
}

.section {
	padding-top: 80px;
	padding-bottom: 120px;
}

.button-blue {
	display: inline-block;
	padding: 8px 120px;
	background: var(--color-accent);
	border-radius: 100px;
	color: #ffffff;
	box-shadow: 0 5px 4px rgba(0, 0, 0, 0.3);
	/*   width: 30%; */
	transition: all 0.3s ease;
	text-align: center;
	font-size: clamp(16px, 2vw, 28px);
}

.button-blue:hover {
	background: #48859C;
}

.button-gray {
	display: inline-block;
	padding: 8px 120px;
	background: var(--background-sub);
	opacity: 0.7;
	border-radius: 100px;
	color: #ffffff;
	box-shadow: 0 5px 4px rgba(0, 0, 0, 0.3);
	/*   width: 30%; */
	transition: all 0.3s ease;
	text-align: center;
	font-size: clamp(16px, 2vw, 28px);
}

.button-gray:hover {
	background: #576673;
}

/* ================== header ================== */

.pc-only {
	display: block;
	width: 100%;
}

.sp-only {
	display: none;
}

.hamburger_content {
	display: none;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 70px;
	background: var(--background-main);
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: 999;
	padding: 10px 0;
}

header .custom-logo {
	width: auto;
	height: 50px;
}

header nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 100%;
	text-align: center; 
}

.global-nav {
	display: flex;
	gap: 4rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 20px;
}

.global-nav a {
	text-decoration: none;
	color: #ffffff;
	transition: 0.3s;
}

.global-nav a:hover {
	color: #67E8F9;
}

.lang-switch-wrap {
	position: relative;
	top: 60px;
	left: 0;
	width: 100%;
	margin-bottom: 1rem;
	z-index: 10;
}

.lang-switch {
	display: flex;
	justify-content: flex-end;
	gap: 0;
	list-style: none;
	color: #ffffff;
}

.lang-switch a {
	transition: 0.3s;
	font-size: 14px;
}

.lang-switch a:hover {
	color: #67E8F9;
}

.lang-switch li:not(:last-child)::after {
	content: "|";
	margin: 0 8px;
	color: white;
}

.lang-switch-wrap.is-contact .lang-switch a,
.lang-switch-wrap.is-contact .lang-switch li:not(:last-child)::after {
	color: #ffffff;
}

.lang-switch-black {
	display: flex;
	justify-content: flex-end;
	gap: 0;
	list-style: none;
	color: #000000;
}

.lang-switch-black a {
	transition: 0.3s;
	font-size: 16px;
}

.lang-switch-black a:hover {
	color: #67E8F9;
}

.lang-switch-black li:not(:last-child)::after {
	content: "|";
	margin: 0 8px;
	color: #000000;
}

/* ================== footer ================== */
footer {
  background: var(--background-main);
  color: #ffffff;
  font-size: 16px;
}

.footer-top {
	display: flex;
	align-items: center;
	gap: 5rem;
	padding-top: 3rem;
	padding-bottom: 3rem;
}

footer .custom-logo {
	width: 250px;
	height: auto;
	margin-bottom: 24px;
}

.footer-company {
	align-self: flex-start;
	font-size: 14px;
	line-height: 1.3;
}

.footer-left {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.footer-nav {
	display: grid;
	flex: 1;
	grid-auto-flow: column;
	grid-template-rows: repeat(3, 1fr);
	gap: 1.5rem 40px;
	list-style: none;
	margin: 0;
}

.footer-nav a {
	text-decoration: none;
	color: #ffffff;
	transition: 0.3s;
}

.footer-nav a:hover {
	color: #67E8F9;
}

.footer-bottom {
	gap: 2rem;
	align-items: flex-end;
	font-size: 12px;
	padding-top: 1rem;
	padding-bottom: 3rem;
}

footer p {
	 margin: 0;
	letter-spacing: 0.08em;
}

.footer-bottom p {
	line-height: 1.5;
	letter-spacing: 0.05em;
	font-weight: 100;
	font-size: 12px;
}


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

  body {
    font-size: clamp(17px, 1.5vw, 24px);
  }

  h2 {
    font-size: clamp(25px, 2.9vw, 40px);
  }

  h3 {
    font-size: clamp(25px, 1.8vw, 32px);
  }

  .caveat-dark {
    font-size: 60px;
  }

  .caveat-light {
    font-size: 60px;
  }

  .container {
    padding-inline: 32px;
  }
	
 .step {
	font-size: 60px;
 }

}

@media screen and (max-width: 767px) {
	body {
		font-size: clamp(13px, 2vw, 14px);
		line-height: 1.5;
	}

	.container {
		padding-inline: 16px;
	}

	section {
		padding: 0 0 48px;
	}

	h1 {
		font-size: clamp(16px, 4vw, 24px);
	}

	h2 {
		font-size: 18px;
	}

	h3 {
		font-size: 16px;
	}

	.caveat-dark,
	.caveat-light {
		font-size: 36px;
		padding: 32px 0 20px;
	}

	.step {
		font-size: 40px;
	}

	.button-blue {
		padding: 5px 36px;
	}

	.button-gray {
		padding: 5px 36px;
	}

  /* ================== header ================== */
  .pc-only {
    display: none;
  }

  header {
    height: 50px;
  }

  header .sp-only {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
  }

  header .custom-logo {
/*     width: 80px; */
	  padding: 5px;
  }

  .hamburger_btn {
    border: none;
    background: none;
  }

  .hamburger_btn span {
    display: block;
    width: 17.5px;
    height: 1px;
    background: var(--background-light);
    margin: 8px 0;
    transition: 0.3s;
  }

  .hamburger_btn.is-open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .hamburger_btn.is-open span:nth-child(2) {
    opacity: 0;
  }

  .hamburger_btn.is-open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .hamburger_content {
    position: fixed;
    display: none;
    width: 100%;
    top: 50px;
    background: var(--background-sub);
    overflow-y: auto;
    left: 0;
    padding: 16px;
    z-index: 999;
  }

  .hamburger_content.is-open {
    display: block;
  }

  .hamburger_content_menu ul {
    list-style: none;
    padding: 0;
    width: fit-content;
    margin: 0 auto;
    font-weight: bold;
    line-height: 40px;
    font-size: 14px;
  }

  .hamburger_content_menu a {
    color: #ffffff;
    transition: 0.3s;
  }

  .hamburger_content_menu a:hover {
    color: var(--color-accent);
  }

   .hamburger_content .lang-switch-wrap {
    width: 100%;
    margin-top: 16px;
    top: 0;
  }

  .hamburger_content .lang-switch,
  .hamburger_content .lang-switch ul {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0;
  }

	/* ================== footer ================== */
	footer .container {
		padding: 16px;
	}

	.footer-top {
		flex-direction: column;
		gap: 24px;
		align-items: flex-start;
	}

	footer .custom-logo {
		width: 140px;
	}

	.footer-company {
		gap: 8px;
		font-size: 12px;
	}

	.footer-nav {
		gap: 0 40px;
		padding: 0;
		grid-auto-flow: column;
		grid-template-rows: repeat(3, 1fr);
		font-size: 12px;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 16px;
		font-size: 10px !important;
		letter-spacing: 0 !important;
		line-height: 1;
	}

	.footer-bottom p {
		font-size: 10px;
	}

}