/*!
Theme Name: sugupos
Theme URI: http://underscores.me/
Author: norinaga
*/
:root {
	--base:#3DBABD;
	--main:#1C6F87;
	--accent:#FFAA00;
	--space1: 24px;
	--space2: 40px;
	--space3: 80px;
}
html {
	scroll-behavior: smooth;
	font-size: 10px;
}
body {
	overflow-x:hidden;
	font-size: 1.8rem;
	padding-top: 88px;
}
img {
	max-width: 100%;
}
a:hover {
	opacity: 0.8;
}
.button:hover {
	opacity:1;
	filter:brightness(1.1);
}

.base {
	background-color: #e8f7f7;
	padding: var(--space3) 0;
}
.white {
	background-color: white;
	padding: var(--space3) 0;
}
.marine {
	background-color: #3dbabd;
	padding: var(--space3) 0;
}
.base-color	{
	color: var(--base);
}
.main-color	{
	color: var(--main);
}
.accent-color {
	color: var(--accent);
}
.flex {
	display: flex;
	flex-wrap:wrap;
	justify-content:space-between;
}
.host {
	position: relative;
}
.deco {
	position: absolute;
}
.inner {
	max-width: 1300px;
	margin: 0 auto;
}
.inner2 {
	max-width:1100px;
	margin: 0 auto;
}
section::before {
  content: "";
  display: block;
  height: 120px;
  margin-top: -120px;
}

header {
	background-color: white;
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 10;
}
header .inner {
	max-width:1440px;
}
.header-wrapper {
	position: relative;
	padding: 12px 0;
}
.header-wrapper::before {
	content:"";
	border:1.5px solid var(--main);
	width: 52%;
	position: absolute;
	bottom: -2px;
	right: 12%;
}
.logo-box {
	width:13%;
}
.menu-box {
	width:62%;
	padding-right: 12%;
	li {
		padding-right: 10%;
		height: 100%;
		align-content:center;
	}
}
.contact-box {
	width:12%;
	background-color: var(--base);
	box-sizing:border-box;
	position: absolute;
	top: 0;
	right: 0;
}
.contact-box a {
	display: block;
	padding: 32px;
}
.fv {
	padding: 140px 0 80px;
	background-image: url('https://sugupos.cloud/wp-content/themes/sugupos/img/fv.png');
	background-size: cover;
	background-position: center center;
}
.fv .inner {
	max-width:1200px;
}
.into-wrapper p {
	font-size: 1.2rem;
	margin-bottom: 18px;
}
h1 {
	font-size: 5.6rem;
	font-weight: bold;
}
.intro-wrapper {
	margin-bottom: var(--space3);
}
.intro-wrapper p.special {
	font-size: 2.8rem;
	padding-left: var(--space2);
	margin: var(--space2) 0;
	text-indent:0.5em;
}
.intro-wrapper ul {
	padding-left: var(--space3);
}
.intro-wrapper li {
	margin-bottom: 8px;
	img {
		max-width:24px;
		margin-right: 4px;
	}
}
.cta-wrapper .flex {
	justify-content:space-around;
}
.cta-box {
	text-align: center;
	p {
		margin-top: 16px;
		font-size: 1.6rem;
		text-shadow:1px 1px 0 white;
	}
}
.button {
	display: block;
	font-size: 4rem;
	font-weight: bold;
	color: white;
	text-align: center;
	padding: 12px;
	background-color: var(--accent);
	border-radius:40px;
	box-shadow:4px 4px 0 rgba(0,0,0,0.5);
	max-width:320px;
	margin: 0 auto;
}

