@charset "utf-8";

/* --------------
 reset
-------------- */
input,
select,
textarea {
  max-width: 95% !important;
}
h1,
h2,
h3,
h4 {
  font-size: 100%;
}

/* --------------
 base
-------------- */
html {
  -webkit-text-size-adjust: none;
}
/*body {font-size: 15px;}*/
body.active {
  overflow: hidden;
}
.ifpc {
  display: none;
}
.ifsp {
  display: block;
}

@media screen and (max-width: 320px) {
  /*以下の時*/
}
@media screen and (min-width: 321px) {
  /*以上の時*/
}

/* --------------
 modules css
-------------- */
/* ---------- font size */
.fs01 {
  font-size: 0.83em;
}
.fs02 {
  font-size: 0.84em;
}
.fs03 {
  font-size: 0.86em;
}
.fs04 {
  font-size: 0.88em;
}
.fs05 {
  font-size: 0.9em;
}
.fs06 {
  font-size: 0.92em;
}
.fs07 {
  font-size: 0.94em;
}
.fs08 {
  font-size: 0.96em;
}
.fs09 {
  font-size: 0.98em;
}
.fs10 {
  font-size: 1em;
}
.fs11 {
  font-size: 1.02em;
}
.fs12 {
  font-size: 1.04em;
}
.fs13 {
  font-size: 1.06em;
}
.fs14 {
  font-size: 1.08em;
}
.fs15 {
  font-size: 1.1em;
}
.fs16 {
  font-size: 1.12em;
}
.fs17 {
  font-size: 1.14em;
}
.fs18 {
  font-size: 1.16em;
}
.fs19 {
  font-size: 1.18em;
}
.fs20 {
  font-size: 1.2em;
}
.fs21 {
  font-size: 1.22em;
}
.fs22 {
  font-size: 1.24em;
}
.fs23 {
  font-size: 1.26em;
}
.fs24 {
  font-size: 1.28em;
}
.fs25 {
  font-size: 1.3em;
}
.fs30 {
  font-size: 1.4em;
}

/* ---------- margin,padding */
.mb35 {
  margin-bottom: 35px !important;
}
.mb40 {
  margin-bottom: 35px !important;
}
.mb45 {
  margin-bottom: 35px !important;
}
.mb50 {
  margin-bottom: 40px !important;
}
.mb55 {
  margin-bottom: 40px !important;
}
.mb60 {
  margin-bottom: 40px !important;
}
.mb70 {
  margin-bottom: 45px !important;
}
.mb80 {
  margin-bottom: 45px !important;
}
.mb90 {
  margin-bottom: 45px !important;
}
.mb100 {
  margin-bottom: 50px !important;
}

/* ----- base width */
#mainNav,
#container,
#siteFooter {
  width: 100%;
}
@media only screen and (orientation: landscape) {
  /*横向きの際に適用*/
  #mainNav,
  #container,
  #siteFooter {
    width: 500px;
    margin: 0 auto;
  }
}
/* ---------- align */
.alcSP {
  text-align: center !important;
}
.alrSP {
  text-align: right !important;
}
.allSP {
  text-align: left !important;
}

/* ----- imgbox */

.imgBox {
  height: 0;
  padding-bottom: 60%; /*exp適宜*/
}

/* --------------
 common
-------------- */
#design #wrap {
  max-width: 600px;
  padding: 0 40px;
  margin: 0 auto 60px;
}

/* =header
-------------------------------------------------------------- **/
#header {
  margin-top: 0;
  padding: 0;
}
#header .headerWrap {
  margin-top: 0;
}

.nlist {
  display: none !important;
  position: fixed;
  top: 0.8em;
  right: 0.8em;
  z-index: 600;
}

.menu-trigger {
  position: relative;
  width: 33px;
  height: 25px;
}

.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all 0.4s;
  box-sizing: border-box;
}

/*#home .menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #ebebeb;
  border-radius: 4px;
}*/
.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #005998;
  border-radius: 4px;
  text-align: center;
}

.menu-trigger span:nth-of-type(1) {
  top: 0;
}
.menu-trigger span:nth-of-type(2) {
  top: 32%;
}
.menu-trigger span:nth-of-type(3) {
  bottom: 20%;
}

