@charset "UTF-8";
/* ----------------------- */

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
}

html {
  font-size: 62.5%;
  line-height: 1.6;
  height: 100%;
}

@font-face {
  font-family: 'meiryo';
  src: url('../font/Meiryo-01.ttf') format('truetype');
  font-weight: normal;
}

@font-face {
  font-family: 'meiryo';
  src: url('../font/MeiryoUI-Bold-03.ttf') format('truetype');
  font-weight: bold;
}

@font-face {
  font-family: 'century';
  src: url('../font/century-gothic.ttf') format('truetype');
  font-weight: normal;
}

@font-face {
  font-family: 'century';
  src: url('../font/century-gothic-bold.ttf') format('truetype');
  font-weight: bold;
}

@font-face {
  font-family: 'zenold';
  src: url('../font/ZenOldMincho-Regular.ttf') format('truetype');
}

body {
  background-color: #fff;
  color: #3e3a39;
  font-size: 1.6rem;
  font-family: 'meiryo', YuGothic, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  font-weight: 400;
  font-style: normal;
  width: 100%;
  letter-spacing: 0.1em;
}

.body-wrap {
  overflow: hidden;
}

@media(min-width: 961px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

p {
  font-size: 16px;
}

/*loading*/
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999999;
  text-align: center;
  color: #3e3a39;
}

#splash-logo {
  position: absolute;
  top: 51%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
}

#splash-logo img {
  width: 100%;
}

@media screen and (max-width:599px) {
  #splash-logo {
    width: 200px;
  }
}

/*画面遷移*/

/*画面遷移アニメーション*/
.splashbg {
  display: none;
}

body.appear .splashbg {
  display: block;
  content: "";
  position: fixed;
  z-index: 988;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  transform: scaleX(0);
  background-color: #f8b62d;
  animation-name: PageAnime;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes PageAnime {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }

  50% {
    transform-origin: left;
    transform: scaleX(1);
  }

  50.001% {
    transform-origin: right;
  }

  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}

/*画面遷移後body*/
#appear-after {
  opacity: 0;
}

body.appear #appear-after {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* -------------------------- */

/*nav*/


#top-head {
  width: 100%;
  height: 100px;
  background-color: rgba(255, 255, 255, .7);
  display: flex;
  position: fixed;
  z-index: 998;
  transition: .2s;
}


#top-head.change-color {
  background-color: rgba(0, 0, 0, 0);
}


#top-head .inner {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#g-nav ul {
  display: flex;
  list-style-type: none;
  align-items: center;
}

#g-nav li a {
  padding: 0 15px;
  text-align: center;
  display: block;
  font-size: 1.8rem;
  color: #3e3a39;
line-height: 1.85;
}

#g-nav li a:hover {
  opacity: .5;
}

#g-nav li a .g-nav-s-txt {
  font-size: .74em;
  font-family: 'century', sans-serif;
  font-weight: bold;
  color: #2ea7e0;
  display: block;
}


#g-nav .mail-icon {
  background: #2ea7e0;
  min-width: 125px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#g-nav .tel-icon {
  background-color: #f8b62d;
  min-width: 125px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* instaのグラデーション */
#g-nav .insta-icon {
  background: -webkit-linear-gradient(45deg, rgba(254,212,117,1) 0%,rgba(229,61,93,1) 50%,rgba(194,49,134,1) 70%,rgba(156,56,187,1) 100%);
  background: linear-gradient(45deg, rgba(254,212,117,1) 0%,rgba(229,61,93,1) 50%,rgba(194,49,134,1) 70%,rgba(156,56,187,1) 100%);
  overflow: hidden;
  min-width: 125px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* --instaのグラデーション */
#g-nav .mail-icon a .g-nav-s-txt,
#g-nav .tel-icon a .g-nav-s-txt,
#g-nav .insta-icon a .g-nav-s-txt {
  color: #fff;
}

.mail-icon img,
.tel-icon img,
.insta-icon img {
  max-height: 28px;
  display: block;
  margin: 0 auto 5px;
}

.openbtn {
  display: none;
}


.header-logo {
  height: 70px;
  padding-left: 20px;
}

.header-logo img {
  height: 100%;
}

