@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;700&display=swap');
@import url("https://use.typekit.net/wpr6mzt.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;400;700&display=swap');

:root {
--text-color: #333;
--accent-color: #FF7A00;
--bg-color: #FFFBF4;
--container: 1200px;
}

html, body,
header, footer, section, article,
nav, div, p, ul, li, dl, dt, dd,
h1, h2, h3, h4, a, small,
input, select, textarea, button,
img {
box-sizing: border-box;
margin: 0;
padding: 0;
}

html,
body {
height: 100%;
width: 100%;
overflow-x: hidden;
word-break: break-word;
font-family: 'Noto Sans JP', sans-serif;
}

ul {
list-style: none;
}

a {
color: var(--text-color);
cursor: pointer;
text-decoration: none;
}

a:hover {
color: var(--text-color);
}

a:active, a:focus, a:visited {
color: var(--text-color);
}

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

img,
video {
border: none;
height: auto;
max-width: 100%;
}

html {
background: var(--bg-color);
color: var(--text-color);
font-family: sans-serif;
font-size: 62.5%;
line-height: 1.75;
}

body {
font-size: 1.6rem;
}

header,
footer {
width: var(--container);
}

header {
height: 92px;
margin: 0 auto;
}

header h1 {
padding-top: 30px;
}

footer,
main {
margin: 0 auto;
}

footer {
position: sticky;
text-align: center;
top: 100vh;
}

#nav {
margin: -270px auto 0 auto;
position: sticky;
top: 0;
width: 1600px;
z-index: 999;
}

#nav nav {
float: right;
margin-top: 270px;
transform: rotate(90deg);
}

#nav nav::after {
clear: right;
}

nav ul {
display: flex;
gap: 0 24px;
}

nav svg {
height: 30px;
width: 30px;
fill: var(--text-color);
margin-top: -6px;
}


h1, h2, h3, h4, nav {
color: var(--text-color);
font-family: 'Source Sans Pro', sans-serif;
line-height: 1;
}


h2.title {
margin-top: 120px;
font-size: 8rem;
}

.container,
.title {
margin: 0 auto;
width: var(--container);
}

.container {
background: rgba(255, 255, 255, 0.9);
box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.1);
margin-top: 240px;
padding: 120px;
border-radius: 40px;
position: relative;
}

.title {
font-size: 3.6rem;
margin-bottom: 48px;
font-family: "industry-inc-base", sans-serif;
font-weight: 400;
font-style: normal;
}

.flex {
display: flex;
justify-content: space-between;
}

form {
margin: 0 auto;
text-align: left;
position: relative;
width: 100%;
}


input,
select,
textarea {
border-radius: 4px;
padding: 8px;
}

input,
select {
height: 40px;
}

button,
input,
select,
textarea {
border: none;
width: 100%;
}

textarea {
height: 160px;
}

button,
input[type="button"] {
background: var(--text-color);
border-radius: 4px;
color: #FFF;
display: block;
font-size: 1.6rem;
font-weight: bold;
height: 80px;
line-height: 80px;
margin: 60px 0 0 auto;
text-align: center;
width: 222px;
}

button:hover,
input[type="button"]:hover {
background: var(--accent-color);
color: var(--text-color);
}

form dt {
margin-bottom: 12px;
}

form dd {
margin-bottom: 24px;
;
}

input[type=checkbox] {
display: none;
}

input[type=checkbox] + label {
background: var(--text-color);
border-radius: 4px;
margin: 12px 6px 12px 0;
padding: 6px 12px;
color: #FFF;
}

input[type=checkbox]:checked + label {
background: var(--accent-color);
}

#service #service01,
#service #service02,
#service #service03 {
height: 240px;
}

#service #service02 {
width: 300px;
}

#service article {
text-align: center;
}

#service h4 {
font-size: 8.0rem;
font-weight: bold;
margin: 16px 0;
}

#service div {
margin-top: 60px;
}

#service p {
text-align: left;
width: 300px;
}

#service .flex {
margin-bottom: 3.8rem;
}

#contact {
background: rgba(245, 203, 54, 0.7);
}

#contact .title {
display: block;
margin-bottom: 60px;
}

@media (max-width: 1400px) {

#nav {
justify-content: flex-end;
margin: 0 auto 0 auto;
position: static;
width: 80%;
}

#nav nav {
float: none;
margin: -50px 0 0 0;
transform: rotate(0deg);
}

header, #nav, .container {
width: 85%;
padding: 0;
}

.container {
margin-top: 60px;
padding: 5%;
}

#service #service02 {
width: 95%;
height: 240px;
}

#service svg {
width: 80%;
}

#service article,
#service p {
width: 90%;
}

#service h4 {
font-size: 6.0rem;
}

#nav {
display: flex;
margin: 0 auto;
}

input[type=checkbox] + label {
display: block;
}

button,
input[type="button"] {
margin: 48px 0;
width: 100%;
}

footer {
width: auto;
}
    
}


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

h2.title {
font-size: 5rem;
margin-top: 60px;
width:auto;
text-align:center;
}
    
h3.title{
margin: 36px 0 0 0;    
}

#nav {
display: none;
position: fixed;
top: 0;
left: 0;
background-color: rgba(245, 245, 245, 1);
height: 100%;
width: 100%;
}

#nav nav {
margin-top: 180px;
}

nav ul {
display: block;
margin-top: 60px;
}

nav li {
font-size: 2.4rem;
font-family: "industry-inc-base", sans-serif;
padding: 2rem 0 2rem 0;
position: relative;
width: 100%;
text-align: center;
}

nav svg {
height: 30px;
width: 30px;
margin-top: -6px;
}

#icon {
background: rgb(245, 203, 54);
border-radius: 100px;
box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.1);
display: block;
width: 60px;
height: 60px;
position: absolute;
top: 12px;
right: 12px;
z-index: 9999;
}

#icon span {
width: 24px;
height: 3px;
left: 17px;
background: var(--bg-color);
position: absolute;
transition: transform 0.3s, opacity 0.3s;
}

#icon span:nth-of-type(1) {
top: 20px;
}

#icon span:nth-of-type(2) {
top: 30px;
transform: translateY(-50%);
}

#icon span:nth-of-type(3) {
top: 37px;
}

#icon.active {
background: none;
box-shadow: none;
}

#icon.active span {
background: var(--text-color);
}

#icon.active span:nth-of-type(1) {
transform: rotate(45deg) translate(6px, 6px);
opacity: 0.7;
}

#icon.active span:nth-of-type(2) {
opacity: 0;
}

#icon.active span:nth-of-type(3) {
transform: rotate(-45deg) translate(6px, -6px);
opacity: 0.7;
}

.flex {
display: block;
}

#service h4 {
font-size: 5rem;
}

#service div {
margin-top: 24px;
}

#service article {
margin-bottom: 80px;
width: 100%;
}

#service p {
margin: 0 auto;
}

#service article:last-of-type {
margin-bottom: 120px;
}

}