.menu-trigger span:nth-of-type(4) {
  bottom: 0px;
  font-size: 0.5em;
  background-color: rgba(0, 0, 0, 0);
  color: #005998;
}

.menu-trigger.active span:nth-of-type(1) {
  -webkit-transform: translateY(5px) rotate(-315deg);
  transform: translateY(5px) rotate(-315deg);
}
.menu-trigger.active span:nth-of-type(2) {
  opacity: 0;
}
.menu-trigger.active span:nth-of-type(3) {
  -webkit-transform: translateY(-11px) rotate(315deg);
  transform: translateY(-11px) rotate(315deg);
}
.nav_menu_ul {
  font-size: 1.5rem;
  font-weight: bold;
}

/*=================================================
ハンバーガーメニュー
====================================================*/

.sp-humberger {
  display: block;
}
.nav_toggle {
  display: block;
  position: relative;
  width: 2rem;
  height: 1.75rem;
  z-index: 9999;
}
.nav_toggle i {
  display: block;
  width: 100%;
  height: 5px;
  border-radius: 30px;
  background-color: #888;
  position: absolute;
  right: 0;
  transition: transform 0.5s, opacity 0.5s;
}
.nav_toggle i:nth-child(1) {
  top: 0;
}
.nav_toggle i:nth-child(2) {
  top: 0;
  bottom: 0;
  margin: auto;
}
.nav_toggle i:nth-child(3) {
  bottom: 0;
}
.nav_toggle.show i:nth-child(1) {
  transform: translateY(10px) rotate(-45deg);
}
.nav_toggle.show i:nth-child(2) {
  opacity: 0;
}
.nav_toggle.show i:nth-child(3) {
  transform: translateY(-12px) rotate(45deg);
}
.nav {
  position: fixed;
  top: 0rem;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
  height: 100vh;
  z-index: 9500;
  background-color: #fff;
}
.nav ul li a {
  color: #333;
}
.nav ul li {
  margin: 15px 0;
  color: #333;
}
#header ul {
  margin: 2rem 0;
}
/*
  .nav ul li:nth-of-type(5) {
	margin: 60px 0;
  }
  */
.nav .navOrange {
  max-width: 340px;
  max-height: 70px;
  background-color: #ed9b69;
  border: #ed9b69 1px solid;
  border-radius: 50px;
  padding: 1rem 1.5rem;
  font-size: 1.5rem;
  color: #fff;
}
.nav .navOrange span {
  margin-left: 10px;
}
.nav .phone {
  font-size: 1.25rem;
}
.phoneMark {
  font-size: 1.875rem;
}
.phoneNumber {
  font-size: 2.25rem;
}
.nav.show {
  opacity: 1;
  visibility: visible;
}
.nav_toggle {
  display: block;
  position: fixed;
  right: 2%;
  top: 2%;
}
#header .cmnBox h1 {
  text-align: center;
  margin-bottom: 3rem;
  margin-top: 4rem;
}
#header .cmnBox h1 a {
  width: 30%;
  display: inline-block;
  text-align: center;
}

#header .cmnBox .btn a {
  background-color: #97ce98;
  color: #fff;
  display: block;
  width: 80%;
  padding: 20px 0.8em;
  border-radius: 10px;
  font-weight: bold;
  margin: 0 auto;
  min-width: 280px;
  transition: all 0.3s;
  text-align: center;
  text-decoration: none;
  border: #fff 1px solid;
  font-size: 1.3rem;
}
#header .cmnBox p {
  background-color: #fff;
  border: #fff 1px solid;
}
.cmnBox p {
  margin-left: 0;
}
#header .headTtl {
  font-size: 20px;
}
@media screen and (max-width: 500px) {
  /*以下の時*/
  #header .headTtl {
    font-size: 20px;
  }
  #g-nav li a {
    font-size: 1.2em;
  }
  .nav ul li {
    font-size: 1rem;
  }
  #header .cmnBox .btn a {
    width: 60%;
    padding: 1rem 0.8em;
    border-radius: 10px;
    font-size: 1.125rem;
  }
}
@media screen and (max-width: 400px) {
  /*以下の時*/
  #header .headTtl {
    font-size: 16px;
  }
  #g-nav li a {
    font-size: 1em;
  }
  #header .cmnBox .btn a {
    font-size: 1.2rem;
  }
}

