:root {
	--primary-color: #FFB555;
	--secondary-color: #124884;
	--secondary-dark: #0B2E57;
	--sub-color: #FBF3E0;
	--light-bgcolor: #FEFCF3;
	--text-color: #071926;
	--line-color: #e6d9b8;
	--tag-sep-color: #8a6a3a;
	--field-border: #8a7a5c;
	--side-width: 280px;
	--side-gutter: 64px;
	--nav-font-size: 28px;
	--ff-primary: kiwi-maru, sans-serif;
	--fw-primary: 500;
	--ff-secondary: kiwi-maru, sans-serif;
	--fw-secondary: 400;
	--ff-text: noto-sans-cjk-jp, sans-serif;
}

html {
	font-family: var(--ff-text);
	scroll-behavior: smooth;
	overflow-x: hidden;
	word-break: break-all;
}

body {
	position: relative;
	background: var(--primary-color);
	margin: 0;
	padding: 0;
	z-index: 1;
	color: var(--text-color);
}

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

a,
a:not([class]) {
	color: var(--secondary-color);
}
a:hover,
a:not([class]):hover {
	color: var(--secondary-dark);
}

img {
	width: 100%;
	height: auto;
}
svg,
img.svg-image {
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3,
h4 {
	margin: 0;
}

p {
	line-height: 2;
	margin: 0 0 1.5em;
}
p:last-of-type {
	margin-bottom: 0;
}

/* header (first view: logo only) */
header {
	position: relative;
	background: var(--sub-color);
	z-index: 1;
}
header:before {
	position: absolute;
	content: "scroll";
	left: 50%;
	bottom: 58px;
	transform: translateX(-50%);
	font-family: var(--ff-primary);
	font-size: 13px;
	letter-spacing: .3em;
	color: var(--secondary-color);
}
header:after {
	position: absolute;
	content: "";
	left: 50%;
	bottom: 0;
	width: 1px;
	height: 48px;
	background: var(--secondary-color);
}
#subpage header:after,
#subpage header:before {
	display: none;
}

.full-size-wrapper.header {
	min-height: min(720px, 100svh);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 96px var(--side-gutter);
}

h1 {
	width: min(440px, 72vw);
}
h1 svg,
h1 img.svg-image {
	width: 100%;
	display: block;
}

/* nav (pc: fixed in the right column) */
nav {
	position: fixed;
	top: 260px;
	right: 0;
	z-index: 999;
	width: var(--side-width);
	padding: 0 var(--side-gutter) 0 0;
	font-family: var(--ff-primary);
	font-weight: var(--fw-primary);
	font-size: var(--nav-font-size);
}
nav ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}
nav ul li.haru-nav-contents {
	text-align: right;
	color: var(--secondary-color);
	letter-spacing: .06em;
}
nav .haru-nav-contents a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: inherit;
	text-decoration: none;
}
nav .haru-nav-contents a:hover,
nav ul li.haru-nav-contents.current a {
	color: var(--text-color);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 8px;
	text-decoration-color: var(--secondary-color);
}
nav .haru-nav-contents a:hover {
	text-decoration-color: var(--primary-color);
}
nav ul li.haru-sns-link {
	display: flex;
	align-items: center;
}
nav ul li.haru-sns-link a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
}
nav ul li.haru-sns-link a svg,
nav ul li.haru-sns-link a img.svg-image {
	width: 30px;
	height: 30px;
	object-fit: contain;
}

/* main column */
main {
	padding: 112px 0 0;
}
main > section.full-size-wrapper {
	max-width: 1440px;
	margin: 0 auto 112px;
	padding: 0 var(--side-width) 0 var(--side-gutter);
}
main > section.full-size-wrapper:last-of-type {
	margin-bottom: 0;
}
.full-size-wrapper {
	position: relative;
	width: 100%;
}
.content-area {
	width: 100%;
}
.nav-spacer {
	display: none;
}

/* section heading */
h2 {
	display: block;
}
h2 svg,
h2 img.svg-image {
	display: block;
	height: 58px;
	width: auto;
}
.section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 48px;
	margin-bottom: 56px;
}
#about_us h2 {
	margin-bottom: 56px;
}