@media screen and (max-width:1140px) {
  #top-head {
    height: 60px;
  }

  #top-head .inner {
    width: 100%;
  }

  .header-logo {
    height: 40px;
    padding-left: 0px;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);

  }

  #g-nav {
    position: fixed;
    z-index: 999;
    top: 0;
    right: -120%;
    width: 67%;
    height: 100vh;
    background: #fff;
    /*動き*/
    transition: all 0.4s;
  }

  #g-nav.panelactive {
    right: 0;
  }

  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  #g-nav ul {
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 100%;
  }

  #g-nav li {
    list-style: none;
    text-align: center;
    border-bottom: solid 1px #f1f1f1;
  }

  #g-nav li a {
    color: #333;
    text-decoration: none;
    padding: 7px 0 7px 20px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
    text-align: left;
  }

  #g-nav .tel-icon {
    min-width: none;
    height: auto;
    display: block;
  }

  #g-nav .mail-icon {
    min-width: none;
    height: auto;
    display: block;
  }

  #g-nav .insta-icon {
    min-width: none;
    height: auto;
    display: block;
    border-bottom: none;
  }

  .mail-icon img,
  .tel-icon img {
    margin: 0 0 0 -5px;
  }
.insta-icon img {
  margin: 0 ;
}

  /* hamburger */
  .openbtn {
    position: fixed;
    z-index: 9999;
    top: 0px;
    right: 0px;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: inline-block;
    background-color: #2ea7e0;
    transition: all .2s;
  }

  /*-*/
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    right: 10px;
    height: 2px;
    border-radius: 2px;
    background-color: #fff;
    width: 40px;
  }

  .openbtn span:nth-of-type(1) {
    top: 20px;
  }

  .openbtn span:nth-of-type(2) {
    top: 30px;
  }

  .openbtn span:nth-of-type(3) {
    top: 40px;
  }

  .openbtn.active {
    background-color: #2b2e4e;
  }

  .openbtn.active span:nth-of-type(1) {
    top: 20px;
    transform: translateY(10px);
    width: 40px;
  }

  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }

  .openbtn.active span:nth-of-type(3) {
    top: 40px;
    transform: translateY(-10px);
    width: 40px;
  }

  #popup-bg {
    transition: all 0.4s;
  }

  .popup-bg-cover {
    position: fixed;
    background: rgba(46, 167, 224, .5);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 989;
  }

}


/* 共通 */
.container {
  width: 95%;
  max-width: 1100px;
  margin: 0 auto;
}

.container-b {
  width: 95%;
  max-width: 820px;
  margin: 0 auto;
}

.flex-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-start-box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.flex-end-box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}



.txt-box {
  width: 50%;
  max-width: 420px;
  text-align: left;
}

/* .txt-box-a {
  width: 50%;
  max-width: 370px;
  text-align: left;
} */

.txt-box-b {
  width: 100%;
  text-align: left;
}

.img-box {
  width: 50%;
  max-width: 510px;
}

.img-box img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.img-box-large {
  width: 60%;
  max-width:710px;

}

.img-box-large img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.centering {
  text-align: center;
  margin: 0 auto;
}

.notes {
  font-size: .8em;
  margin: 10px 0;
}

@media screen and (max-width:768px) {
  .container {
    width: 80%
  }

  .flex-box,
  .flex-start-box,
  .flex-end-box {
    display: flex;
    flex-direction: column;
  }

  .cr {
    flex-direction: column-reverse;
  }

  .txt-box,
  .img-box,
  .img-box-large {
    width: 100%;
    max-width: none;
  }

  .img-box img,
  .img-box-large img {
    height: auto;
    object-fit: contain;
  }

}

@media screen and (max-width:599px) {
  .container {
    width: 85%
  }
}

@media screen and (max-width:428px) {
  .notes {
    font-size: .7em;
  }
}

@media screen and (max-width:360px) {
  .notes {
    font-size: .6em;
  }
}


/* title */
.section-title {
  font-family: 'century', sans-serif;
  color: #2ea7e0;
  font-weight: bold;
  font-size: 5rem;
}

.section-title-sub {
  display: block;
  font-size: 2rem;
}