h2 {
	font-size: 4.8rem;
	font-weight: bold;
	margin-bottom: var(--space2);
}
.card {
	border-radius:24px;
	box-shadow:2px 4px 0 rgba(0,0,0,0.5);
}
.gradation {
	background: linear-gradient(90deg, var(--main) 0, var(--base) 100%);
	color: white;
}
.head-separate {
	display: flex;
	min-height: 52px;
	align-items:center;
	.left {
		display: block;
		width: 20%;
		font-size: 1.6rem;
		font-weight: bold;
		text-align: center;
	}
	.right {
		display: block;
		width: 80%;
		font-size: 2.2rem;
		font-weight: bold;
		text-align: center;
	}
}
.worry .card {
	width: 23%;
	overflow:hidden;
}
.worry .gradation {
	padding: 20px;
	min-height:180px;
	p {
		font-size: 1.6rem;
		line-height:1.4;
		text-align: center;
		padding-top: 12px;
		border-top:1px solid white;
		margin-top: 8px;
	}
}
.card-main {
	background-color: white;
	padding: 20px;
	height: 100%;
	p {
		font-size: 1.7rem;
		line-height:1.4;
		text-align: center;
		margin-top: var(--space1);
	}
}

.why {
	margin-bottom: var(--space3);
}
.why h2 {
	max-width:fit-content;
	padding: 12px;
	border: 4px solid var(--main);
	margin: 0 auto var(--space2);
}
.quotation {
	p:first-child {
		font-size: 2.4rem;
	}
	p.special {
		font-size: 4rem;
		font-weight: bold;
		width:fit-content;
		margin: 12px auto;
		background: linear-gradient(transparent 40%, yellow 40%);
	}
	p:last-child {
		text-align: right;
	}
}
.heart-wrapper {
	text-align: center;
	background-image: url('https://sugupos.cloud/wp-content/themes/sugupos/img/heart.png');
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	padding: var(--space2) 0;
	margin-top: var(--space3);
	margin-bottom: var(--space2);
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
	p {
		font-size: 2.4rem;
	}
	p.special {
		font-size: 4rem;
		font-weight: bold;
		margin-top: var(--space1);
	}
}
.img-wrapper {
	text-align: center;
}
.service .gradation {
	text-align: center;
	padding: var(--space1) 0 var(--space2);
	h2 {
		margin-bottom: var(--space1);
	}
	p {
		font-size: 2.8rem;
	}
}
.service .flex {
	padding: 64px 0;
	justify-content:space-around;
	.left {
		width: 45%;
	}
	.right {
		width: 45%;
		p {
			font-size: 2.8rem;
		}
	}
}

.head-box {
	position: relative;
	width:fit-content;
	margin: 0 auto 100px;
	h2 {
		font-size: 4rem;
		display: flex;
		align-items:center;
		img {
			max-width: 300px;
		}
	}
	&::before , &::after {
		content:"";
		display: block;
		position: absolute;
		left: 50%;
		transform:translateX(-50%);
	}
	&::before {
		width: 600px;
		border-bottom:8px solid var(--base);
		bottom: -24px;
	}
	&::after {
		width: 400px;
		border-bottom:4px solid var(--base);
		bottom: -64px;
	}
}
.head-box + p {
	font-size: 2.4rem;
	text-align: center;
	line-height:1.5;
	margin-bottom: 64px;
}
.merit {
	max-width:1200px;
}
.merit-box-wrapper {
	margin-top: 120px;
}
.merit-box {
	background: white;
	padding: var(--space2);
	margin-bottom: 32px;
	.img-box {
		width: 25%;
	}
	.text-box {
		width: 70%;
		h3 {
			font-size: 3.2rem;
			font-weight: bold;
			line-height:1.5;
			margin-bottom: 12px;
		}
		p {
			font-size: 2.4rem;
		}
	}
}

.strengths .inner {
	max-width:960px;
}
th , td {
	font-size: 1.8rem;
	width: 220px;
	height: 70px;
	border-radius:8px;
	color: white;
	text-align: center;
	align-content:center
}
th {
	background-color: var(--base);
}
td {
	background-color: #e8f7f7;
	padding: 12px;
	img {
		width: 40px;
	}
}
thead th:first-child {
	opacity:0;
}