.intro-section {
	text-align: right;
	font-family: var(--ff-primary);
	font-weight: var(--fw-primary);
	font-size: 19px;
	line-height: 2.1;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.intro-section p {
	line-height: inherit;
	margin: 0;
}

/* about: photo and intro */
.about-lead {
	display: grid;
	grid-template-columns: 400px minmax(0, 1fr);
	gap: 64px;
	align-items: start;
	margin-bottom: 56px;
}
.about-lead .intro-section {
	gap: 28px;
}
.about-lead .intro-section p:last-child {
	font-size: 24px;
	color: var(--secondary-color);
}
.about-photo {
	position: relative;
	margin: 0 0 24px;
}
.about-photo img {
	display: block;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 24px;
	box-shadow: 10px 10px 0 var(--secondary-color);
}
.about-photo figcaption {
	position: absolute;
	right: 16px;
	bottom: -24px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 20px;
	border-radius: 12px;
	background: var(--secondary-color);
	color: var(--sub-color);
	font-family: var(--ff-primary);
	font-size: 15px;
	box-shadow: 6px 6px 0 var(--sub-color);
}
.about-photo figcaption:before,
#about_us .content-header h3:before {
	content: "";
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	background: url(../img/icon-nikukyu-subcolor.svg) no-repeat center;
	background-size: contain;
}

/* card: tab (.content-header) and body (.content) */
.content-header {
	position: relative;
	height: 0;
	z-index: 3;
}
.content-header h3 {
	position: absolute;
	left: -20px;
	top: -26px;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 0 32px;
	border-radius: 12px;
	background: var(--secondary-color);
	color: var(--sub-color);
	font-family: var(--ff-primary);
	font-weight: var(--fw-primary);
	font-size: 22px;
	letter-spacing: .14em;
	white-space: nowrap;
	box-shadow: 6px 6px 0 var(--sub-color);
}
.content {
	position: relative;
	background: var(--sub-color);
	border-radius: 24px;
	padding: 64px 52px 48px;
	margin: 0 0 56px;
	box-shadow: 10px 10px 0 var(--secondary-color);
}
.content-area > .content:last-child {
	margin-bottom: 0;
}

/* about: two points */
#about_us .content {
	counter-reset: kodawari;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: auto 1fr;
	grid-auto-flow: column;
	gap: 24px 56px;
}
#about_us .content h4 {
	display: flex;
	align-items: baseline;
	gap: 16px;
	font-family: var(--ff-primary);
	font-weight: var(--fw-primary);
	font-size: 24px;
	line-height: 1.5;
	color: var(--secondary-color);
}
#about_us .content h4:before {
	counter-increment: kodawari;
	content: counter(kodawari);
	content: counter(kodawari) / "";
	font-size: 44px;
	line-height: 1;
}
.content .text {
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-size: 15.5px;
	line-height: 2;
	border-left: 2px dashed var(--primary-color);
	padding-left: 28px;
}
.content .text p {
	line-height: inherit;
	margin: 0;
}

/* plan: price */
#plan .content:not(.developer) > p {
	font-size: 16px;
	margin-bottom: 32px;
}
#plan .content:not(.developer) > p:last-child {
	font-size: 15px;
	margin: 24px 0 0;
}
#plan .content:not(.developer) > p a {
	font-weight: 700;
	text-underline-offset: 4px;
}
#plan .price-detail dl {
	margin: 0;
	display: flex;
	flex-direction: column;
	background: var(--light-bgcolor);
	border-radius: 16px;
	padding: 8px 32px;
}
#plan .price-detail dl div {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 8px 32px;
	padding: 22px 0;
	border-bottom: 1px solid var(--line-color);
}
#plan .price-detail dl div:last-of-type {
	border-bottom: 0;
}
#plan dt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: start;
	min-height: 32px;
	padding: 4px 16px;
	border-radius: 8px;
	background: var(--secondary-color);
	color: var(--sub-color);
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
}
#plan .price-detail dl dd {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
#plan .price-detail dd p {
	font-size: 15px;
	line-height: 1.85;
	margin: 0;
}
#plan .price-detail .price {
	font-family: var(--ff-primary);
	font-weight: var(--fw-primary);
	font-size: 32px;
	line-height: 1.1;
	color: var(--secondary-color);
}
#plan .price-detail .price small {
	font-size: 14px;
	margin-left: 4px;
}

