/*------------------------------------------------------------
CSS変数
-------------------------------------------------------------*/
:root {
   --base-width: 1200px;
   --white: #fff;
   --red: #da3c10;
}


/*------------------------------------------------------------
共通設定
-------------------------------------------------------------*/
*,
*::before,
*::after {
   box-sizing: inherit;
}

html {
   box-sizing: border-box;
}

body {
   background-color: #333;
   color: #fff;
   font-family: Arial, sans-serif;
   margin: 0;
   padding: 0;
   line-height: 1.6;
   overflow-x: hidden;
}

a {
   color: #ff9122;
   transition: .3s;
}

a:hover,
a:active {
   color: #ff5722;
}

address,
caption,
cite,
code,
dfn,
var,
h1,
h2,
h3,
h4,
h5,
h6 {
   font-style: normal;
   font-weight: normal;
   margin: 0;
}

button,
input,
select,
textarea,
optgroup,
option {
   vertical-align: baseline;
}

strong {
   font-weight: normal;
}

button {
   transition: .3s;
}

caption {
   text-align: left;
}

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

div {
   word-wrap: break-word;
   overflow-wrap: break-word;
}

p {
   margin: 0 0 1rem;
}

ul,
ol,
dl {
   margin: 0;
   padding-left: 0;
}

li {
   list-style: none;
}

dd {
   margin-left: 0;
   padding-left: 1rem;
}

table {
   width: 100%;
   word-break: break-all;
   word-wrap: break-word;
   border-spacing: 0;
   margin: 0.5rem 0 2rem;
   padding: 0;
   border-top: 1px solid #bbb;
   border-left: 1px solid #bbb;
}

th,
td {
   border-right: 1px solid #bbb;
   border-bottom: 1px solid #bbb;
   text-align: center;
}

/*動画などのレスポンシブ対応*/
embed,
iframe,
object,
video {
   max-width: 100%;
}


/*--------------------------------------------------------
ヘッダー
--------------------------------------------------------*/
header {
   background: url(../../images/header-background.jpg) no-repeat center center/cover;
   box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
   padding: 10px 20px;
   position: fixed;
   top: 0;
   width: 100%;
   z-index: 3;
   height: 130px;
   color: white;
}

header .container {
   max-width: 1160px;
   height: 100%;
   display: flex;
   justify-content: center;
   align-items: center;
}

.logo {
   width: fit-content;
}

.logo a {
   width: fit-content;
}

.logo img {
   display: block;
   height: auto;
   max-height: 40px;
   width: auto;
   transform-origin: left center;
}

/* メニューー */
nav {
   position: relative;
   margin-left: auto;
}

.header-menu a {
   color: white;
   padding: 0px 20px 0px 20px;
   font-size: 14px;
   display: inline-block;
   white-space: nowrap;
   text-decoration: underline;
}

.hamburger-menu span {
   height: 3px;
   width: 25px;
   background: white;
   margin-bottom: 4px;
   border-radius: 3px;
}

#menu {
   list-style: none;
   display: flex;
   gap: 20px;
   margin: 0;
   padding: 0;
}

#menu li {
   text-align: center;
   width: 100%;
}

#menu a {
   display: block;
   padding: 10px 0;
   width: 100%;
}

/* ハンバーガーメニューー */
.hamburger-menu {
   display: none;
   flex-direction: column;
   cursor: pointer;
}

.close-menu {
   position: absolute;
   top: 5px;
   right: 10px;
   cursor: pointer;
   flex-direction: column;
   display: none;
   z-index: 6;
}

.close-menu span {
   height: 3px;
   width: 25px;
   background: black;
   margin-bottom: 4px;
   border-radius: 3px;
}

#menu-toggle {
   display: none;
}

#menu-toggle:checked+.hamburger-menu+#menu {
   display: flex;
   position: fixed;
   top: 0;
   right: 0;
   height: 100%;
   width: 50%;
   background-color: #fff;
   box-shadow: -2px 0 4px rgba(0, 0, 0, .1);
   flex-direction: column;
   justify-content: center;
   align-items: center;
   gap: 20px;
   padding: 20px;
   z-index: 5;
   transition: transform .3s ease;
}