.plan .inner {
	max-width:900px;
}
.plan-box {
	border:2px solid var(--base);
	border-radius:4px;
	margin-bottom: var(--space1);
	.left {
		width: 60%;
		background-color: var(--base);
		text-align: center;
		align-content:center;
		padding: var(--space1);
		color: white;
		h3 {
			font-size: 4rem;
			margin-bottom: 8px;
		}
		p {
			font-size: 1.6rem;
			line-height:1.8;
		}
	}
	.right {
		width: 40%;
		background-color: white;
		text-align: center;
		align-content:center;
		padding: var(--space1);
		p {
			font-size: 4rem;
		}
	}
}

.step-box-wrapper {
	margin-top: 140px;
}
.step-box {
	width: 18%;
	background-color: #e8f7f7;
	padding: 18px;
	position: relative;
	&::after {
		content:"";
		width:fit-content;
		border-left: 32px solid #FFF829;
		border-top: 20px solid transparent;
		border-bottom: 20px solid transparent;
		position: absolute;
		top: 50%;
		transform:translateY(-50%);
		right: -10%;
	}
	h3 {
		color: var(--main);
		padding-bottom: 8px;
		border-bottom:3px solid var(--main);
		margin-bottom: 8px;
		line-height:1.2;
		.left span {
			font-size: 2.4rem;
		}
	}
	p.special {
		font-size: 2rem;
		height: 72px;
		text-align: center;
	}
}
.step-box:last-child::after {
	content:none;
}

.case .inner {
	max-width:950px;
}
.case-box-wrapper {
	margin-top: 140px;
	margin-bottom: var(--space3);
}
.case-box {
	background-color: white;
	border-radius:0 40px 0 40px;
	margin-bottom: var(--space2);
	.img-box {
		width: 30%;
	}
	.text-box {
		width: 70%;
		padding: var(--space1);
		h3 {
			font-size: 2.4rem;
			font-weight: bold;
			color: var(--main);
			margin-bottom: 12px;
		}
		p {
			font-size: 2.4rem;
		}
	}
	.deco {
		width:130px;
		font-size: 2.4rem;
		text-align: center;
		padding: 12px;
		background-color: var(--main);
		color: white;
		top: -12px;
		left: 0;
	}
}

.faq .inner {
	max-width:1080px;
}
.faq-border {
	border: 3px solid var(--main);
	padding: var(--space3);
}
.faq-wrapper {
	margin-top: 140px;
}
.faq-wrapper h3 {
	font-size: 2.4rem;
	font-weight: bold;
	color: var(--main);
	text-align: center;
	margin-bottom: var(--space2);
	position: relative;
	cursor:pointer;
}
.faq-wrapper h3::after {
	content:"";
	border-top: 0;
	border-left: 0;
	border-right: 5px solid var(--main);
	border-bottom: 5px solid var(--main);
	width: 24px;
	height: 24px;
	transform:translateY(-20%)rotate(45deg);
	position: absolute;
	top: 0;
	right: 32px;
}
.faq-wrapper h3.on::before {
	transform:translateY(20%)rotate(-135deg);
}
.faq-box-wrapper {
	margin-bottom: var(--space3);
}
.faq-box {
	margin-bottom: var(--space1);
	.q-box , .a-box {
		padding: 32px 12px;
		border-radius:12px;
		background-color: #e8f7f7;
		align-items:center;
		.icon-wrapper {
			width: 8%;
			text-align: center;
			img {
				width: 24px;
			}
		}
		h4,p {
			line-height:1.5;
		}
		h4 {
			width: 84%;
		}
		.arrow-wrapper {
			width: 8%;
			.arrow {
				border-top: 0;
				border-left: 0;
				border-right: 3px solid var(--main);
				border-bottom: 3px solid var(--main);
				width: 24px;
				height: 24px;
				transform:translateY(-20%)rotate(45deg);
				margin: 0 auto;
			}
		}
	}
	.q-box {
		cursor:pointer;
	}
	.a-box {
		justify-content:start;
		margin-top: 4px;
		border-radius:0 0 12px 12px;
		p {
			width: 90%;
			font-size: 1.6rem;
		}
	}
	.q-box.on {
		border-radius:12px 12px 0 0;
		.arrow {
			transform:translateY(20%)rotate(-135deg);
		}
	}
}