h3 {
  font-size: 2rem;
  font-weight: bold;
  margin: 20px 0 15px;
}

/* button */
.line-button-wrap {
  display: flex;
  justify-content: flex-end;
}

.line-button {
  position: relative;
  display: inline-block;
  padding: 8px 20px;
  width: 100%;
  max-width: 190px;
  min-width: 160px;
  text-align: center;
  transition: all 0.3s;
  color: #2ea7e0;
  z-index: 1;
  border: 2px solid #2ea7e0;
  font-family: 'century', sans-serif;
  font-weight: normal;
}

.line-button:before {
  position: absolute;
  content: "";
  background: #2ea7e0;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  right: -25px;
  height: 2px;
  transition: 0.4s;
  transition: all 0.3s;
}

.line-button:hover:before {
  right: -40px;
}

@media screen and (max-width:768px) {

  /* title */
  .section-title {
    font-size: 4.3rem;
  }

  .section-title-sub {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 2rem;
    font-weight: bold;
    margin: 20px 0 15px;
  }

  .line-button-wrap {
    justify-content: center;
    margin: 20px 0;
  }
}



/* button end */

/* animation */

.fadeInTrigger,
.fadeUpTrigger,
.fadeDownTrigger,
.fadeLeftTrigger,
.fadeRightTrigger {
  opacity: 0;
}

/* delay */
.delay1 {
  animation-delay: .1s;
}

.delay2 {
  animation-delay: .2s;
}

.delay3 {
  animation-delay: .3s;
}

.delay4 {
  animation-delay: .4s;
}

.delay5 {
  animation-delay: .5s;
}

.delay6 {
  animation-delay: .6s;
}