/* plan: development */
#plan .developer .basic-price-dev {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: auto auto;
	grid-auto-flow: column;
	gap: 10px 40px;
	margin: 0 0 40px;
	padding: 28px 32px;
	background: var(--light-bgcolor);
	border-radius: 16px;
}
#plan .developer .basic-price-dev dt {
	justify-self: start;
}
#plan .developer .basic-price-dev dd {
	margin: 0;
	font-size: 16px;
	line-height: 1.8;
}
#plan .developer > p {
	margin: 0;
	padding: 0 0 18px 28px;
	border-left: 2px dashed var(--primary-color);
	font-size: 15.5px;
	line-height: 2;
}
#plan .developer > p:last-child {
	padding-bottom: 0;
}
#plan .developer > p:first-of-type {
	font-family: var(--ff-primary);
	font-weight: var(--fw-primary);
	font-size: 20px;
	color: var(--secondary-color);
}

/* works */
#works dl {
	margin: 0;
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 10px 14px;
	align-items: start;
}
#works dl dt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 96px;
	min-height: 30px;
	padding: 3px 14px;
	border-radius: 999px;
	background: var(--primary-color);
	color: var(--text-color);
	font-size: 13px;
	font-weight: 700;
}
#works dl dd {
	margin: 0;
	font-size: 14px;
	line-height: 1.9;
	padding-top: 2px;
}
#works dl dd > a {
	display: inline-block;
	padding: 2px 0;
}
#works dl dd ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	line-height: 1.7;
}
#works dl dd ul li:after {
	content: "\FF0F";
	margin: 0 6px;
	color: var(--tag-sep-color);
}
#works dl dd ul li:last-of-type:after,
#works dl dd ul.no-break li:after,
#works .development ul.gear-list li:after {
	content: none;
}
#works dl dd ul.no-break {
	flex-direction: column;
	gap: 2px;
	line-height: 1.8;
}

/* works: websites (one slide at a time, image and details side by side) */
#works .haru-works {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	gap: 18px 40px;
	align-items: start;
}
#works .haru-works > img,
#works .haru-works > .qr {
	grid-row: 1 / 3;
}
#works .haru-works > img {
	display: block;
	background: var(--light-bgcolor);
	border-radius: 16px;
}
#works .haru-works h4 {
	font-family: var(--ff-primary);
	font-weight: var(--fw-primary);
	font-size: 20px;
	color: var(--secondary-color);
}
#works .works-closed > img {
	filter: grayscale(1);
}
#works .haru-works.instagram {
	padding: 32px;
	border-radius: 16px;
	background: var(--secondary-color);
	color: var(--sub-color);
}
#works .haru-works.instagram h4 {
	font-size: 22px;
	color: var(--sub-color);
}
#works .haru-works.instagram .qr {
	justify-self: center;
	width: 168px;
	padding: 12px;
	border-radius: 12px;
	background: var(--light-bgcolor);
}
#works .haru-works.instagram .qr img {
	display: block;
}
#works .haru-works.instagram dd {
	word-break: break-all;
}
#works .haru-works.instagram a {
	color: var(--sub-color);
}
#works .content > p {
	font-size: 14px;
	line-height: 1.9;
	margin: 48px 0 0;
	padding-top: 24px;
	border-top: 1px solid var(--line-color);
}

/* works: development */
#works .works-detail.development {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 28px;
	background: var(--light-bgcolor);
	border-radius: 16px;
}
#works .works-detail.development h4 {
	font-family: var(--ff-primary);
	font-weight: var(--fw-primary);
	font-size: 18px;
	color: var(--secondary-color);
}
#works .development dl {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
#works .development dl dt {
	align-self: flex-start;
}
#works .development ul.gear-list {
	flex-direction: column;
	gap: 6px;
}
#works .development ul.gear-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14.5px;
	line-height: 1.8;
}
#works .development ul.gear-list li:before {
	content: "";
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	margin-top: 6px;
	background: url(../img/develop-icon-gear.svg) no-repeat center;
	background-size: contain;
}