/* =siteHeader
---------------------------------------------------- */
#siteHeader {
  position: absolute;
  z-index: 1;
  width: 30%;
  left: 3%;
  top: 15%;
}

#siteHeader h1 img {
  max-height: 90px;
}

.leadBox {
  top: 28%;
  left: 10%;
  width: 75%;
}
.bgGreen {
  padding: 2em;
}
@media screen and (max-width: 500px) {
  .bgGreen {
    padding: 2em;
  }
  #siteHeader h1 img {
    max-height: 60px;
  }
  .leadBox {
    top: 25%;
  }
}
@media screen and (max-width: 400px) {
  #siteHeader h1 img {
    max-height: 50px;
  }
  .leadBox {
    top: 23%;
    font-size: 1em;
  }
}
/* =globalNav
---------------------------------------------------- */
.mvImg {
  height: 100vh;
  background-position: center center;
  background-size: cover;
}

/* =container (TOP)
-------------------------------------------------------------- **/
.bread,
.main {
  width: 96%;
}

.worksItem,
.businessItem {
  width: 100%;
}
.main #business h1 {
  font-size: 1.5em;
}
.main .businessList {
  grid-template-columns: 1fr;
  gap: 50px;
  justify-items: center;
}
.main .businessItem img {
  left: 40%;
}
.framework {
  display: block;
  padding: 50px 1rem 0;
  height: 100%;
}

.button--green {
  font-size: 0.9em;
}

/*---------news*/
#home #news dl {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.news dl dt {
  font-size: 0.875rem;
}

.stickarrow {
  width: 20px;
  height: 5px;
  margin-left: 1rem;
  margin-right: 0.5rem;
}
.more {
  color: #9ccf97;
  font-size: 0.75rem;
}
@media screen and (max-width: 600px) {
  .main .businessItem img {
    left: 35%;
  }
}

@media screen and (max-width: 560px) {
  .worksItem {
    width: 100%;
  }

  .worksItem:nth-of-type(n + 2) {
    margin-top: 30px;
  }
}

@media screen and (max-width: 500px) {
  #homeCompany dl {
    font-size: 0.875rem;
  }
}

@media screen and (min-width: 421px) {
  .businessItem:nth-of-type(n + 3) {
    margin-top: 30px;
  }
}

@media screen and (max-width: 420px) {
  .businessItem {
    width: 80%;
    margin-right: auto;
    margin-left: auto;
  }

  .businessItem:nth-of-type(n + 2) {
    margin-top: 30px;
  }
}
@media screen and (max-width: 450px) {
  .main .businessItem img {
    left: 30%;
  }
}
@media screen and (max-width: 400px) {
  .main .businessItem img {
    left: 25%;
  }
  .can .canGrid img {
    width: 70%;
  }
  .can .canGrid {
    font-size: 0.625rem;
  }
  .can .canGrid a {
    margin-top: 0.5rem;
  }
}

.down {
  text-align: center;
  margin: 40px auto;
}

.logoItem.logoC {
  width: 85%;
}

.logoItem.logoS,
.logoItem.logoT,
.logoItem.logoP,
.logoItem.logoR {
  width: 40%;
}