#menu-toggle:checked+.hamburger-menu+#menu+.close-menu {
   display: flex;
}

.menu-overlay {
   position: fixed;
   top: 0;
   left: 0;
   width: 100vw;
   height: 100vh;
   height: 100dvh;
   background: rgba(0, 0, 0, .1);
   visibility: hidden;
   opacity: 0;
   -webkit-transition: .2s;
   transition: .2s;
   z-index: 4;
}

#menu-toggle:checked+.hamburger-menu+#menu+.close-menu+.menu-overlay {
   visibility: visible;
   opacity: 1;
}

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

   header .container {
      position: relative;
      justify-content: center;
   }

   .header-menu a {
      color: black;
   }

   .hamburger-menu {
      position: absolute;
      top: 5px;
      right: 10px;
      transform: translateY(-50%);
      display: flex;
   }

   #menu {
      display: none;
      flex-direction: column;
      width: 100%;
      position: absolute;
      top: 0;
      right: 0;
   }
}


/*--------------------------------------------------------
フッター
--------------------------------------------------------*/
footer {
   background-color: #333;
   color: #fff;
   text-align: center;
   padding: 0px 0;
   margin-top: 0px;
}

footer .container {
   display: flex;
   justify-content: center;
   align-items: center;
}

.footer-links {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 0px;
   padding: 0px 0;
}

.footer-links a {
   text-decoration: none;
   color: white;
   padding: 0px;
   flex: 1 1 auto;
   text-align: center;
   min-width: 100px;
}

.copyright {
   padding: 1em;
}

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

   .footer-links a {
      flex: 1 1 20%;
   }
}

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

   .footer-links a {
      flex: 1 1 33%;
   }

   .footer-links a:nth-last-child(-n+2) {
      flex: 1 1 50%;
   }
}

/* Back to top button */
#back-to-top {
   display: none;
   position: fixed;
   bottom: 20px;
   right: 20px;
   padding: 10px 20px;
   background-color: #555;
   color: #fff;
   border: none;
   border-radius: 5px;
   cursor: pointer;
}


/*--------------------------------------------------------
レイアウト
--------------------------------------------------------*/
.main-conts {
   max-width: var(--base-width);
}

.container {
   max-width: var(--base-width);
   margin: 0 auto;
   display: flex;
   justify-content: space-between;
   align-items: center;
}

main {
   padding: 125px 20px 35px;
   max-width: var(--base-width);
   margin: 0 auto;
}

.content-section {
   padding: 20px;
   background-color: #fff;
   margin-bottom: 10px;
   border-radius: 5px;
   box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

/*見出し*/
.section-title {
   font-size: 1.5em;
   margin: .75em 0 .5em;
}

.home-headline {
   font-size: 1.5em;
   font-weight: bold;
   margin: .75em 0 .5em 20px;
}

.error404 {
   margin-bottom: 2em;
}


/*--------------------------------------------------------
コンテンツ
--------------------------------------------------------*/
/* ABOUT US */
#about {
   margin-bottom: 1em;
   position: relative;
   background-image: url(../../images/about-background.png);
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   z-index: -2;
}

#about::after {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: rgba(109, 109, 109, .9);
   z-index: -1;
}

.about {
   padding: 30px 15px;
   text-align: center;
}

/*BUSINESS*/
#business {
   background-color: #333;
   color: white;
   margin-bottom: 0px;
}

.table-container-item {
   display: flex;
   align-items: center;
   justify-content: center;
   flex-direction: column;
   text-align: center;
   width: 100%;
   margin-bottom: 5px;
   padding: 15px;
}

.table-container-item:not(:last-child) {
   border-bottom: 1px solid white;
}

.table-container-item img {
   max-width: 200px;
   max-height: 150px;
   display: block;
   margin: 0 auto;
}