/* fadeIn */
.fadeIn {
  animation-name: fadeInAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeInAnime {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* fadeUp */

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: .7s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* fadeDown */

.fadeDown {
  animation-name: fadeDownAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeDownAnime {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* fadeLeft */

.fadeLeft {
  animation-name: fadeLeftAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeLeftAnime {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* fadeRight */

.fadeRight {
  animation-name: fadeRightAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeRightAnime {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* animation end */


/* top main visual */
#slider {
  position: absolute;
  top: 100px;
  right: 0;
  width: 64%;
  height: 70%;
  z-index: -1;
}

#slider-p {
  width: 100%;
  padding-top: 100px;
  position: relative;
}

#slider-p img {
  width: 100%;
  z-index: 10;
}



@media screen and (max-width:1140px) {
  #slider-p {
    padding-top: 60px;
  }

  #slider {
    top: 60px;
  }
}

@media screen and (min-width:600px) {
  .slidepc {
    display: block;
  }

  .slidesp {
    display: none;
  }
}

@media screen and (max-width:599px) {
  .slidepc {
    display: none;
  }

  .slidesp {
    display: block;
  }

  #slider {
    top: 60px;
    right: 0;
    width: 77%;
    height: 65%;
    z-index: -1;
  }
}

/* section.about */
.about {
  position: relative;
}

.triangle-bg1 {
  width: 58%;
  position: absolute;
  top: -30%;
  left: 0;
  z-index: -2;
  max-width: 800px;
  min-width: 400px;
}

.triangle-bg1 img {
  width: 100%;
}

.triangle-bg2 {
  width: 58%;
  position: absolute;
  bottom: -30%;
  right: 0;
  z-index: -2;
  max-width: 800px;
  min-width: 400px;
}

.triangle-bg2 img {
  width: 100%;
}

@media screen and (max-width:768px) {
  .triangle-bg1 {
    top: -3%;
  }

  .triangle-bg2 {
    bottom: -3%;
  }
}

.grad-box {
  width: 100%;
  padding: 30px;
  margin: 90px auto;
  min-height: 480px;
  position: relative;
  background-color: #2b2e4e;
  z-index: 1;
}

.grad-box::before {
  background: url(../img/mission_1.png)no-repeat;
  background-size: cover;
  background-position: center;
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.grad-box .txt-box .section-title,
.grad-box .txt-box .section-title-sub,
.grad-box .txt-box p {
  color: #fff;
  /* line-height: 1.25; */
}

.grad-box .txt-box {
  width: 50%;
  max-width: 510px;
  text-align: left;
}

@media screen and (max-width:768px) {
  .grad-box .txt-box {
    width: 100%;
  }

  .grad-box::before {
    background-position: right;
  }
}

@media screen and (max-width:599px) {
  .grad-box {
    padding: 20px;
  }

  .grad-box::before {
    opacity: .5;
    background-position: 73% 50%;
  }
}


/* section.about end */

/* section.top-gallery */
.top-gallery {
  background-color: rgba(248, 182, 45, .5);
  padding: 50px 0;
}

.top-gallery .section-title,
.top-gallery .section-title-sub {
  color: #231815;
}

.section-title-line {
  border-bottom: #231815 solid 2px;
  width: 30%;
  max-width: 120px;
  margin: 10px auto;
}

/* sliclslider */


.slickslider {
  width: 97%;
  margin: 40px auto;
}

.slickslider img {
  width: 40vw;
  height: auto;
}

.slickslider .slick-slide {
  transform: scale(0.8);
  transition: all .4s;
  opacity: 0.5;
}

.slickslider .slick-slide.slick-center {
  transform: scale(1);
  opacity: 1;
}

/*slickslider end */

.top-gallery .line-button-wrap {
  justify-content: center;
}


.top-gallery .line-button {
  color: #231815;
  border: 2px solid #231815;
}

.top-gallery .line-button:before {
  background: #231815;
}

@media screen and (max-width:599px) {
  .slickslider img {
    width: 60vw;
    height: auto;
  }
}

/* section.top-gallery end */

/* section.top-company */
.top-company {
  padding: 80px 0;
}

.top-company .flex-box {
  position: relative;
}


.txt-box-shadow {
  width: 600px;
  text-align: left;
  box-shadow: 12px 15px 15px -5px rgba(35, 24, 21, .8);
  min-height: 350px;
  position: absolute;
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
  background-color: #fff;
  padding: 60px;
}

.top-company .img-box {
  width: 600px;
  z-index: -1;
}


.top-company p {
  line-height: 2.5;
}

.top-company p span {
  display: inline-block;
}

@media screen and (max-width:768px) {

  .top-company .flex-box {
    box-shadow: 12px 15px 15px -5px rgba(35, 24, 21, .8);
  }

  .txt-box-shadow {
    position: static;
    width: 100%;
    padding: 20px;
    transform: translateY(0%);
    box-shadow: none;
  }

  .top-company .img-box {
    width: 100%;
  }

  .top-company p {
    line-height: 2;
  }
}

/* section.top-company end */

/* section.lower-link */
.lower-link {
  width: 100%;
  margin-bottom: 60px;
}

.lower-link-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.lower-link-grid-ch {
  overflow: hidden;
  background-color: rgba(35, 24, 21, 1);
}

.lower-link-grid-ch a {
  display: block;
  position: relative;
}

.lower-link-grid-ch a:hover img {
  transform: scale(1.05, 1.05);

  opacity: .9;
}

.lower-link-grid-ch a img {
  width: 100%;
  height: 100%;
  vertical-align: middle;
  opacity: .7;
  transition: .2s all;
}

.lower-link-title-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
}

.lower-link-title {
  font-size: 2.8rem;
  color: #fff;
}

.lower-line {
  border-bottom: #fff solid 1px;
}

.lower-sub-title {
  font-family: 'century', sans-serif;
  font-weight: bold;
  font-size: 2rem;
  color: #fff;
}

@media screen and (max-width:768px) {
  .lower-link-grid {
    width: 100%;
    display: block;
  }

  .lower-link-title {
    font-size: 2.6rem;
  }

  .lower-sub-title {
    font-size: 1.8rem;
  }

}

/* section.lower-link end */

/* map */
.map {
  width: 100%;
  height: 550px;
}

.map iframe {
  width: 100%;
  height: 100%;
}

@media screen and (max-width:768px) {
  .map {

    margin-top: 80px;
    height: 400px;
  }
}

/* 下層ページ */
.main-v,
.main-catch-v-p {
  width: 100%;
  padding-top: 100px;
}

.main-v img {
  width: 100%;
}




@media screen and (max-width:1140px) {

  .main-v,
  .main-catch-v-p {
    padding-top: 60px;
  }


}

/* works.html */
/* section.works */

.works-mv {
  position: relative;
  background: url(../img/work_top.jpg)no-repeat;
  background-size: cover;
  height: 40vw;
}

.works-mv .catch {
  position: absolute;
  writing-mode: vertical-rl;
  text-indent: -1em;
  height: 70%;
  top: 25%;
  right: 7%;
  font-family: 'zenold', serif;
  font-size: 3.2rem;
  text-shadow: 0px 0px 3px rgba(255, 255, 255, 0.8),0px 0px 3px rgba(255, 255, 255, 0.8),0px 0px 3px rgba(255, 255, 255, 0.8),0px 0px 3px rgba(255, 255, 255, 0.8),0px 0px 3px rgba(255, 255, 255, 0.8);
}


@media screen and (max-width:1140px) {
  .works-mv .catch {
    font-size: 2.6vw;
  }
}

@media screen and (max-width:599px) {

  .works-mv {
    background-position: 70% 50%;
    height: 280px;
  }

  .works-mv .catch {
    font-size: 1.7rem;
  }
}


.works {
  padding: 70px 0;
  background: url(../img/rainbow.png)no-repeat;
  background-size: 65% auto;
  background-position: 105% bottom;
}

.works .txt-box-b {
  font-weight: bold;
  text-shadow: 0 0 7px rgba(255,255,255,1), 0 0 7px rgba(255,255,255,1), 0 0 7px rgba(255,255,255,1), 0 0 7px rgba(255,255,255,1), 0 0 7px rgba(255,255,255,1), 0 0 7px rgba(255,255,255,1), 0 0 7px rgba(255,255,255,1), 0 0 7px rgba(255,255,255,1);
  padding: 10px;
}

@media screen and (max-width:599px) {
  .works {
    /* background: url(../img/rainbow.png)no-repeat; */
    background-size: auto 30%;
    background-position: -40% 105%;
  }
}

/* section.paint-type */
/* .paint-type {

} */

.paint-img-full {
  width: 100%;
}

.paint-img-full img {
  width: 100%;
}

.paint-type .flex-box {
  gap: 10px;
}

.paint-type .txt-box {
  max-width: 600px;
  width: 90%;
}

.left-out {
  text-align: end;
  width: 90%;
  font-size: 3.8rem;
  font-weight: bold;
  background-color: #f8b62d;
  color: #fff;
  padding: 10px 20px;
  margin-left: calc(50% - 50vw);
  width: 50vw;
}

.paint-type-ch-second {
  margin: 60px 0;
  background-color: #efefeb;
  padding: 80px 0;
}

.paint-type-ch-second .flex-end-box,
.paint-type-ch-second .flex-start-box {
  position: relative;
}


.paint-type-ch-txt-box {
  position: absolute;
  z-index: 2;
  background-color: #fff;
  width: 600px;
  text-align: left;
  min-height: 200px;
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
  padding: 0 20px 40px 20px;
}


.paint-type-ch-second .flex-start-box .paint-type-ch-txt-box {
  position: absolute;
  z-index: 2;
  background-color: #fff;
  width: 600px;
  text-align: left;
  min-height: 200px;
  top: 50%;
  left: 100%;
  transform: translate(-100%, -50%);
  padding: 0 20px 40px 20px;
}

.paint-type-ch-txt-box h2 {
  margin-left: -20px;
  padding: 5px 10px;
  max-width: 280px;
  background-color: #f8b62d;
  color: #fff;
  font-size: 3.8rem;
  font-weight: bold;
}

.paint-type-ch-img {
  width: 600px;
  z-index: 1;
}

.paint-type-ch-img img {
  width: 100%;
}

@media screen and (max-width:768px) {

  .paint-type .flex-box {
    align-items: flex-start;
    width: 100%;
  }

  .paint-type .container {
    width: 100%;
  }

  .paint-type .txt-box {
    width: 100%;
    padding: 0 10px 5px 10px;
  }

  .left-out {
    text-align: start;
    padding: 5px 10px;
    font-size: 2.8rem;
    font-weight: bold;
    background-color: #f8b62d;
    color: #fff;
    margin-left: 0;
    width: 200px;
  }

  .paint-type-ch-txt-box {
    position: static;
    padding: 0 10px 5px 10px;
    margin: calc(50% - 50vw);
    width: 100vw;
    transform: translateY(-10%);
  }

  .paint-type-ch-second .flex-start-box .paint-type-ch-txt-box {
    position: static;
    padding: 0 10px 5px 10px;
    margin: calc(50% - 50vw);
    width: 100vw;
    transform: translateY(-10%);
  }

  .paint-type-ch-txt-box h2 {
    margin-left: -10px;
    width: 200px;
    background-color: #f8b62d;
    color: #fff;
    font-size: 2.8rem;
    font-weight: bold;
  }


  .paint-type-ch-img {
    margin: calc(50% - 50vw);
    width: 100vw;
  }

}

/* section.paint-type end */

/* works.html end */

/* gallery.html */
/* section.gallery */
.gallery {
  padding: 50px 0 10px;
}

.def-grid-parent {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(50%, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  align-items: center;
  margin: 50px 0;
}

.def-grid-ch1 {
  grid-area: 1 / 1 / 4 / 3;
}

.def-grid-ch1 img {
  width: 100%;
  vertical-align: middle;
}

.def-grid-ch2 {
  grid-area: 1 / 3 / 2 / 4;
}

.def-grid-ch2 img {
  width: 100%;
  vertical-align: middle;
}

.def-grid-ch3 {
  grid-area: 1 / 4 / 2 / 5;
}

.def-grid-ch3 img {
  width: 100%;
  vertical-align: middle;
}

.def-grid-ch4 {
  grid-area: 2 / 3 / 3 / 5;
}

.def-grid-ch4 img {
  width: 100%;
  vertical-align: middle;
}

.def-grid-ch5 {
  grid-area: 3 / 3 / 4 / 4;
}

.def-grid-ch5 img {
  width: 100%;
  vertical-align: middle;
}

.def-grid-ch6 {
  grid-area: 3 / 4 / 4 / 5;
}

.def-grid-ch6 img {
  width: 100%;
  vertical-align: middle;
}

.def-grid-ch7 {
  grid-area: 1 / 1 / 2 / 2;
}

.def-grid-ch7 img {
  width: 100%;
  vertical-align: middle;
}

.def-grid-ch8 {
  grid-area: 1 / 2 / 2 / 3;
}

.def-grid-ch8 img {
  width: 100%;
  vertical-align: middle;
}

.def-grid-ch9 {
  grid-area: 2 / 1 / 3 / 3;
}

.def-grid-ch9 img {
  width: 100%;
  vertical-align: middle;
}

.def-grid-ch10 {
  grid-area: 3 / 1 / 4 / 2;
}

.def-grid-ch10 img {
  width: 100%;
  vertical-align: middle;
}

.def-grid-ch11 {
  grid-area: 3 / 2 / 4 / 3;
}

.def-grid-ch11 img {
  width: 100%;
  vertical-align: middle;
}

.def-grid-ch12 {
  grid-area: 1 / 3 / 4 / 5;
}

.def-grid-ch12 img {
  width: 100%;
  vertical-align: middle;
}

@media screen and (max-width:768px) {
  .def-grid-parent {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(50%, 1fr);
  }

  .def-grid-ch1 {
    grid-area: 1 / 1 / 2 / 3;
  }

  .def-grid-ch2 {
    grid-area: 2 / 1 / 3 / 2;
  }

  .def-grid-ch3 {
    grid-area: 2 / 2 / 3 / 3;
  }

  .def-grid-ch4 {
    grid-area: 3 / 1 / 4 / 3;
  }

  .def-grid-ch5 {
    grid-area: 4 / 1 / 5 / 2;
  }

  .def-grid-ch6 {
    grid-area: 4 / 2 / 5 / 3;
  }

  .def-grid-ch7 {
    grid-area: 1 / 1 / 2 / 2;
  }

  .def-grid-ch8 {
    grid-area: 1 / 2 / 2 / 3;
  }

  .def-grid-ch9 {
    grid-area: 2 / 1 / 3 / 3;
  }

  .def-grid-ch10 {
    grid-area: 3 / 1 / 4 / 2;
  }

  .def-grid-ch11 {
    grid-area: 3 / 2 / 4 / 3;
  }

  .def-grid-ch12 {
    grid-area: 4 / 1 / 5 / 3;
  }
}

/* .gallery .flex-box {
    justify-content: center;
    gap: 0;
    width: 100%;
  }

  .gallery .flex-box .img-box {
    max-width: none;
  }
  .gallery .flex-box .img-box img {
    width: 100%;
    vertical-align: middle;
    object-fit: contain;
  } */

.full-img-box {
  width: 100%;
  margin: 0;
}

.full-img-box img {
  width: 100%;
}

/* section.gallery end */
/* gallery.html end */

/* factory.html */
/* section.factory */
.factory {
  padding: 50px 0;
}

.factory .flex-box {
  gap: 20px;
}

.factory .txt-box {
  max-width: none;
}

.factory .img-box {
  max-width: none;
}

.factory .img-box img {
  height: 350px;
}

.grid6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 25px;
  margin: 100px 0 10px;
}

.grid6-ch img {
  width: 100%;
  vertical-align: middle;
}

@media screen and (max-width:768px) {
  .factory .img-box {
    height: 50vw;
  }

  .factory .img-box img {
    height: 100%;
    object-fit: cover;
  }

  .grid6 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    margin: 50px 0 10px;
  }
}

/* section.factory end */
/* factory.html end */

/* company.html */
/* .company */
.company-mv {
  position: relative;
  background: url(../img/company_top.jpg)no-repeat;
  background-size: cover;
  height: 40vw;
}

.company-mv .catch {
  position: absolute;
  writing-mode: vertical-rl;
  top: 45%;
  right: 7%;
  height: 70%;
  transform: translateY(-50%);
  font-family: 'zenold', serif;
  font-size: 2.4rem;
  text-shadow: 0px 0px 3px rgba(255, 255, 255, 0.8),0px 0px 3px rgba(255, 255, 255, 0.8),0px 0px 3px rgba(255, 255, 255, 0.8),0px 0px 3px rgba(255, 255, 255, 0.8),0px 0px 3px rgba(255, 255, 255, 0.8);
}


@media screen and (max-width:1140px) {
  .company-mv .catch {
    font-size: 2vw;
  }
}

@media screen and (max-width:599px) {

  .company-mv {
    position: relative;
    background: url(../img/company_top_sp.jpg)no-repeat;
    background-size: cover;
    background-position: center;
    height: 400px;
  }

  .company-mv .catch {
    position: absolute;
    top: 60%;
    left: 7%;
    transform: translateY(-50%);
    font-family: 'zenold', serif;
    font-size: 1.5rem;
  }
}

.company {
  padding: 50px 0;
}

.company-profile {
  width: 100%;
  max-width: 900px;
  margin: 30px auto;
  border-collapse: collapse;
}

.company-profile th,
.company-profile td {
  border: 1px solid #231815;
  padding: 15px;
  text-align: left;
}

.company-profile th {
  width: 35%;
  font-weight: bold;
  background-color: #fff;
}

.company-profile td {
  width: 65%;
}

@media screen and (max-width:520px) {

  .company-profile,
  .company-profile tr,
  .company-profile td,
  .company-profile th {
    display: inline-block;
    width: 100%;
  }
}

/* .copmpany end */
/* company.html end */

/* contact.html */
/* section.mailform */

.mailform {
  padding: 50px 0;
}

.form-container {
  width: 90%;
  max-width: 900px;
  margin: 50px auto;
}

#formWrap {
  width: 100%;
  margin: 0 auto;
  color: #555;
  line-height: 120%;
  font-size: 90%;
  text-align: left;
}