.logoItem {
  margin: 90px auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.logoItem a {
  margin-top: 3em;
}

.logoItem.show:nth-of-type(1)::before,
.logoItem.show:nth-of-type(2)::before,
.logoItem.show:nth-of-type(3)::before,
.logoItem.show:nth-of-type(4)::before,
.logoItem.show:nth-of-type(5)::before {
  top: -30px;
  left: auto;
}

.logoItem.show::after {
  top: 10px;
  left: auto;
}
.worksList {
  gap: 30px;
}

/* ---------design */

/* =subpage
---------------------------------------------------- */
.mv__text {
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  bottom: -1.2em;
}
.mv__text p:nth-child(2) {
  font-size: 0.9rem;
}

.mv {
  padding: 0.4em;
}
.headTtl > img {
  height: 100px;
}

/*service*/
@media screen and (max-width: 700px) {
  #service5business ol {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 450px) {
  #service5business ol {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/*company, privacy*/
.cmnBox h2 {
  font-size: 1.2em;
}

/*contact*/
.contactFormBox h2 {
  font-size: 1.2em;
}

.typeBox label {
  white-space: nowrap;
  margin: 0.5em 2em 0.5em 0;
  font-size: 0.85em;
}

.contactFormBox dl {
  flex-wrap: wrap;
  margin-top: 40px;
}

.contactFormBox dt {
  font-size: 1em;
  width: 100%;
  margin-bottom: 0.8em;
}

.contactFormBox dd {
  width: 100%;
}
.submitBtm {
  display: block;
}
.submitBtm button {
  width: 96%;
  margin-right: auto;
  margin-left: auto;
  padding: 1em;
  font-size: 0.9em;
}
#contact .submitBtm button:first-of-type {
  margin-bottom: 0;
  margin-right: 0;
}
#confirmsub .submitBtm button:first-of-type {
  margin-bottom: 40px;
  margin-right: 0;
}

@media screen and (max-width: 400px) {
  .typeBox label {
    font-size: 0.85em;
  }
}
/* =breadcrumb
---------------------------------------------------- */

.bread {
  margin-right: auto;
  margin-left: auto;
}

/* =headline / titles
---------------------------------------------------- */

/* =sidebar
---------------------------------------------------- */
/* =aside
------------------------------------------ */

/* =footer
-------------------------------------------------------------- **/
#footer {
  padding: 0 40px;
}
#footNav ul li:nth-of-type(n + 2) {
  margin-left: 0.8em;
}
#copyright {
  font-size: 0.675rem;
}
@media screen and (max-width: 400px) {
  #footer a {
    color: #fff;
    font-size: 0.8em;
  }
}

/* =siteFooter
---------------------------------------------------- */

/* =copyright
---------------------------------------------------- */

/* =pageTop
-------------------------------------------------------------- **/
#pageTop {
  right: 5px;
  bottom: 60px;
}

#pageTop a {
  width: 50px;
  height: 50px;
  background-size: 50px;
}

/* --------------
 home contents
-------------- */
/* =visual
---------------------------------------------------- */

/* grid */
.sp-column--1 {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.sp-grid--2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1em;
}
.sp-grid--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
}

/* --------------
 subpages contents
-------------- */
section:nth-of-type(n + 2) {
  margin: 3.75rem 0;
}

/*common*/
section#mv h1 {
  font-size: 2rem;
}
section#mv h1 span {
  font-size: 1.25rem;
}
section#mv img {
  border-radius: 20px;
}

/*top*/
.news dl {
  display: block;
}

.news dl dt span {
  font-size: 1.2rem;
}
.working__item {
  width: 100%;
}

/*contact */
#contactCan.can .canGrid a {
  width: 100%;
}
#contactList p {
  font-size: 0.75rem;
}
@media screen and (max-width: 600px) {
  /*common*/
  .can .canGrid {
    gap: 30px;
  }
}
@media screen and (max-width: 520px) {
  /*common*/
  section#mv h1 {
    font-size: 1.875rem;
  }
  /*works*/
  .worksGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
@media screen and (max-width: 500px) {
  /*common*/
  section#mv img {
    border-radius: 20px;
  }
  section#mv h1 {
    font-size: 1.5rem;
  }
  section#mv h1 span {
    font-size: 0.875rem;
  }

  .can .canGrid {
    gap: 1rem;
    font-size: 0.75rem;
  }
  .can .canGrid a {
    padding: 0.5rem 0;
  }
  /*top*/
  .news a {
  }
  .news dl dt {
    font-size: 0.75rem;
  }
}
@media screen and (max-width: 400px) {
  /*common*/
  .can .canGrid img {
    width: 70%;
  }
  .can .canGrid {
    font-size: 0.625rem;
  }
  .can .canGrid a {
    margin-top: 0.5rem;
  }
  /*contact*/
  #contactList p {
    word-break: keep-all;
  }
  .sp400 {
    display: block;
  }
  #contactsub .can .canGrid img {
    width: 50%;
  }
}
@media screen and (max-width: 350px) {
  /*common*/
  #homeNews {
  }
}
