@charset "utf-8";
/* CSS Document */
/*====================
 - 1280px〜：大型PC
 - 960px〜1279px：小型PC
 - 600px〜959px：タブレット
 - 480px〜599px：スマートフォン横
 - 〜479px：スマートフォン縦
====================*/
/******* 全ページ共通 ********/
html {
  font-size: 62.5%;
  overflow-y: scroll;
  scroll-behavior: smooth;
}
body {
  font-family: "Roboto","游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  width: 100%;
  line-height: 1.8;
  font-size: 16px;
  font-size: 1.6rem; /*1rem = 10px*/
  font-weight: normal;
  color: #282828;
  background-color: #f0f9f2;
  -webkit-font-feature-settings: 'palt';
  font-feature-settings: 'palt';
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden !important;
}
/* IEはメイリオ指定*/
_:lang(x)::-ms-backdrop, body {
  font-family: "メイリオ", Meiryo, sans-serif;
}
p, a, h1, h2, h3, h4 {
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
a {
  transition: all .2s;
}
/* SVGリンク化 */
object {
  pointer-events: none;
}
input, button, textarea, select {
  -webkit-appearance: none;
  appearance: none;
}
a p, a img {
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
}
picture{
	display: block;
}
ol {
  list-style: decimal;
  margin-left: 1.8rem;
}
section {
  position: relative;
  margin-left: auto;
  margin-right: auto;
}
section p {
  padding-bottom: 0.8rem;
}
a:hover {
  cursor: pointer;
}
/* パソコンで見たときは"pc"のclassがついたタグが表示される */
.pc,.header_pc {
  display: block !important;
}
.sp,.header_sp {
  display: none !important;
}
/* スマートフォンで見たときは"sp"のclassがついたタグが表示される */
@media only screen and (max-width: 768px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
}
@media only screen and (max-width: 999px) {
  .header_pc {
    display: none !important;
  }
  .header_sp {
    display: block !important;
  }
}

.fixed_bg_img{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: no-repeat url(../img/gradation.png) 0 0;
  background-size: cover;
  background-position: 50% 50%;
  z-index: -1;
  mix-blend-mode: overlay;
}
.fixed_bg_img::before{
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.05);
  opacity: 0;
  transition: 0.2s ease; 
}
/***** ボタン *****/
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  color: #ffffff;
  border-radius: 30px;
  width: 320px;
  height: 60px;
  z-index: 0;
}
.btn::before {
  content:"";
  width:100%;
  height:100%;
  position:absolute;
  z-index:-1;
  left:0;
  border-radius: 30px;
  transition:0.4s;
  background-image: linear-gradient(135deg, rgba(91, 201, 116, 1), rgba(78, 174, 139, 1));
}
.btn::after {
  content:"";
  width:100%;
  height:100%;
  position:absolute;
  z-index:-2;
  left:0;
  border-radius: 30px;
  background-image: linear-gradient(135deg, rgba(22, 140, 120, 1), rgba(91, 201, 116, 1));
}
.btn:hover:before{
  opacity:0;
}
.btn object{
  margin-right: 1rem;
}
.btn_arrow {
  display: flex;
  position: absolute;
  right: 1.6rem;
  width: 3.7rem;
  height: 3.7rem;
  border-radius: 50%;
  background: #fefefe;
}
.btn_arrow::before {
  content: '';
  color: #4EAE8B;
  display: block;
  position: absolute;
  width: 1em;
  height: 0.2rem;
  top: calc( 50% - 0.1rem );
  right: 1rem;
  background: currentColor;
}
.btn_arrow::after {
  content: '';
  display: block;
  width: 1rem;
  height: 1rem;
  color: #4EAE8B;
  border: 0.15em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
  transform-origin: top right;
  position: absolute;
  top: 50%;
  right: .8rem;
  box-sizing: border-box;
}
a.text_link {
  margin-top: 8rem;
  display: inline-block;
  font-weight: 700;
  color: #3F84C3;
}
/***** ハンバーガーメニュー *****/
.menu {
  height: 100%;
  width: 100vw;
  padding: 100px 0 0;
  background-color: rgba(248, 255, 250, 1);
  z-index: 99;
  /* メニューの位置マイナス指定で画面外に */
  position: fixed;
  right: 0;
  display: none;
}
.menu .wrap {
  width: 64vw;
  margin: 0 auto;
}
.menu .logo a object {
  width: 100%;
}
.m_nav ul{
  column-count: 2;
}
.m_nav ul li {
  margin-bottom: 1.2rem;
}
.m_nav ul li a {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  transition: all .3s;
}
.m_nav ul li a .en {
  font-size: 2rem;
  display: block;
}
.m_nav ul li a .jp {
  font-size: 1.4rem;
  font-weight: normal;
  position: relative;
  bottom: .3rem;
  display: block;
}
.m_nav a:hover, .f_m_nav_s:hover {
  color: #4EAE8B;
}
.m_nav ul li a:hover:before {
  background: #4EAE8B;
}
.menu_pp{
  margin-top: 2rem;
  font-size: 1.4rem;
}
.menu .inner a:hover{
  color: #4EAE8B;
}
.menu.open {
  display: flex;
}
/* メニューオープン時 */
.hamburger_menu {
  width: 100%;
  height: 100%;
}
.btn_line.open {
  background-color: transparent; /* 真ん中の線を透明に */
}
.btn_line.open::before, .btn_line.open::after {
  content: "";
  transition: .2s;
}
.btn_line.open::before {
  transform: rotate(30deg); /* 上の線を傾ける */
}
.btn_line.open::after {
  transform: rotate(-30deg); /* 下の線を傾ける */
}
@media screen and (max-width:999px) {
/*** メニューボタン ***/
.hm_btn {
  /* ボタンの配置位置  */
  position: relative;
  top: 0;
  right: 0;
  width: 6rem;
  height: 6rem;
  z-index: 101;
}
/* 真ん中のバーガー線 */
.btn_line {
  display: block;
  position: relative; /* バーガー線の位置基準として設定 */
  top: 0.2rem;
  left: 22%;
  width: 3.4rem; /* 線の長さと高さ */
  height: 2px;
  background-color: #5BC974; /* バーガー線の色 */
  transition: .2s;
}
/* 上下のバーガー線 */
.btn_line::before, .btn_line::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #5BC974;
  transition: .5s;
}
.btn_line::before {
  /* 上の線の位置 */
  transform: translateY(-1rem);
}
.btn_line::after {
  /* 下の線の位置 */
  transform: translateY(1rem);
}
}