.table-container-item h3 {
   color: #fff;
   font-weight: bold;
   font-size: 1.2em;
   margin: 1.5em 0;
}

#business .portfolio-link {
   margin-top: 20px;
   display: block;
}

#business .instagram-link {
   margin-top: 20px;
   display: block;
}

#business .sns-link {
   margin-top: 20px;
   display: block;
}

/*FEATURE*/
.steps-wrapper {
   display: flex;
   overflow-x: auto;
   white-space: nowrap;
   gap: 20px;
   padding: 10px;
}

.step {
   display: inline-block;
   vertical-align: top;
   white-space: normal;
   width: 80%;
   min-width: 200px;
   max-width: 300px;
   background: #fff;
   padding: 30px 20px;
   border-radius: 5px;
   box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
   scroll-snap-align: start;
}

.num {
   font-size: 2.5em;
   color: #555;
   margin-bottom: 10px;
}

.step-detail h3 {
   font-weight: bold;
   font-size: 1em;
   margin-bottom: 10px;
   color: #333;
   text-align: center;
}

.step-detail p {
   font-size: 1em;
   color: #666;
}

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

   .about {
      padding: 30px 10px;
   }

   .step {
      width: 90%;
   }

   .step-detail {
      text-align: left;
   }
}

/*CONTACT*/
.contact {
   background-color: #f2f2f2;
   padding: 50px 20px;
   text-align: left;
}

.form-container {
   display: flex;
   justify-content: center;
   width: 100%;
   max-width: 800px;
   margin: 0 auto;
}

.contact-form {
   width: 100%;
   max-width: 500px;
   padding: 20px;
   color: #333;
   background: #f2f2f2;
   border-radius: 10px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
   display: flex;
   flex-direction: column;
   gap: 20px;
}

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

   .contact-form {
      padding: 10px;
   }
}

.form-group {
   display: flex;
   flex-direction: column;
}

.form-group label {
   font-size: 1em;
   margin-bottom: 5px;
}

.form-group .required {
   color: var(--red);
}

.form-group input,
.form-group textarea {
   width: 100%;
   padding: 7px 10px;
   color: #333;
   font-size: 1em;
   background: #fff;
   border: 1px solid #ddd;
   border-radius: 5px;
}

.contact-form .btn {
   padding: 10px 20px;
   font-size: 1em;
   color: #fff;
   background-color: #333;
   border: none;
   border-radius: 5px;
   cursor: pointer;
   text-align: center;
}

.contact-form .btn:hover {
   background-color: #555;
}

/*company*/
.company {
   background: url(../../images/company_bg.jpg) no-repeat center center/cover;
   padding: 50px 20px;
   text-align: center;
   position: relative;
   color: #fff;
}

.company::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: rgba(0, 0, 0, .5);
   z-index: 0;
}

.company .container {
   max-width: 1200px;
   margin: 0 auto;
   position: relative;
   z-index: 1;
   display: flex;
   justify-content: center;
   align-items: center;
   width: 100%;
   height: 100%;
}

.company .title {
   font-size: 1.5em;
   margin-bottom: 30px;
   color: #fff;
}

.company-content {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 20px;
}

.company-text {
   flex: 1;
   min-width: 300px;
   text-align: center;
}

.company-text h3 {
   font-weight: bold;
   font-size: 1.5em;
   margin-bottom: 10px;
   color: #fff;
}

.company-table {
   width: 100%;
   max-width: 600px;
   margin: 0 auto;
   border-collapse: collapse;
}

.company-table th,
.company-table td {
   padding: 10px;
   border: 1px solid #fff;
   text-align: left;
   color: #fff;
   vertical-align: middle;
}

.company-image {
   flex: 1;
   min-width: 300px;
   text-align: center;
}

.company-image img {
   width: 100%;
   max-width: 300px;
   border-radius: 5px;
   box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

/*エラーメッセージ*/
.error_message {
   font-size: .85em;
   color: var(--red);
}