/* slider (built by main.js; prev/next buttons below the slides) */
.haru-slider {
	position: relative;
	padding-bottom: 64px;
}
.haru-slider .slider-list {
	overflow: hidden;
}
.haru-slider .slider-track {
	display: flex;
	align-items: flex-start;
	transition: transform .5s ease;
}
.haru-slider .slider-track > * {
	flex: 0 0 100%;
	min-width: 0;
}
.haru-slider button.slick-arrow {
	position: absolute;
	bottom: 0;
	width: 108px;
	height: 36px;
	padding: 0;
	margin: 0;
	border: none;
	background: none;
	cursor: pointer;
}
.haru-slider button.slick-arrow img {
	display: block;
}
.haru-slider button.slick-prev {
	right: 124px;
}
.haru-slider button.slick-next {
	right: 0;
}
.haru-slider button.slick-arrow:focus-visible {
	outline: 3px solid var(--secondary-color);
	outline-offset: 3px;
	border-radius: 6px;
}

/* contact: form */
form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}
form .wrap-input {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 24px;
	align-items: center;
}
form .wrap-input:has(textarea) {
	align-items: start;
}
form .wrap-input:has(textarea) label {
	padding-top: 14px;
}
form label {
	text-align: right;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.5;
}
form label .small {
	font-size: 13px;
}
form label br {
	display: none;
}
form label.require:before {
	content: "*";
	color: var(--secondary-color);
	margin-right: 4px;
}
form input,
form textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border-radius: 10px;
	border: 1.5px solid var(--field-border);
	background: var(--light-bgcolor);
	font: inherit;
	font-size: 16px;
	color: var(--text-color);
}
form textarea {
	min-height: 200px;
	resize: vertical;
}
form input:focus,
form textarea:focus {
	outline: 3px solid var(--secondary-color);
	outline-offset: 2px;
}
form .wrap-input.check-agree {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding-top: 16px;
}
form input[name='agree'] {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	min-height: 0;
	margin: 0;
	padding: 0;
	accent-color: var(--secondary-color);
}
form label[for='agree'] {
	text-align: left;
	font-size: 16px;
	font-weight: 500;
}
form .privacy-policy {
	height: 180px;
	overflow-y: auto;
	padding: 24px 28px;
	border-radius: 12px;
	background: var(--light-bgcolor);
	font-size: 13px;
	line-height: 1.9;
}
form .privacy-policy:focus-visible {
	outline: 3px solid var(--secondary-color);
	outline-offset: 2px;
}
form .privacy-policy h4 {
	font-size: 15px;
	margin-bottom: 8px;
	color: var(--secondary-color);
}
form button[type='submit'] {
	align-self: center;
	margin-top: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 60px;
	min-width: 280px;
	padding: 0 40px;
	border-radius: 999px;
	border: 0;
	background: var(--secondary-color);
	color: var(--sub-color);
	font-family: var(--ff-primary);
	font-weight: var(--fw-primary);
	font-size: 18px;
	letter-spacing: .2em;
	cursor: pointer;
	box-shadow: 6px 6px 0 var(--text-color);
}
form button[type='submit']:hover {
	background: var(--secondary-dark);
}
form button[type='submit']:focus-visible {
	outline: 3px solid var(--text-color);
	outline-offset: 4px;
}

/* form: honeypot, turnstile */
form .hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
form .cf-turnstile {
	margin-top: 1em;
}

/* logo above the footer */
.background {
	padding: 176px var(--side-gutter) 72px;
	display: flex;
	justify-content: center;
}
.background .logo {
	width: min(560px, 80%);
}
.background .logo svg,
.background .logo img.svg-image {
	display: block;
	width: 100%;
}

/* footer */
footer {
	position: relative;
	z-index: 999;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 28px;
	width: calc(100% - var(--side-gutter) * 2);
	max-width: 1152px;
	margin: 0 auto;
	padding: 24px 0 40px;
	border-top: 1px solid var(--text-color);
	font-size: 14px;
	color: var(--text-color);
}
footer > div:last-child {
	margin-left: auto;
}
footer a {
	color: var(--text-color);
	text-underline-offset: 4px;
}
footer .consent-open {
	background: none;
	border: none;
	padding: 0;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
}
footer a:focus-visible,
footer .consent-open:focus-visible {
	outline: 2px solid var(--secondary-color);
	outline-offset: 2px;
}
/* footer: 44px target size */
footer a,
footer .consent-open {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	vertical-align: middle;
}

/* skip link */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1002;
	padding: .5em 1em;
	background: var(--secondary-color);
	color: var(--sub-color);
}
.skip-link:focus {
	left: 0;
}