table.formTable {
  width: 100%;
  margin: 0 auto 20px;
  border-collapse: collapse;
}


table.formTable td, table.formTable th {
  /* border:1px solid #ccc; */
  padding: 7px;
}

table.formTable td {
  background-color: rgba(255, 255, 255, .8);
}

table.formTable th {
  width: 40%;
  font-weight: 700;
  /* background:#4ba8de; */
  vertical-align: middle;
  text-align: left;
  padding-left: 15px;
}

.formTable .caution-text {
  color: red;
  font-size: 1.3rem;
}

table.formTable textarea {
  /* width: 100%; */
  border: none;
  box-shadow: 0 0 0 1px #ccc inset;
  background-color: #fff;
}

.contact-button {
  display: inline-block;
  border-radius: 5%;
  /* 角丸    */
  font-weight: 700;
  font-size: 16px;
  /* 文字サイズ */
  text-align: center;
  /* 文字位置   */
  cursor: pointer;
  /* カーソル   */
  padding: 12px 12px;
  /* 余白       */
  background-color: #2ea7e0;
  /* 背景色     */
  color: #ffffff;
  /* 文字色     */
  line-height: 1em;
  /* 1行の高さ  */
  transition: .3s;
  /* なめらか変化 */
  box-shadow: 2px 2px 0px #dcdddd;
  /* 影の設定 */
  /* 枠の指定 */
  width: 100%;
  max-width: 150px;
  border: #2ea7e0 solid 2px;
}