/***** ヘッダー *****/
header {
  width: 100%;
  height: 140px;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}
header .header_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
/* ヘッダーロゴ */
.logo {
  margin-left: 1.2rem;
}
.logo a {
  display: flex;
  align-items: center;
}
.logo object:hover {
  cursor: pointer;
}
.navigation {
  position: relative;
}
.nav_top .navigation {
  opacity: 1;
}
.g_nav {
  position: relative;
}
.g_nav ul {
  display: flex;
  justify-content: space-around;
}
.g_nav ul li a {
  display: block;
  position: relative;
  padding: 20px 10px;
  text-align: center;
  transition: all .4s;
}
.g_nav ul li a:hover {
  color: #4EAE8B;
}
.header_contact .btn{
  width: 160px;
}
.header_contact .btn object{
  width: 24px;
}
.header_contact{
  display: flex;
  align-items: center;;
}
.header_sp .header_contact .header_tel,.header_sp .header_contact .header_mail{
  display: inline-block;
  margin: 0 .8rem;
}
.header_sp .header_contact .header_mail object,.header_sp .header_contact .header_tel object{
  height: 6rem;
  position: relative;
}
.header_sp .header_contact .header_mail object{
  width: 32px;
}
.header_sp .header_contact .header_tel object{
  width: 30px;
}
header .header_inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 1rem;
  padding: .8rem 0;
}
.header_pc .header_tel{
  color: #5BC974;
  margin: 0 1.2rem;
}
.header_pc .header_tel .tel_number{
  font-size: 2.4rem;
}
.clone-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
  height: 80px;
	backdrop-filter: blur(4px);
  background-color: rgba(255,255,255,1);
  transition: all ease .5s;
	transform: translateY(-100%);
  z-index: 9;
}
.is-show {
	transform: translateY(0);
}
/* homeではヘッダー通常ロゴを非表示 */
.home header .logo_lead,.home header #header_logo{
	display: none;
}
/* クローンヘッダー通常ロゴ表示 */
.home .clone-header .logo_lead,.home .clone-header #header_logo{
	display: block;
}
.header_logo_pc{
  position: absolute;
  top: 0;
  z-index: 10;
}
.header_logo_pc object {
  width: clamp(24rem, 24.4vw, 38rem);
  height: auto;
}
@media screen and (min-width:1000px) {
  header h1.logo a{
    display: none;
  }
  .clone-header h1.logo a{
    display: block;
  }
  header h1 {
    display: flex;
    align-items: center;
  }
}
@media screen and (max-width:999px) {
  .clone-header {
    height: 60px;
  }
}