/* subpage (404, security_action) */
.contents-page header {
	height: 180px;
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
}
.eng-subhead {
	text-align: right;
}
#subpage header h1 {
	font-family: var(--ff-primary);
	font-weight: var(--fw-primary);
	font-size: 2em;
	width: 100%;
	padding: 0 90px;
}
#subpage main {
	padding-bottom: 112px;
}
#subpage main > .full-size-wrapper {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 var(--side-width) 0 var(--side-gutter);
}
#subpage .intro-section {
	margin-bottom: 56px;
}
#subpage .eng-subhead {
	margin-bottom: 45px;
}
#subpage .eng-subhead svg {
	height: 120px;
	width: auto;
}
#subpage h2 {
	text-align: left;
	position: relative;
	padding: .5em;
	margin: 1em 0 .5em;
	color: var(--secondary-color);
	font-family: var(--ff-primary);
	font-weight: var(--fw-primary);
	font-size: 1.25em;
	border-bottom: 1px solid var(--secondary-color);
}
#subpage h2:first-child {
	margin-top: 0;
}
#subpage p {
	margin: 1em;
}
#subpage dl {
	display: flex;
	font-size: 14px;
	margin: 0 0 1em auto;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
}
#subpage dl dt {
	margin-right: 1em;
}
#subpage dl dd {
	display: inline-block;
	margin: 0;
	text-align: right;
}
#subpage footer {
	justify-content: center;
}
#subpage footer .consent-open {
	margin-left: 1em;
}
#subpage nav {
	top: 60px;
}

/* nav above footer (999) and consent bar (1000) */
#haru-nav {
	z-index: 1001;
}
html.hl-consent-open #haru-nav {
	bottom: var(--hl-consent-space, 0px);
}

/* keep the policy box clear of the top when jumping to #privacy-analytics */
html:has(#privacy-analytics:target) {
	scroll-padding-top: 160px;
}

/* up to 1100px: no right column, menu as a bar at the bottom */
@media screen and (max-width: 1100px) {
	:root {
		--side-gutter: 24px;
		--haru-nav-h: 48px;
	}
	header {
		z-index: 50;
	}
	main > section.full-size-wrapper,
	#subpage main > .full-size-wrapper {
		padding: 0 var(--side-gutter);
	}
	#haru-nav {
		position: fixed;
		top: auto;
		bottom: 0;
		width: 100%;
		padding: 0;
		font-size: 16px;
	}
	nav ul {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
		gap: 0;
		min-height: var(--haru-nav-h);
		padding: 0 8px 0 12px;
		background: var(--sub-color);
		box-shadow: 0 -1px 0 var(--line-color);
	}
	nav ul li.haru-nav-contents {
		padding: 0 .25em;
		letter-spacing: 0;
	}
	nav .haru-nav-contents a {
		min-height: var(--haru-nav-h);
	}
	nav .haru-nav-contents a:hover,
	nav ul li.haru-nav-contents.current a {
		text-underline-offset: 6px;
	}
	nav ul li.haru-sns-link a {
		width: 44px;
		height: var(--haru-nav-h);
	}
	nav ul li.haru-sns-link a svg,
	nav ul li.haru-sns-link a img.svg-image {
		width: 24px;
		height: 24px;
	}
	html body,
	html.hl-consent-open:root body {
		padding-bottom: calc(var(--haru-nav-h) + var(--hl-consent-space, 0px));
	}
	html.is-typing #haru-nav {
		display: none;
	}
}