.contact-button:hover {
  box-shadow: none;
  /* カーソル時の影消去 */
  color: #2ea7e0;
  /* 背景色     */
  background: #ffffff;
  border: #2ea7e0 solid 2px;
  /* 文字色     */
}

.reset-button {
  background: #fff;
  /* 背景色     */
  color: #2ea7e0;
  /* 文字色     */
}

.reset-button:hover {
  box-shadow: none;
  /* カーソル時の影消去 */
  color: #fff;
  /* 背景色     */
  background: #2ea7e0;
  /* 文字色     */
}


.button-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.button-wrapper input {
  margin-bottom: 20px;
}

.m-form-text {
  height: 2.4em;
  width: 100%;
  padding: 0 16px;
  border: none;
  box-shadow: 0 0 0 1px #ccc;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.m-form-text:hover,
.m-form-textarea:hover {
  background-color: rgba(33, 150, 243, .1);
}

.m-form-text:focus,
.m-form-textarea:focus {
  outline: 0;
  box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}

.button {
  display: inline-block;
  border-radius: 5%;
  /* 角丸       */
  font-size: 12pt;
  /* 文字サイズ */
  text-align: center;
  /* 文字位置   */
  cursor: pointer;
  /* カーソル   */
  padding: 10px 25px;
  /* 余白       */
  background: #333333;
  /* 背景色     */
  color: #ffffff;
  /* 文字色     */
  line-height: 1em;
  /* 1行の高さ  */
  transition: .3s;
  /* なめらか変化 */
  box-shadow: 1px 1px #666666;
  /* 影の設定 */
  border: 1px solid #333333;
  /* 枠の指定 */
}

.button:hover {
  box-shadow: none;
  /* カーソル時の影消去 */
  color: #333333;
  /* 背景色     */
  background: #ffffff;
  /* 文字色     */
}

@media screen and (max-width:599px) {

  .form-container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }

  #formWrap {
    width: 90%;
    margin: 0 auto;
  }

  table.formTable th, table.formTable td {
    width: auto;
    display: block;
  }

  table.formTable th {
    border-bottom: 0;
    padding: 5px;

  }

  input[type="text"], textarea {
    width: 100%;
    padding: 5px;
    font-size: 110%;
    display: block;
  }

  input[type="submit"], input[type="reset"], input[type="button"] {
    /* display:block; */
    height: 40px;
  }
}

@media screen and (min-width:901px) {
  .form-sp {
    display: none;
  }
}

@media screen and (max-width:900px) {
  .form-sp {
    display: block;
  }
}

/* section.mailform end */
/* contact.html end */

/* footer */
footer {
  background-color: #f8b62d;
  height: 100px;
  display: grid;
  place-items: center;
}

.footer-credit {
  color: #fff;
  font-size: 1.4rem;
  text-align: center;
}

@media screen and (min-width:768px) {
  .sp {
    display: none;
  }

  .pc {
    display: block;
  }
}

@media screen and (max-width:768px) {
  .sp {
    display: block;
  }

  .pc {
    display: none;
  }
}