.contact .inner {
	max-width:760px;
}
.contact h2 {
	font-size: 4rem;
	color: white;
	text-align: center;
}

.footer {
	max-width:1200px;
	padding: var(--space3) 0 var(--space2);
}
.footer .left ul {
	height: 240px;
	column-count: 1;
	padding-left: var(--space2);
	li {
		margin-right: 200px;
		margin-bottom: var(--space1);
	}
}
.copy-wrapper {
	padding: var(--space2);
	border-top: 3px solid #e8f7f7;
	p , a {
		font-size: 1.6rem;
		color: #555555;
	}
}

/* 下層ページ */
.page {
	padding-top: var(--space3);
}
.page .inner {
	max-width:1000px;
}
.page section {
	margin-bottom: var(--space3);
}
.page :is(h1,h2) {
	text-align: center;
	position: relative;
	&::before {
		content: "";
		display: block;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		width: 400px;
		border-bottom: 4px solid var(--base);
		bottom: -20px;
	}
}
.page h1 {
	font-size: 3.2rem;
	margin-bottom: var(--space3);
}
.page h2 {
	font-size: 2.4rem;
	margin-bottom: 48px;
}
.page p {
	margin-bottom: var(--space1);
	line-height:1.5;
}
.page ul {
	margin: var(--space2) 0;
	padding: 0 var(--space2);
}
.page li {
	margin-bottom: var(--space1);
	line-height:1.5;
	list-style:auto;
}

@media(max-width:1440px){
	:root {
		--space1: 1.6vw;
		--space2: 4vw;
		--space3: 6vw;
	}
	html {
		font-size: 0.7vw;
	}
	body {
		padding-top: 6vw;
	}
	.inner {
		padding: 0 2%;
	}

	header .inner {
		padding: 0;
	}
	.contact-box a {
    padding: 2.4vw;
	}
	.menu-box li {
		padding-right: 4vw;
	}
	.fv {
		padding: 8vw 0 6vw;
	}
	.base, .white, .marine {
		padding: 8vw 0;
	}
	.head-box {
		margin-bottom: 80px;
	}
	.head-box::before {
		width: 40vw;
    border-bottom: 5px solid var(--base);
    bottom: -2vw;
	}
	.head-box::after {
		width: 32vw;
    border-bottom: 3px solid var(--base);
    bottom: -5vw;
	}
	.head-box h2 img {
		max-width: 24vw;
	}
	.head-box + p {
		margin-bottom: 5vw;
	}

	.head-separate {
		min-height: 5vw;
	}
	.worry .gradation {
		padding: 1vw;
		min-height:15vw;
	}
	.quotation {
		width: 90%;
		margin: 0 auto;
	}
	th, td {
		font-size: 2.4rem;
	}
	.plan-box .left p {
		font-size: 2rem;
		line-height:1.5;
	}
	.step-box {
		padding: 2vw;
	}
	.step-box::after {
    border-left: 3vw solid #FFF829;
    border-top: 2vw solid transparent;
    border-bottom: 2vw solid transparent;
    right: -12%;
	}
	.step-box p.special {
		height: 5vw;
	}
	.merit-box-wrapper, .step-box-wrapper, .case-box-wrapper, .faq-wrapper {
		margin-top: 12vw;
	}
	.faq-wrapper h3 {
		font-size: 3.2rem;
	}
	.faq-box :is(.q-box,.a-box) :is(h4,p) {
		font-size: 2.4rem;
	}
	.footer {
		padding: 6vw 2% 4vw;
	}
	.footer .left ul {
		height: 15vw;
	}
	.footer .left ul li {
		margin-right: 12vw;
	}
	.footer .right img {
		max-width: 300px;
	}
}

@media print {
	header {
		position: absolute;
	}
}