/***** 全ページ共通 *****/
.wrap {
  width: 90%;
  margin: 0 auto;
  position: relative;
  max-width: 1200px;
}
.img_wrap {
  width: 100%;
}
@media screen and (max-width:599px) {
  .home section, .page sectinon {
    margin-top: 100px;
  }
}
/***** 見出し *****/
.hero .catch_line{
  position: absolute;
  top: 3.6rem;
  left: -1rem;
  z-index: -1;
}
.hero .catch_line object{
  width: clamp(300px, 36vw, 36vw);
}
.home h2,.page_header h1 {
  position: relative;
  margin-bottom: 4rem;
  font-weight: 500;
}
.home h2 .green,.page_header h1 .green{
  color: #5BC974;
  font-size: 1.4rem;
  padding-left: 1.2rem;
  position: relative;
  font-weight: 700;
}
.home h2 .green::before,.page_header h1 .green::before{
  content: '';
  position: absolute;
  top: 33%;
  left: 0;
  background-color: #5BC974;
  width: .6rem;
  height: .6rem;
  border-radius: 1rem;
}
.home h2 .black,.page h1 .black,.archive h1 .black,.single-works h1 .black{
  font-size: clamp(3.6rem, 5.6vw, 4.8rem);
  line-height: 1.4;
  color: #282828;
}
h3 {
  font-size: clamp(2.4rem, 3.6vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.6rem;
}
h4{
  font-weight: 700;
  font-size: 2rem;
  margin: 2rem 0 .8rem;
}
@media screen and (max-width:768px) {
  .home h2 {
    margin-bottom: 4rem;
  }
}
/***** parallax *****/
.footer_parallax {
  height: 360px;
}
/***** フッター *****/
footer {
  position: relative;
  padding-top: 16rem;
}
/*** contact_wrap ***/
.contact_wrap {
  text-align: center;
  padding: 6rem 0;
  width: 100vw;
  height: auto;
  background-image: url("../img/footer_bg.jpg");
  color: #fefefe;
}
.contact_wrap h2 .en{
  font-size: clamp(2.8rem, 5.6vw, 3.6rem);
  font-weight: 500;
}
.contact_wrap h2 .jp{
  font-size: 1.4rem;
}
.contact_area{
  width: 90%;
  margin: 0 auto;
}
.contact_tel,.contact_mail {
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  color: #ffffff;
  border-radius: 40px;
  border: 1px solid #fefefe;
  width: 100%;
  height: 8rem;
  margin: 2rem auto;
  letter-spacing: 0.06em;
  transition: all .3s ease;
}
.contact_tel_text{
  font-size: 1.4rem;
}  
.contact_tel_number{
  font-size: 2.4rem;
}
.contact_mail{
  color: #4EAE8B;
  background-color: #fefefe;
}
.contact_mail_icon object{
  width: 3.4rem;
}
a.contact_tel:hover,a.contact_mail:hover {
  -webkit-box-shadow: 0 0px 10px rgba(231, 255, 146, 0.7);
  box-shadow: 0 0px 10px rgba(231, 255, 146, .7);
}
@media screen and (max-width:768px) {
  .contact_wrap {
    background-image: url("../img/footer_bg.jpg");
    background-position: 30% 0%;
  }
  .contact_tel,.contact_mail {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .contact_tel_icon,.contact_mail_icon{
    position: relative;
    left: -1.6rem;
  }
}
@media screen and (min-width:769px) {
  .contact_area {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 740px;
  }
  .contact_tel,.contact_mail {
    border-radius: 50%;
    width: 320px;
    height: 320px;
    align-items: center;
    
  }
  .contact_area .inner div{
    position: relative;
    top: 36%;
  }
  .contact_area .inner .contact_tel_icon,.contact_area .inner .contact_mail_icon{
    top: 32%;
  }
}
/*** フッターナビ ***/
.footer_link {
  padding: 8rem 0;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.footer_link .footer_logo {
  margin-bottom: 2rem;
}
.footer_link .footer_logo object {
  width: 20rem;
}
address {
  line-height: 2.8rem;
  margin: 1.2rem 0;
}
footer .tel span {
  font-size: 2.8rem;
  line-height: 0.8;
  padding-left: 1.6rem;
  letter-spacing: 0.1rem;
}
.f_navigation{
  display: flex;
  justify-content: space-between;
}
.f_nav {
  position: relative;
  width: 24vw;
}
.f_nav ul li {
  margin-bottom: 1.2rem;
}
.f_nav ul li a {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  transition: all .3s;
}
.instagram_icon{
  width: 2.4rem;
}
.f_nav a:hover, .f_nav_s:hover {
  color: #4EAE8B;
}
.f_nav ul li a:hover:before {
  background: #4EAE8B;
}
/*** コピーライト ***/
.copyright {
  padding: 3.6rem 0 2.4rem 0;
  font-size: 1.2rem;
  background-color: #168C78;
  color: #fefefe;
  position: relative;
  overflow-y: hidden;
}
.copyright::before{
  content: 'KOGA PAINT';
  position: absolute;
  bottom: -.8rem;
  right: 0;
  line-height: .8;
  font-size: clamp(5.2rem, 8.6vw, 12rem);
  font-family: 'Roboto', sans-serif;
  color: #4EAE8B;
  opacity: .4;
}
@media screen and (min-width:1200px) {
  .add_wrap .info {
    width: 36vw;
  }
}
@media screen and (min-width:600px) {
  .add_wrap {
    display: flex;
  }
  .add_wrap .info {
    margin-left: 10vw;
  }
}
@media screen and (min-width:769px) {
  .footer_link .wrap {

    display: flex;
    justify-content: space-between;
  }
  footer .f_nav ul {
    column-count: 2;
  }
}
@media screen and (max-width:999px) {
  .f_navigation{
    display: none;
  }
}
@media screen and (max-width:599px) {
  .footer_link .footer_logo object {
    margin: 0 auto 4rem;
    display: flex;
  }
  .footer_link .wrap {
    display: block;
  }

}

/*========= slick ===============*/
.works_slider li,.works_single_slider li{
  margin: 0 1rem;
}
.works_slider li img,.works_single_slider li img{
  border-radius: 4rem;
  width: 100%;
}
.slide_arrows{
  position: absolute;
  top: 6rem;
  right: 2rem;
}
.slide_arrows button{
  border: 1px solid #4EAE8B;
  border-radius: 4rem;
  width: 5.2rem;
  height: 5.2rem;
}
.slick-arrow {
  display: block;
  position: absolute;
  right: 1.6rem;
  width: 3.7rem;
  height: 3.7rem;
  color: transparent;
  z-index: 1;
  transition: opacity 0.5s;
  z-index: 1;
}
.slick-arrow:hover {
  opacity: 0.5;
}

/* 共通設定 */
.slick-next::before,
.slick-next::after,
.slick-prev::before,
.slick-prev::after {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  content: ""!important;
  vertical-align: middle;
  font-size: 0;
}
.slick-next::before,
.slick-prev::before {
  width: 20px;
  height: 2px;
  background: #4EAE8B;
  left: 0;
  right: 0;
}
.slick-next::after,
.slick-prev::after {
  width: 12px;
  height: 12px;
  border-top: 2px solid #4EAE8B;
  border-right: 2px solid #4EAE8B;
  left: .8rem;
  right: .8rem;
}
/* next */
.slick-next {
  right: 26px;
}
.slick-next::before {
  right: 0;
}
.slick-next::after {
  right: 2px;
  transform: rotate(45deg);
}
/* prev */
.slick-prev {
  left: -10rem!important;
}
.slick-prev::before {
  left: 0;
}
.slick-prev::after {
  left: 2px;
  transform: rotate(-135deg);
}
/* dots */
.slick-dots {
  position: relative!important;
  bottom: 0!important;
}
.slick-dots li button:before {
  font-size: 12px!important;
  color: #168C78!important;
}

/*========= infiniteslide ===============*/
.infiniteslide{
  font-family: 'Roboto', sans-serif;
  color: rgb(91, 201, 116, 0.4);
  font-size: 8rem;
}

/*========= スクロール途中でヘッダーが表示＆非表示するためのCSS ===============*/
/*　上に上がる動き　*/
#header.UpMove {
  animation: UpAnime 0.2s forwards;
}
@keyframes UpAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100px);
  }
}
/*　下に下がる動き　*/
#header.DownMove {
  animation: DownAnime 0.4s forwards;
}
@keyframes DownAnime {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*========= 流れるテキスト ===============*/
/*全共通*/
.slide-in {
  overflow: hidden;
  display: inline-block;
}
.slide-in_inner {
  display: inline-block;
}
/*左右のアニメーション*/
.leftAnime{
  opacity: 0;/*事前に透過0にして消しておく*/
}
.slideAnimeLeftRight {
animation-name:slideTextX100;
animation-duration:0.8s;
animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes slideTextX100 {
from {
transform: translateX(-100%); /*要素を左の枠外に移動*/
      opacity: 0;
}

to {
transform: translateX(0);/*要素を元の位置に移動*/
  opacity: 1;
}
}
.slideAnimeRightLeft {
animation-name:slideTextX-100;
animation-duration:0.8s;
animation-fill-mode:forwards;
  opacity: 0;
}


@keyframes slideTextX-100 {
from {
transform: translateX(100%);/*要素を右の枠外に移動*/
  opacity: 0;
}

to {
transform: translateX(0);/*要素を元の位置に移動*/
  opacity: 1;
}
}

/*** コンテンツふわっと表示 ***/
.scr-target {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
}
.scr-target.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: 1s;
}

/*========= LoadingのためのCSS ===============*/
/* Loading背景画面設定　*/
#splash {
  /*fixedで全面に固定*/
position: fixed;
width: 100%;
height: 100%;
z-index: 999;
background:#fefefe;
text-align:center;
color:#fff;
}
/* Loading画像中央配置　*/
#splash_logo,#splash_logo_bg_green,#splash_logo_bg_white {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
#splash_logo_bg_green {
  animation-name:logo_bg_green;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
  opacity:0;
  z-index: 2;
}
@keyframes logo_bg_green{
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#splash_logo_bg_white {
  animation-name:logo_bg_white;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
  animation-delay: 0.1s;
  opacity:0;
  z-index: 3;
}
@keyframes logo_bg_white{
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#splash_logo {
  animation-name:splash_logo;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
  animation-delay: 0.3s;
  opacity:0;
  z-index: 4;
}
@keyframes splash_logo{
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Loading アイコンの大きさ設定　*/
#splash_logo_bg_white object{
  width:363px;
}
#splash_logo_bg_green object{
  width:266px;
}
#splash_logo object{
  width:178px;
}