@media screen and (max-width: 720px) {
	main {
		padding: 80px 0 0;
	}
	main > section.full-size-wrapper {
		margin-bottom: 88px;
	}
	.full-size-wrapper.header {
		padding: 96px 24px;
	}
	h2 svg,
	h2 img.svg-image {
		height: 44px;
	}
	.section-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
		margin-bottom: 48px;
	}
	#about_us h2 {
		margin-bottom: 32px;
	}
	.intro-section {
		text-align: left;
		font-size: 16px;
	}
	.about-lead {
		grid-template-columns: 1fr;
		gap: 48px;
		margin-bottom: 48px;
	}
	.about-lead .intro-section p:last-child {
		font-size: 20px;
	}
	.content {
		padding: 64px 20px 32px;
		margin-bottom: 48px;
		box-shadow: 6px 6px 0 var(--secondary-color);
	}
	.content-header h3 {
		left: -8px;
		font-size: 18px;
		padding: 0 20px;
		min-height: 52px;
		letter-spacing: .1em;
	}
	#about_us .content {
		grid-template-columns: 1fr;
		grid-template-rows: none;
		grid-auto-flow: row;
	}
	#about_us .content .text + h4 {
		margin-top: 24px;
	}
	#about_us .content h4 {
		font-size: 20px;
	}
	#about_us .content h4:before {
		font-size: 36px;
	}
	.content .text {
		padding-left: 16px;
	}
	#plan .price-detail dl {
		padding: 8px 16px;
	}
	#plan .price-detail dl div {
		grid-template-columns: 1fr;
	}
	#plan .price-detail dl dt {
		justify-self: start;
	}
	#plan .price-detail .price {
		font-size: 28px;
	}
	#plan .developer .basic-price-dev {
		grid-template-columns: 1fr;
		grid-template-rows: none;
		grid-auto-flow: row;
		padding: 20px 16px;
	}
	#plan .developer .basic-price-dev dd + dt {
		margin-top: 10px;
	}
	#plan .developer > p {
		padding-left: 16px;
	}
	#works .haru-works {
		grid-template-columns: 1fr;
		grid-template-rows: none;
	}
	#works .haru-works > img,
	#works .haru-works > .qr {
		grid-row: 1;
	}
	#works .haru-works.instagram {
		padding: 24px 16px;
	}
	#works .works-detail.development {
		padding: 20px 16px;
	}
	form .wrap-input {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	form label {
		text-align: left;
	}
	form .wrap-input:has(textarea) label {
		padding-top: 0;
	}
	form .privacy-policy {
		padding: 20px 16px;
	}
	form button[type='submit'] {
		min-width: min(280px, 100%);
	}
	.background {
		padding: 120px 24px 56px;
	}
	footer {
		padding-bottom: 24px;
	}
	footer > div:last-child {
		margin-left: 0;
		width: 100%;
	}
	.contents-page header {
		height: 120px;
	}
	#subpage header h1 {
		padding: 0 24px;
		font-size: 1.5em;
	}
	#subpage .eng-subhead svg {
		height: 64px;
	}
}

@media screen and (max-width: 400px) {
	nav ul {
		padding: 0 4px 0 8px;
	}
	nav ul li.haru-nav-contents {
		font-size: 14px;
		padding: 0 .15em;
	}
	nav ul li.haru-sns-link a {
		width: 36px;
	}
}
@media screen and (max-width: 374px) {
	nav ul li.haru-nav-contents {
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.haru-slider .slider-track {
		transition: none;
	}
}

/* contact result (contact_send) */
body.contact-result {
	--haru-nav-h: 0px;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
.contact-result main {
	flex: 1 0 auto;
	padding: 0 0 80px;
}
.contact-result header {
	display: flex;
	align-items: center;
	padding: 24px var(--side-gutter);
}
.contact-result header:before,
.contact-result header:after {
	display: none;
}
.contact-result__logo {
	display: block;
	width: 160px;
}
.contact-result main > section.full-size-wrapper {
	padding: 0 var(--side-gutter);
	max-width: 1100px;
}
.contact-result h2 {
	margin: 64px 0 56px;
}
.contact-result .content-header h1 {
	position: absolute;
	left: -20px;
	top: -26px;
	width: auto;
	display: inline-flex;
	align-items: center;
	min-height: 56px;
	padding: 0 32px;
	border-radius: 12px;
	background: var(--secondary-color);
	color: var(--sub-color);
	font-family: var(--ff-primary);
	font-weight: var(--fw-primary);
	font-size: 22px;
	letter-spacing: .1em;
	box-shadow: 6px 6px 0 var(--sub-color);
}
.contact-result .content ul {
	padding-left: 1.4em;
	line-height: 2;
}
.contact-result .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	margin-top: 1em;
	padding: 0 32px;
	border: none;
	border-radius: 999px;
	background: var(--secondary-color);
	color: var(--sub-color);
	font-size: 1em;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 4px 4px 0 var(--text-color);
}
.contact-result .btn:hover {
	background: var(--secondary-dark);
	color: var(--sub-color);
}
@media screen and (max-width: 720px) {
	.contact-result__logo {
		width: 120px;
	}
	.contact-result h2 {
		margin: 40px 0 48px;
	}
	.contact-result .content-header h1 {
		left: -8px;
		font-size: 18px;
		padding: 0 20px;
	}
}
