/*
Theme Name: スリーピース
Author: Ycreer
Version: 1.0
Description: スリーピース theme
*/

@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap');
/* ===================================================================
// 基本スタイル
// ===================================================================*/

html {
  font-size: 62.5%;
  font-family: 'Noto Sans JP', sans-serif;
  -webkit-font-feature-settings: "pkna" 1;
          font-feature-settings: "pkna" 1;
  height: 100%;
  scroll-behavior: smooth;
}


body {
    /*ヘッダーフッター等*/
    --thema-color: #fff;/*メインカラー*/
    --themafont-color: #1c1201;/*メイン文字カラー*/
    --copyright-color:#fff;/*コピーライト背景色*/
    --copyrightback-color:#1c1201;
    /*全体背景*/
    --bodyback-color: #222;
    /*タイトル円カラー*/
    --circle-color: #f2ede4;
    --circle2-color: #f2ede4;
    /*グロナビ文字カラー*/
    --gnav-color:#1c1201;
    /*ブロックの背景色と文字色*/
    --blockback-color:#ecf7d5;/*ブロック背景色*/
    --blockfont-color:#1c1201;/*ブロック文字色*/
    /*ボタン１*/
    --btn1font-color:#1c1201;/*通常時文字色*/
    --btn1border-color:#f7f2eb;/*枠色＆ホバー背景色*/
    --btn1hover-color:#1c1201;/*ホバー文字色*/
    /*ボタン２*/
    --btn2font-color:#1c1201;/*通常時文字色*/
    --btn2border-color:#f7f2eb;/*枠色＆ホバー背景色*/
    --btn2hover-color:#1c1201;/*ホバー文字色*/
    /*スクロール*/
    --scroll-color: #f7f2eb;
 margin: 0;
  padding: 0;
  font-size: 1.6rem;
  line-height: 1;
  color: #1c1201;
  font-weight: 400;
  overflow-x: hidden;
  height: 100%;
  max-width: 100%;
}
/* ボックスサイズ */
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

/* 行間 */
p{
  line-height: 1.6;
    font-family: 'Noto Sans JP', sans-serif;
}

div, h1, h2, h3, h4, h5 {
  line-height: 1.2;
}

/* リンク */
a {
  text-decoration: none;
  -webkit-transition: .3s;
  transition: .3s;
  color: #070707;
}


  a:hover {
    opacity: .7;
  }




/*  パンくずリスト　*/
.bread {
  padding: 0rem 0 0;
	margin: 3% 10% 5%;
}

.bread ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}


.bread ul li {
  margin-right: 1rem;
    color: var(--themafont-color);
}
.bread ul li a{
    color: var(--themafont-color);
}
.bread ul li:after {
  content: "\f105";
  font-family: "Font Awesome 5 free";
  font-weight: 700;
  margin-left: 1rem;
}

.bread ul li:last-child:after {
  display: none;
}

@media screen and (max-width: 450px) {
  .bread {
    padding: 1.2rem 0;
  }
  .bread ul {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .bread ul li {
    margin-right: .4rem;
    font-size: 1.1rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .bread ul li:after {
    margin-left: .4rem;
  }
  .bread ul li:last-child:after {
    display: none;
  }
}



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

.object_fit_img {
  -o-object-fit: cover;
     object-fit: cover;
 font-family: 'Noto Sans JP', sans-serif;
}
/* flex */
.flex_wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

@media screen and (max-width: 1020px) {
  .flex_wrap {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}

/* width */
.inner {
  width: 1000px;
  margin: 0 auto;
}

@media screen and (max-width: 1020px) {
  .inner {
    width: calc(100% - 4rem);
    text-align: center;
    gap: 30px;
  }
}
@media screen and (max-width: 767px) {
  .inner {
    width: 80%;
    margin: auto 10%;
  }
}
/* pc & sp */
.pc {
  display: block;
}

.sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}


/* CSS Document */


.top_ttl{
	font-family: fot-chiaro-std, sans-serif;
	text-align: left;
	margin-bottom: 5%;
	width: 100%;
	margin-right: 0;
}
.top_ttl h2{
	font-size: 4.5rem;
	width: 100%;
	color: #CF180C;
	margin-bottom: 2rem;
	font-family: josefin-sans, sans-serif;
	font-weight: 500;
}
.top_ttl h3{
	font-size: 2.2rem;
	width: auto;
	display: inline-block;
	color: #fff;
	background-color: #2F2F2F;
	padding: 1rem 1.5rem;
	margin-bottom: .5rem;
	font-family: futura-pt, sans-serif;
}
.top_ttl2{
	font-family: fot-chiaro-std, sans-serif;
	text-align: left;
	margin-bottom: 5%;
	width: 100%;
	margin-right: 0;
}
.top_ttl2 h2{
	font-size: 4.5rem;
	width: 100%;
	color: #fff;
	margin-bottom: 2rem;
	font-family: josefin-sans, sans-serif;
	font-weight: 500;
}
.top_ttl2 h3{
	font-size: 2.2rem;
	width: auto;
	display: inline-block;
	color: #CF180C;
	background-color: #fff;
	padding: 1rem 1.5rem;
	margin-bottom: .5rem;
	font-family: futura-pt, sans-serif;
}
@media screen and (max-width: 767px) {
	.top_ttl{
}
.top_ttl h2{
	font-size: 3rem;
	width: 100%;
	color: #CF180C;
	margin-bottom: 2rem;
	font-family: josefin-sans, sans-serif;
	font-weight: 500;
}
.top_ttl h3{
	font-size: 2.2rem;
	width: auto;
	display: inline-block;
	color: #fff;
	background-color: #2F2F2F;
	padding: 1rem 1.5rem;
	margin-bottom: .5rem;
	font-family: futura-pt, sans-serif;
}
.top_ttl2{
	font-family: fot-chiaro-std, sans-serif;
	text-align: left;
	margin-bottom: 5%;
	width: 100%;
	margin-right: 0;
}
.top_ttl2 h3{
	font-size: 1.6rem;
	width: auto;
	display: inline-block;
	color: #CF180C;
	background-color: #fff;
	padding: 1rem 1.5rem;
	margin-bottom: .5rem;
	font-family: futura-pt, sans-serif;
}
}
@media screen and (max-width: 767px) {

}
/* ===================================================================
// メインビジュアル、タイトル
// ===================================================================*/
#mainimg {
  position: relative;
    display: block;
    padding-top: 6rem;
    overflow-y: hidden;
    height: 96vh;
}
#mainimg .mainimg_contents {
    width: 100%;
    position: relative;
    margin: 0;
    height: 100%;
    overflow-y: hidden;
}
#mainimg .mainimg_contents ul{
    position: relative;
    height: 100%;
}
#mainimg .mainimg_contents ul li,
#mainimg .mainimg_contents ul{
    height: 100%;
}
#mainimg .mainimg_contents ul img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    height: 100%;
}
.slick-num {
   background-color: #fff;
   color: #34813C;
   font-size: 5rem;
   line-height: 4rem;
   bottom: 0;
   left: 0;
   line-height: 2;
   position: absolute;
   text-align: center;
   z-index: 10;
   width: 35rem;
   padding: 0 4rem 0 4rem;
   text-align: left;
   border-radius: 0 15px 0 0;
   font-family: french-roast, sans-serif;
font-weight: 400;
font-style: normal;
 }
 .slick-prev{
    border: #34813C 1px solid;
    padding:0.2rem 1rem;
    border-radius: 45px; 
    font-size: 3rem;
    position: absolute;
    bottom: 2.5rem;
    left: 19rem;
    color: #34813C;
    z-index: 13;
 }
 .slick-next{
    border: #34813C 1px solid;
    padding:0.2rem 1rem;
    border-radius: 45px; 
    font-size: 3rem;
    position: absolute;
    bottom: 2.5rem;
    left: 25rem;
    color: #34813C;
    z-index: 13;
 }
 .dli-arrow-right {
    display: inline-block;
    vertical-align: middle;
    color: #34813C;
    line-height: 1;
    position: relative;
    width: 2rem;
    height: 0.2rem;
    background: currentColor;
  }
  .dli-arrow-right::before {
    content: '';
    width: 0.9rem;
    border: 0.2rem solid currentColor;
    border-left: 0;
    border-bottom: 0;
    transform: rotate(45deg);
    transform-origin: top right;
    position: absolute;
    top: 10%;
    right: -0.05em;
    box-sizing: border-box;
  }
  .dli-arrow-left {
     display: inline-block;
     vertical-align: middle;
     color: #34813C;
     line-height: 1;
     position: relative;
     width: 2rem;
     height: 0.2rem;
     background: currentColor;
   }
   .dli-arrow-left::before {
     content: '';
     width: 0.9rem;
     border: 0.2rem solid currentColor;
     border-left: 0;
     border-bottom: 0;
     transform: rotate(-45deg);
     transform-origin: top left;
     position: absolute;
     top: 10%;
     left: -0.05em;
     box-sizing: border-box;
   }
@media screen and (max-width: 767px) {
  #mainimg {
    position: relative;
      display: block;
      padding-top: 6rem;
      overflow-y: hidden;
      height: 97vh;
  }
  #mainimg .mainimg_contents {
      width: 100%;
      position: relative;
      margin: 0 0;
      height: 100%;
      overflow-y: hidden;
      height: 97vh;
  }
  #mainimg .mainimg_contents ul{
      position: relative;
      height: 100%;
      height: 97vh;
  }
  #mainimg .mainimg_contents ul li,
  #mainimg .mainimg_contents ul{
      height: 100%;
      height: 97vh;
  }
  #mainimg .mainimg_contents ul img{
      height: 100%;
      width: 100%;
      object-fit: cover;
      height: 97vh;
  }
}

#mainimg .mainimg_contents .information2 {
  position: absolute;
    color: #FFFFFF;
    font-weight: 700;
  z-index: 2;
    bottom: 5rem;
    left: 0;
    width: 90%;
    text-align: left;
}
#mainimg .mainimg_contents .information2 h2{
  background: rgba(207, 24, 12, 0.75) 0% 0% no-repeat padding-box;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 4rem;
  font-weight: 500;
  margin-bottom: 2rem;
}
#mainimg .mainimg_contents .information2 h3{
  font-weight: 500;
  color: #CF180C;
  background-color: #fff;
  margin-left: 3rem;
  margin-bottom: 1rem;
  font-size: 2rem;
  display: inline-block;
  padding: 0.5rem 1rem;
}
#mainimg .mainimg_contents .information2 p{
    font-size: 3rem;
    line-height: 3.8rem;
    text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.51);
}
#mainimg .mainimg_contents .information2 ul{
  margin-left: 3rem;
  margin-top: 1rem;
  width: 100%;
}
#mainimg .mainimg_contents .information2 ul li{
  width: 100%;
  align-items: center;
  align-content: center;
  align-self: center;
}
#mainimg .mainimg_contents .information2 ul li img{
  margin-right: -2.5rem;
  height: 4rem;
  width: auto;
}
#mainimg .mainimg_contents .information2 ul li span{
  width: auto;
  display: inline-block;
  font-size: 1.8rem;
  margin-top: 1rem;
  text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.51);
}
#mainimg .mainimg_contents .information2 h3.pc{
  display: inline-block;
}
#mainimg .mainimg_contents .information2 h3.sp{
  display: none;
}
@media screen and (max-width: 767px) {
    #mainimg{
    }
    #mainimg .mainimg_contents{
        height: 97vh;
        width: 100%;
    }
    #mainimg .mainimg_contents .mainimg_contents .slider,
    #mainimg .mainimg_contents .mainimg_contents{
        height: 100%;
        width: auto;
}
    #mainimg .mainimg_contents .mainimg_contents img{
        height: 100%;
        width: auto;
    }
    #mainimg .mainimg_contents .information2 {
        top: 5rem;
    }
    #mainimg .mainimg_contents .information2 h2{
      font-size: 2.5rem;
    }
    #mainimg .mainimg_contents .information2 h3{
      font-size: 1.6rem;
      margin-bottom: 0.5rem;
    }
    #mainimg .mainimg_contents .information2 h3.pc{
      display: none;
    }
    #mainimg .mainimg_contents .information2 h3.sp{
      display: inline-block;
    }
    #mainimg .mainimg_contents .information2 ul li{
      height: 4.5rem;
    }
}

@media screen and (max-width: 767px) {
  h2 {
    font-size: 1.8rem;
    letter-spacing: .2rem;
      font-weight: 700;
  }
}

/* ===================================================================
// main
// ===================================================================*/
main {
  margin: 12rem 0 0;
}

main#index {
  margin-top: 0;
  overflow-x: hidden;
}

main > section:first-child {
  padding-top: 0;
}



/* ===================================================================
// ヘッダー,
// ===================================================================*/
header {
  width: 100%;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
    background: #fff;
    position: fixed;
    z-index: 99;
    height: 6rem;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
}
header .logo{
    font-size: 1.6rem;
    z-index: 999;
    margin-left: 2rem;
}
header .logo h1 a{
    align-items: center;
    align-content: center;
    color: #CF180C;
    height: 6rem;
    font-weight: 400;
}
header .logo h1 a p{
    align-self: center;
    margin-left: 1rem;
}
header .logo img {
    height: 5rem;
  }
@media screen and (max-width: 767px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    padding: 0rem;
  }
}

.gnav_btn {
  display: none;
}

@media screen and (max-width: 900px) {
  .gnav_btn {
    display: block;
    font-size: 2rem;
    line-height: 1;
      color:  #1c1201;
  }
  .gnav_btn:after {
    content: "\f0c9";
    font-family: "Font Awesome 5 free";
    font-weight: 900;
      font-size: 2rem;
      color:  #1c1201;
  }
  .gnav_btn.close:after {
    content: "\f00d";
  }
    header{
    }
}

.gnav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
    margin-right: 3rem;
}

.gnav li {
  margin-left: 3rem;
  font-size: 16px;
    padding-top: 1rem;
}
.gnav li.herder_sns{
    padding-top: .2rem;
}
.gnav li.herder_sns:last-child{
     margin-left: 1.5rem;
}
.gnav li a {
  font-weight: 500;
     color: #fff;
}
  .gnav li a:hover {
    opacity: 0.5;
}
.gnav li a img{
    width: 35px;
    height: auto;
}

@media screen and (max-width: 1040px) {
  .gnav li {
    margin-left: 1.6rem;
  }
}

@media screen and (max-width: 900px) {
    .gnav .gnav_contact{
    margin-right: 0;
}
  .gnav {
    display: none;
    -webkit-transition: 1s;
    transition: 1s;
  }
    .gnav li {
    padding-top: 3rem;
}
    .gnav li.herder_sns{
    padding-top: 3rem;
        border-bottom: 0px;
    }
    .gnav li.herder_sns:last-child{
     margin-left: 0rem;
}
  .gnav.open {
    display: block;
    position: fixed;
    width: 100%;
    z-index: 102;
    left: 0;
    top: 60px;
  }
  .gnav.open li {
    width: 100%;
    margin-left: 0;
      font-weight: 700;
  }
  .gnav.open li a, .gnav.open li span {
    color: #333;
    display: block;
    text-align: center;
    font-weight: normal;
    font-size: 1.2rem;
    border-bottom: 1px solid #ccc;
      padding-bottom: 2rem;
      padding-top: -5rem;
      margin-top: -1rem;
  }
  .gnav.open li:first-child a {
 margin-top: 2rem;
  }
    .gnav.open li.gnav_contact a{
        padding-top: 2rem;
        font-weight: 700;
        padding-bottom: 2rem;
    }
}

.fixed {
  position: fixed;
  width: 100%;
}

.overrayer {
  position: fixed;
  width: 100%;
  height: calc(100% - 60px);
  z-index: 101;
  background-color: var(--thema-color);;
  top: 60px;
  left: 0;
  display: none;
}

/* 固定ボタン */

.c_point1{
    position: fixed;
    z-index: 1000;
    right: 1.5rem;
    bottom: 1.5rem;
}
.c_point1 img{
  width: 30rem;
  height: auto;
}
.c_point1:hover{
    opacity: 0.8;
}
.c_point1 svg{
    width: 3rem;
    color: #15691E;
}
.c_point1 p{
    line-height: 2rem;
    font-weight: 500;
    margin: auto 0.5rem;
    letter-spacing: 0.2rem;
}


.c_point3{
    position: fixed;
    z-index: 1000;
    background-color: #F0F7F1;
    padding: 0.5rem 1.3rem 0.5rem 0.8rem;
    color: #15691E;
    right: -1rem;
    top: 30.5rem;
    text-align: center;
    border-radius: 5px 0 0 5px;
    border: 4px solid #F0F7F1;
}
.c_point3:hover{
    opacity: 0.8;
}
.c_point3 img{
    width: 2.5rem;
    margin-bottom: 0.5rem;
    color: #15691E;
}
.c_point3 p{
    line-height: 2rem;
    font-weight: 500;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    margin: auto 0.5rem;
    letter-spacing: 0.2rem;
}

.c_point2{
    position: fixed;
    z-index: 1000;
    background-color: #06C755;
    padding: 0.5rem 0.9rem 1rem 0.3rem;
    color: #fff;
    right: -1rem;
    top: 45.5rem;
    text-align: center;
    border-radius: 5px 0 0 5px;
    border: 4px solid #06C755;
}
.c_point2:hover{
    opacity: 0.8;
}
.c_point2 img{
    width: 4rem;
    margin-bottom: -0.2rem;
}
.c_point2 p{
    line-height: 1.6rem;
    font-weight: 500;
}
@media screen and (max-width: 820px) {
    .c_point30{
        width: calc( 100% / 3);
        bottom: 0;
        right: 0;
        position: fixed;
        z-index: 1000;
        background-color: #06C755;
        padding: 0 0.9rem 1.5rem 0.3rem;
        color: #fff;
        text-align: center;
        border: 4px solid #06C755;
        height: 6rem;
    }
    .c_point30:hover{
      opacity: 0.9;
    }
    .c_point30 img{
        width: 3rem;
        margin-bottom: 0.5rem;
        margin-top: 0.3rem;
    }
    .c_point30 p{
        font-weight: 700;
        font-size: 3vw;
        line-height: 2vw;
    }
    .c_point40{
      width: calc( 100% / 3);
        bottom: 0;
        left: 0;
        position: fixed;
        z-index: 1000;
        background-color: #C8E5CC;
        height: 6rem;
        padding: 0.5rem 1.3rem 1.5rem 0.8rem;
        color: #15691E;
        text-align: center;
        border: 4px solid #C8E5CC;
    }
    .c_point40:hover{
        opacity: 0.9;
    }
    .c_point40 svg{
        width: 3rem;
        color: #15691E;
    }
    .c_point40 p{
        font-weight: 700;
        line-height: 2vw;
        font-size: 3vw;
    }
    .c_point4{
      width: calc( 100% / 3);
        bottom: 0;
        left: 33.3333%;
        position: fixed;
        z-index: 1000;
        background-color: #F0F7F1;
        height: 6rem;
        padding: 0.5rem 1.3rem 1.5rem 0.8rem;
        text-align: center;
        border: 4px solid #F0F7F1;
        color: #15691E;
    }
    .c_point4:hover{
      opacity: 0.9;
    }
    .c_point4 img{
        width: 2.7rem;
        margin-bottom: 0.5rem;
    }
    .c_point4:hover svg{
        color: #fff;
    }
    .c_point4 p{
        font-weight: 700;
        line-height: 2vw;
        font-size: 3vw;
    }
}



/* ===================================================================
// フッター
// ===================================================================*/
footer .copy{
  font-size: 1.4rem;
  text-align: center;
	color: #fff;
	width: 100%;
	background: #414141;
	font-weight: 400;
	font-style: normal;
	padding: 1.5rem 5%;
  justify-content: center;
}
footer .copy a{
	align-self: center;
	color: #fff;
}
@media screen and (max-width: 767px) {
	footer .copy a{
		width: 100%;
		font-size: 1.4rem;
		margin-bottom: 1rem;
	}
}
footer{
	background: #fff;
  color: #000;
	font-weight: 400;
  margin: 0;
	font-style: normal;
	width: 100%;
}
#footer-menu{
	width: 75%;
  padding: 5% 10% 5% 0;
}
#footer-menu ul{
	justify-content: left;
	gap: 15px;
	list-style: none;
	text-align: left;
	font-weight: 400;
}
#footer-menu ul li{
  color: #000;
	width: 100%;
}
#footer-menu li a{
  color: #000;
  font-weight: 600;
  font-family: josefin-sans, sans-serif;
}
#footer-menu li a:hover{
	opacity: 0.4;
}
.foot_btn{
	gap: 3%;
}
.foot_btn a{
	width: 48.5%;
	padding: 1rem;
	margin-top: 1rem;
  color: #fff;
}
footer .footer_info {
  align-items: center;
  align-content: center;
  margin-left: 10%;
  text-align: center;
}
footer .footer_info .logo a img{
  width: 10rem;
  height: auto;
}
@media screen and (max-width: 980px) {
	#footer-menu li{
		width: 46%;
		justify-content: flex-start;
	}
}
@media screen and (max-width: 767px) {
	footer{
		width:100%;
		margin-left: 0;
	}
  .footer {
    padding: 4rem 0 2rem;
	  margin-top: -8%;
  }
  footer .footer_info {
	  padding-bottom: 5%;
    width: 90%;
    margin-right: 10%;
    text-align: center;
    margin-top: 5%;
  }
	footer .footer_info div{
		width: 100%;
		margin-top: 5%;
	}
.foot_btn a{
	width: 48.5%;
	padding: 1rem;
	margin-top: 0;
}
#footer-menu{
	width: 80%;
  margin: auto 10% 10%;
}
#footer-menu ul li{
	width: 47%;
}
footer .footer_info .logo,
footer .footer_info .logo a{
  text-align: center;
  width: 100%;
  justify-content: center;
}
footer .footer_info .logo a img{
  width: 10rem;
  height: auto;
}
}

/* ===================================================================
// メイン
// ===================================================================*/


 h2.mainttl {
  text-align: center;
  font-size: 3.5rem;
  color: #CF180C;
  margin-bottom: 7rem;
  font-weight: 600;
  line-height: 5.5rem;
}
h2.mainttl span{
  background-color: #C09E5E;
  color: #fff;
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-family: josefin-sans, sans-serif;
  margin-bottom: 1rem;
  display: inline-block;
  font-size: 2rem;
  line-height: 2rem;
}
@media screen and (max-width: 767px) {
  h2.mainttl {
   font-size: 2.5rem;
   line-height: 3.5rem;
  }
  h2.mainttl span{
    font-size: 1.6rem;
  }
}



/* -----------アバウト２---------------- */
#index .about2{
	position: relative;
	overflow: hidden;
	padding: 0;
}
#index .about2 h2{
	position: relative;
	z-index: 3;
}
#index .about2 .flex_wrap{
	position: relative;
	z-index: 3;
	background: rgba(0, 0, 0, 0.8);
	padding: 10% 10%;
	gap:5%;
}
#index .about2 .flex_wrap .sec1{
	width: 50%;
}
#index .about2 .flex_wrap .sec2{
	width: 45%;
	color: #fff;
}
#index .about2 #videomv{
	position: absolute;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    bottom:0;
	width: auto;
	height: 100%;
	margin: 0;
	z-index: -1;
	text-align: center;
	align-content: center;
}
#index .about2 .about2ttl{
	z-index: 4;
	color: #fff;
	position: relative;
	background: rgba(0, 0, 0, 0.8);
	text-align: center;
	font-size: 3rem;
	font-weight: 700;
	font-family: 'Noto Serif JP', serif;
	padding:15% 10% 5%;
}
#index .about2 .flex_wrap .sec2 .top_ttl2 {
	width: 100%;
}
#index .about2 .flex_wrap .sec2 .btntransform{
	color: #fff;
}
#index #videomv2{
	position: absolute;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    bottom:0;
	width: 100%;
	height: auto;
	margin: 0;
	z-index: -1;
	text-align: center;
	align-content: center;
}
#index .about22 .about2ttl{
	z-index: 4;
	color: #fff;
	position: relative;
	background: rgba(0, 0, 0, 0.8);
	text-align: center;
	font-size: 3rem;
	font-weight: 700;
	font-family: 'Noto Serif JP', serif;
	padding:15% 10% 15%;
	 overflow: hidden;
}
#index .about22 {
	 overflow: hidden;
}
#index .about.sss{
	background: #fff;
	padding-top: 0;
}
@media screen and (max-width: 767px) {
	#index .about2 .about2ttl{
	font-size: 2rem;
	padding:25% 10% 5%;
}
	#index .about2 .flex_wrap{
		flex-direction: column;
		padding: 10% 10% 15%;
	}
	#index .about2 .flex_wrap div.sec1,
	#index .about2 .flex_wrap div.sec2{
		width: 100%;
	}
	#index .about2 .sec2 h2{
	font-size: 3rem;
	text-align: center;
		margin-top: 5%;
}
	#index .about2 .sec2 p{
		text-align: left;
	}
	#index .about2 .sec2 .top_ttl2{
		text-align: left;
	}
	#index .about2 .sec2 .top_ttl2 h3{
		text-align: center;
		justify-content: center;
	}
	#index .about2 .sec2 .a_btn{
		justify-content: center;
		text-align: center;
	}
	#index .about2 .flex_wrap .sec1 img{
		width: 100%;
	}
}


/* ----------- サービス ---------------- */
.service{
  padding-top: 5%;
}
@media screen and (max-width: 767px) {
  .service{
    padding-top: 15%;
  }
  .service .mainttl{
    margin-bottom: 3rem;
  }
}


.service_cnt_l{
  background: url(images/service1_bk.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  gap: 5%;
  padding-top: 6rem;
  padding-bottom: 6rem;
  padding-right: 10%;
}
.service_cnt_l .service_cnt_l_img{
  width: 48%;
}
.service_cnt_l .service_cnt_l_img img{
  border-radius: 0 10px 10px 0;
}
.service_cnt_l .service_cnt_l_txt{
  width: 47%;
  padding-left: 3%;
  position: relative;
}
.service_cnt_l .service_cnt_l_txt h3{
  color: #fff;
  font-size: 4.5rem;
  font-weight: 500;
  font-style: normal;
      font-family: josefin-sans, sans-serif;
      margin-bottom: 2rem;
      z-index: 100!important;
      position: relative;
}
.service_cnt_l .service_cnt_l_txt img{
  position: absolute;
  top: -3.3rem;
  left: -2rem;
  width: 12rem;
  z-index: 0;
}
.service_cnt_l .service_cnt_l_txt h4{
  color: #CF180C;
  background-color: #fff;
  line-height: 5rem;
  display: inline;
  font-size: 2rem;
  padding: 0.7rem;
}
.service_cnt_l .service_cnt_l_txt p{
  color: #fff;
  margin-top: 2rem;
  line-height: 3rem;
}
@media screen and (max-width: 767px) {
  .service_cnt_l .service_cnt_l_img{
    width: 100%;
  }
  .service_cnt_l .service_cnt_l_txt{
    width: 90%;
    margin-left: 10%;
  }
  .service_cnt_l .service_cnt_l_txt h3{
    font-size: 3.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  .service_cnt_l .service_cnt_l_txt h4{
    line-height: 4.5rem;
    font-size: 1.8rem;
    padding: 0.5rem 0.7rem;
  }
  .service_cnt_l .service_cnt_l_txt p{
    color: #fff;
    margin-top: 1rem;
  }
  .service_cnt_l .service_cnt_l_txt img{
    position: absolute;
    top: 1rem;
    left: -3rem;
    width: 7rem;
    z-index: 0;
  }
}

.service_cnt_l.service_cnt_r{
  background: url(images/service2_bk.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  gap: 5%;
  padding-top: 6rem;
  padding-bottom: 6rem;
  padding-right: 0%;
  padding-left: 10%;
}
.service_cnt_l.service_cnt_r .service_cnt_l_img{
  width: 48%;
}
.service_cnt_l.service_cnt_r .service_cnt_l_img img{
  border-radius: 10px 0 0 10px;
}
.service_cnt_l.service_cnt_r .service_cnt_l_txt{
  width: 47%;
  padding-right: 3%;
  padding-left: 0%;
  position: relative;
}
.service_cnt_l.service_cnt_r .service_cnt_l_txt img{
  position: absolute;
  top: -3.3rem;
  left: -6rem;
  width: 12rem;
  z-index: 0;
}
.service_cnt_l.service_cnt_r .service_cnt_l_txt h3{
      margin-bottom: 4rem;
}
.service_cnt_l.service_cnt_l2 .service_cnt_l_txt img{
  position: absolute;
  top: -3.3rem;
  left: -2rem;
  width: 12rem;
  z-index: 0;
}
.service_cnt_l.service_cnt_l2 .service_cnt_l_txt h3{
      margin-bottom: 4rem;
}
.service_cnt_l.service_cnt.service_cnt3{
  background: url(images/service3_bk.png);
}
.service_cnt_l.service_cnt.service_cnt4{
  background: url(images/service4_bk.png);
}
.service_cnt_l.service_cnt.service_cnt5{
  background: url(images/service5_bk.png);
}
@media screen and (max-width: 767px) {
  .service_cnt_l.service_cnt_r .service_cnt_l_img{
    width: 100%;
    order: 1;
  }
  .service_cnt_l.service_cnt_r .service_cnt_l_txt{
    width: 100%;
    order: 2;
    margin-right: 10%;
    padding-right: 0;
    margin-left: 0%;
  }
  .service_cnt_l.service_cnt_r .service_cnt_l_txt img{
    top: .7rem;
    left: -3rem;
    width: 7rem;
  }
  .service_cnt_l.service_cnt_r .service_cnt_l_txt h3{
        margin-bottom: 2rem;
  }
  .service_cnt_l.service_cnt_l2 .service_cnt_l_txt img{
    top: .7rem;
    left: -2.5rem;
    width: 7rem;
  }
  .service_cnt_l.service_cnt_l2 .service_cnt_l_txt h3{
        margin-bottom: 2rem;
  }
}




/* -----------ギャラリー---------------- */
#index .garally{
	margin-top: 0;
	background: #F4F4F4;
	padding-top: 8rem;
	padding-bottom: 8rem;
}
@media screen and (max-width: 767px) {
  #index .garally{
    margin-top: 0;
    background: #F4F4F4;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}
/*
右から左へ
----------------------------*/
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.d-demo__wrap {
  display: flex;
  overflow: hidden;
}

.d-demo__list {
  display: flex;
  list-style: none;
}

.d-demo__list--left{
animation :infinity-scroll-left 95s infinite linear 0.5s both;
}
.d-demo__list--left li{
	width: 350px;
	height: auto;
}
.d-demo__list--left li img{
width: 100%;
	height: 35vh;
	object-fit: cover;
}
.d-demo__item {
  width: calc(100vw / 6);
}
.d-demo__item > img{
   width: 100%;
}
@media screen and (max-width: 767px) {
  .d-demo__list--left li{
    width: 250px;
    height: auto;
  }
  .d-demo__list--left li img{
  width: 100%;
    height: 20vh;
    object-fit: cover;
  }
}


/* ----------- ITM --------*/
.itm{
  margin: 5% 10% 5%;
  text-align: center;
}
.itm .itmlogo{
  width: 40rem;
  margin-bottom: 3%;
  height: auto;
}
.itm .mainttl{
  margin-bottom: 3rem;
}
@media screen and (max-width: 767px) {
  .itm{
    margin: 15% 10% 15%;
    text-align: center;
  }
  .itm .itmlogo{
    width: 25rem;
    margin-bottom: 6%;
  }
  .itm p{
    text-align: left;
  }
}


  /*---------- トップブログ -----------------*/
.archive_list{
    gap: 3%;
    flex-wrap: wrap;
    margin-top: 5%;
  }
.archive_list a{
    background-color: #CF180C;
    border-radius: 0 0 15px 0;
    position: relative;
    width: 22.5%;
    margin-bottom: 3rem;
    color: #fff;
    text-align: left;
  }
  .archive_list a img{
    width: 100%;
    padding: 2rem 2rem 0 0;
  }
.archive_list a h3{
    margin-top: 1rem;
    font-size: 1.8rem;
    margin-left: 2rem;
    margin-bottom: 1rem;
  }
  .archive_list a p{
    background-color: #000;
    padding: 0.2rem 2rem 0.2rem 2rem;
    border-radius: 0 0 15px 0;
  }
.btn_area{
    justify-content: center;
    margin-top: 5rem;
  }
.btn_area a{
    width: 50%;
  }
  @media screen and (max-width: 767px) {
    .itm .archive_list a{
        border-radius: 0 0 10px 0;
        width: 47.5%;
        margin-bottom: 2rem;
      }
      .archive_list a p{
        padding: 0.2rem 2rem 0.2rem 1rem;
        border-radius: 0 0 10px 0;
        font-size: 1.4rem;
      }
      .archive_list a h3{
          margin-top: .5rem;
          font-size: 1.6rem;
          margin-left: 1rem;
          margin-bottom: .5rem;
        }
  }



/*
===================================================================
// 流れる文字
// ===================================================================*/
.back{
	margin : -10% auto 40px;
width : 100%;
font-size : 20rem;
text-align : center;
overflow : hidden;
	position: absolute;
	color: #F4F4F4;
	font-family: josefin-sans, sans-serif;
	font-weight: 400;
	z-index: -10;
  margin-left: -10%;
}
.back .backtext{
 margin:0;
display : inline-block;
padding-left: 100%;
white-space : nowrap;
line-height : 1em;
animation : scrollSample01 40s linear infinite;
}
@keyframes scrollSample01 {
 0% { transform: translateX(0)}
100% { transform: translateX(-100%)}
}
.back .backtext2{
 margin:0;
display : inline-block;
padding-left: 100%;
white-space : nowrap;
line-height : 1em;
animation : scrollSample02 40s linear infinite;
}
@keyframes scrollSample02 {
 0% { transform: translateX(-100%)}
100% { transform: translateX(0)}
}

/* ------------------- 実績 ------------ */
.works{
  background: url(images/works_bk.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 7% 10%;
}
.works h2{
  color: #fff;
  margin-bottom: 2rem;
}
.works .toptxt{
  text-align: center;
  color: #fff;
}
.works .archive_list a{
  width: 47.5%;
  background-color: #fff;
  margin-bottom: 5rem;
}
.works .archive_list a h3{
    margin-top: 0;
    font-size: 1.8rem;
    margin-left: 0;
    margin-bottom: 1rem;
    padding: 1rem;
    margin-right: 2rem;
    background-color: #000;
  }
  .works .archive_list a p{
    background-color: #fff;
    padding: 0.2rem 2rem 0.2rem 2rem;
    border-radius: 0 0 15px 0;
    color: #000;
    margin-bottom: 2rem;
    line-height: 3rem;
  }
  @media screen and (max-width: 767px) {
    .works{
      padding: 15% 10%;
    }
    .works .toptxt{
      text-align: left;
      margin-bottom: 4rem;
    }
    .works .archive_list a{
      width: 100%;
      margin-bottom: 4rem;
    }
    .works .archive_list a p{
      padding: 0.2rem 2rem 0.2rem 1rem;
      border-radius: 0 0 10px 0;
      margin-bottom: 1rem;
      line-height: 2.5rem;
    }
  }


/* ------------------- フォーム ------------ */

.contact{
  padding: 5% 0 0;
}
.contact .contactline{
  background-color: #52B95E;
  color: #fff;
  padding: 5rem;
  border-radius: 15px;
  gap: 5%;
  margin: auto 10%;
}
.contact .contactline .lineqr{
  width: 40%;
}
.contact .contactline .linetxt{
  width: 65%;
}
.contact .contactline .linetxt h3{
  font-size: 4.3rem;
  margin-bottom: 1rem;
  font-style: normal;
      font-family: josefin-sans, sans-serif;
}
.contact .contactline .linetxt h4{
  background-color: #fff;
  color: #52B95E;
  font-size: 2.2rem;
  padding: 1rem;
  display: inline-block;
  margin-bottom: 2rem;
}
.contact .contactline .linetxt p{
  display: inline-block;
}
.contact .contactline .linetxt .btn_area{
  display: block;
  width: 100%;
  margin-top: 3rem;
}
.contact .contactline .linetxt a.btn{
  background-color: #fff;
  padding: 1.5rem 0 1.5rem 3rem;
  text-align: center;
  font-size: 2rem;
  border-radius: 45px;
  width: 100%;
  font-weight: 500;
}
.contact .contactline .linetxt a.btn p{
  background-color: #CF180C;
  border-radius: 45px;
  padding: 1.5rem 2.2rem;
  color: #fff;
  margin-left: 2rem;
}
@media screen and (max-width: 767px) {
  .contact{
    padding: 15% 0 0;
  }
  .contact .mainttl{
    margin-bottom: 4rem;
  }
  .contact .contactline{
    padding: 3rem 2rem;
    border-radius: 10px;
  }
  .contact .contactline .lineqr{
    width: 100%;
  }
  .contact .contactline .linetxt{
    width: 100%;
  }
  .contact .contactline .linetxt h3{
    font-size: 3rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
  }
  .contact .contactline .linetxt h4{
    font-size: 1.8rem;
    padding: .5rem;
  }
  .contact .contactline .linetxt a.btn{
    padding: 1.1rem 0 1.1rem 1.5rem;
    font-size: 1.7rem;
    border-radius: 45px;
  }
  .contact .contactline .linetxt a.btn p{
    padding: 1.1rem 1.6rem;
    color: #fff;
    margin-left: 0.3rem;
  }
  .contact .contactline .linetxt .btn_area{
    text-align: center;
  }
}

.form{
  margin: 5% auto;
  padding-right: 10%;
  padding-left: 10%;
	position: relative;
  text-align: center;
  padding-top: 15%;
}
.form img{
  width: 30%;
  position: absolute;
  right: 0;
  top: -10%;
  z-index: -1;
}
.form h3{
  font-size: 4.3rem;
  margin-bottom: 1rem;
  font-style: normal;
  font-family: josefin-sans, sans-serif;
}
.form h4{
  text-align: center;
  margin-bottom: 2rem;
  background-color: #CF180C;
  color: #fff;
  font-size: 2.2rem;
  padding: 1rem;
  display: inline-block;
  margin-bottom: 3rem;
}
.form p.form_p{
	text-align: center;
  margin-bottom: 7%;
}

@media screen and (max-width: 767px) {
  .form{
    padding-top: 55%;
    margin-top: -25%;
  }
  .contact_page .contact_form{
    margin: auto 5%;
  }
  .form h3{
    font-size: 3rem;
    margin-top: 5%;
  }
  .form h4{
    font-size: 1.8rem;
    padding: 1rem;
  }
  .form p.form_p{
    text-align: left;
    margin-bottom: 0%;
  }
  .form img{
    width: 40%;
    position: absolute;
    right: 0;
    top: 5%;
    z-index: -1;
  }
}
.contact_form{
  text-align: left;
}
.contact_form table {
  width: 100%;
  margin: 80px auto 5%;
  text-align: left;
}
.contact_form table tr{
}
.contact_form table{
	color: #000;
}
.contact_form table tr.tr_textarea{
	vertical-align: top;
}
.contact_form table th {
  text-align: left;
  width: 30%;
	padding-bottom: 20px;
	margin-bottom: 2rem;
}
.contact_form table th .red{
	color: red;
	font-weight: 900;
	padding-left: 0.5rem;
}
.contact_form table td {
  text-align: left;
	width: 70%;
	padding-bottom: 20px;
	margin-bottom: 2rem;
}
.contact_form table td input{
	width: 100%;
	height: 8vh;
	border: 1px solid #000;
	padding: 1rem;
	border-radius: 10px;
}
.contact_form table td .wpcf7-radio input{
	padding: 0;
	height: auto;
	width: auto;
}
.contact_form table .wpcf7-list-item-label{
	font-weight: 900;
	margin-right: 2rem;
}
.contact_form table td .wpcf7-file {
	background-color: #fff;
}
.contact_form table td textarea{
	width: 100%;
	height: 20vh;
	border: 1px solid #000;
	padding: 1rem;
	border-radius: 10px;
}
.contact_form .sub-btn{
	background: #CF180C;
	padding: 1.5rem 4rem;
	text-align: center;
	width: 30%;
	margin: auto 35%;
	border: 3px solid #CF180C;
	font-weight: 700;
	border-radius: 45px;
	color: #fff;
}
.contact_form .sub-btn:hover{
	background: #fff;
	color: #CF180C;
	opacity: 1;
}
.contact_form .sub-btn2{
	background: #005ac3;
	padding: 1.5rem 4rem;
	text-align: center;
	width: 30%;
	margin: auto 35% 3%;
	border: 3px solid #005ac3;
	font-weight: 700;
	border-radius: 10px;
color: #fff;
}
.contact_form .sub-btn2:hover{
	background: #fff;
	color: #005ac3;
	opacity: 1;
}
.contact_form table .kakunin{
	font-size: 1.2rem;
	color: #FC9012;
}
.contact_form .form-file{
	margin: 0;
	padding: 0;
	border-radius: 0;
	height: auto;
	background: none;
}
.contact_form .form-file span{
	color: #000;
	background-color: #000;
}
.contact_form td.form-radio input{
	width: 15px;
	height: 15px;
}
@media screen and (max-width: 750px) {
	.form .form_imfo{
		margin: auto 10%;
	}
	.contact_page .contact_form{
		margin: auto 10%;
	}
	.form .ttl_top{
		top: 1%;
	}
	.contact_form table {
    width: 100%;
    margin: 40px auto;
  }
  .contact_form table th, table td {
    display: block;
    width: 100%;
	  margin: 0;
  }
	.contact_form table td {
  text-align: left;
  border-bottom: 2px solid #fff;
	width: 100%;
	margin: 0;
	padding: 0rem;
	}
	.contact_form table select{
		margin:1rem 2rem;
	}
  .contact_form table th {
    width: 100%;
	border-left: 1px solid #fff;
	 border-bottom: 1px solid #fff;
	 margin: 0;
	 padding: 1rem;
  }
  .contact_form table td input{
	width: 100%;
	margin: 0;
	height: 5vh;
  }
	.contact_form table td textarea{
	width: 100%;
	margin-left: 0%;
}
.contact_form .sub-btn{
	padding: 1rem 1rem;
	width: 50%;
	margin: 5% 25%;
}
.contact_page .contact_ttl img{
	width: 50%;
}
}
.box2 {
  width: 100%;                /* 横幅を200pxに指定 */
  height: 150px;           
  background-color: #fff;    /* 横幅を200pxに指定 */
  border: 1px solid #000;      /* わかりやすくボーダーを引く */
  overflow-y: scroll; 
	padding: 3% 5%;
	border-radius: 10px;
	margin-top: 1rem;
  text-align: left;
}
.accept{
	text-align: center;
	justify-content: center;
	margin-top: 5%;
	margin-bottom: 2rem;
}
.box2 h3{
  font-size: 1.7rem;
  margin-bottom: 1rem;
}
.kojin{
	font-weight: 700;
}
.box2 p{
	margin-bottom: 2rem;
  margin-top: 0;
}
.box2 p.kojin_ttl{
	font-weight: 900;
	margin-bottom: 0.5rem;
}

@media screen and (max-width: 750px) {
.box2 {
	height: 100px;
}
.accept{
	margin-bottom: 0;
}
}




/* ---------- 会社概要 ------------- */
.company_sec{
  padding: 7% 10%;
  background: url(images/company.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.company_sec .mainttl{
  color: #fff;
}
.company_sec dl{
  color: #fff;
  flex-wrap: wrap;
  border: 1px solid #fff;
  border-radius: 20px;
}
.company_sec dl dt{
  width: 35%;
  border-bottom: 1px solid #000;
  padding: 2rem;
  background-color: #fff;
  color: #000;
}
.company_sec dl dt:first-child{
  border-radius: 15px 0 0 0;
}
.company_sec dl dt.lastdt{
  border-bottom: 0px;
  border-radius: 0 0 0 15px;
}
.company_sec dl dd{
  width: 65%;
  border-bottom: 1px solid #fff;
  padding: 2rem;
}
.company_sec dl dd:last-child{
  border-bottom: 0px;
}
@media screen and (max-width: 767px) {
  .company_sec{
    padding: 20% 10%;
  }
  .company_sec .mainttl{
    margin-bottom: 3rem;
  }
  .company_sec dl dt{
    width: 100%;
  }
  .company_sec dl dd{
    width: 100%;
  }
  .company_sec dl{
    border-radius: 10px;
    margin-bottom: 15%;
  }
.company_sec dl dt{
  width: 100%;
  padding: 1.2rem 2rem;
}
.company_sec dl dt:first-child{
  border-radius: 10px 0 0 0;
}
.company_sec dl dt.lastdt{
  border-radius: 0 0 0 10px;
}
.company_sec dl dd{
  width: 100%;
  padding: 1.5rem 2rem;
}
}

.access{
  gap:5%;
  margin-top: 7%;
}
.access div{
  width: 47.5%;
  color: #fff;
}
.access div h3{
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.access div h3 span{
  color: #C09E5E;
}
.access div p{
  margin-bottom: 1rem;
}
.access div iframe{
  width: 100%;
  height: 30rem;
}
@media screen and (max-width: 767px) {
  .access div{
    width: 100%;
    margin-bottom: 4rem;
  }
}

.fadein {
    opacity : 0;
    transform : translate(0, 0px);
    transition:all 1s;
  display:block;
    animation-duration: 1s;
    animation-delay: .3s;
    transform: scale(1.05);
    animation-fill-mode:forwards;
}
.fadein.scrollin {
    opacity : 1;
    transform: scale(1);
    filter: blur(0);
}
.fadein1 {
    opacity : 0.2;
    transform : translate(0, 50px);
    transition:all 1s;
  display:block;
  margin:60px auto;
  text-align:center;
}
.fadein1.scrollin {
    opacity : 1;
    transform : translate(0, 0);
}

/* その場で */


.fadeon{
animation-name:fadeUpAnime;
  animation-duration: 1.2s;
  animation-fill-mode:forwards;
    animation-delay: .3s;
    opacity: 0;
}

@keyframes fadeUpAnime{
  from {
      opacity: 0;
  transform: scale(1.3);
  }

  to {
      opacity: 1;
  filter: blur(0);
  transform: scale(1);
  }
}


/*==================================================
じわっ
===================================*/

.blur{
  animation-name:blurAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
}

@keyframes blurAnime{
  from {
  filter: blur(10px);
  transform: scale(1.02);
  opacity: 0;
  }

  to {
  filter: blur(0);
  transform: scale(1);
  opacity: 1;
  }
}
 
.blurTrigger{
    opacity: 0;
}


/*==================================================
スタート時は要素自体を透過0にするためのopacity:0;を指定する
===================================*/

.box{
  opacity: 0;
}

/*==================================================
ふわっ
===================================*/

.fadeUp {
animation-name:fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity: 0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}







.header-sec {
  height: 6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.header-ul {
  list-style: none;
  display: flex;
  height: 6rem;
}

.header-ul li {
  font-size: 1.6rem;
  margin-right: 2.5vw;
font-weight: 600;
font-style: normal;
    font-family: josefin-sans, sans-serif;
    height: 6rem;
    align-items: center;
    align-content: center;
}

.header-ul li a {
  display: block;
  color: #000;
  font-weight: 600;
  font-family: josefin-sans, sans-serif;
}

.header-ul li a:hover {
    opacity: 0.7;
  transition: 0s;
}

.header-ul li:last-child {
  margin-right: 0px;
}

.header-ul li{
}
.headcontact{
  background-color: #CF180C;
  height: 6rem;
  margin-right: 0;
  padding-right: 3rem;
  padding-left: 3rem;
  border-radius: 50px 0 0 50px;
}
.header-ul li.headcontact a{
  color: #fff;
}
.header-ul li.headcontact a span{
  background-color: #fff;
  color: #CF180C;
  padding: 0.6rem 1rem;
  border-radius: 30px;
  margin-left: 1rem;
}

.photo-sec {
}

.photo-box {
  width: 47.5%;
  margin-top: 5%;
}

.photo-box img {
  width: 100%;
}

/* ハンバーガーメニュー　*/
.nav-ham {
  display: none;
  position: absolute;
  top: 0em;
  right: 5.2%;
  width: 40px;
  height: 16px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  z-index: 100;
}

.nav-ham span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #CF180C;
  position: absolute;
  transition: transform 0.5s, opacity 0.5s, width 0.3s;
}

.nav-ham span:nth-child(1) {
  top: 0;
}

.nav-ham span:nth-child(2) {
  top: 0;
  bottom: 0;
  margin: auto;
}

.nav-ham span:nth-child(3) {
  bottom: 0;
}

.sp-nav-layout {
  position: fixed;
  background: #CF180C;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  color: #CF180C;
  display: flex;
  justify-content: flex-start;
  visibility: hidden;
  opacity: 0;
  transform: translateX(100%);
  transition: 0.5s ease-in-out;
  z-index: 50;
  padding-left: 5rem;
}

.sp-nav-layout ul {
  text-align: center;
  margin-top: 15rem;
}

.sp-nav-layout ul li {
  position: relative;
  margin-bottom: 3rem;
    font-family: josefin-sans, sans-serif;
  transform: translateX(-200px);
  transition: transform 1.3s ease;
}
.sp-nav-layout ul ul.flex_wrap{
  flex-wrap: wrap;
  width: 90%;
  margin-left: 5%;
  margin-right: 5%;
}
.sp-nav-layout ul ul li{
  width: 45%;
  text-align: left;
  margin-bottom: 2rem;
}

.sp-nav-layout ul li:nth-child(2) {
  transition-delay: 0.07s;
}

.sp-nav-layout ul li:nth-child(3) {
  transition-delay: 0.14s;
}

.sp-nav-layout ul li:nth-child(4) {
  transition-delay: 0.21s;
}
.sp-nav-layout ul li:nth-child(5) {
  transition-delay: 0.28s;
}

.sp-nav-layout ul li:nth-child(6) {
  transition-delay: 0.35s;
}

.sp-nav-layout ul li:nth-child(7) {
  transition-delay: 0.42s;
}
.sp-nav-layout ul li:nth-child(8) {
  transition-delay: 0.49s;
}
.sp-nav-layout ul li:nth-child(9) {
  transition-delay: 0.56s;
}
.sp-nav-layout ul ul li a {
  font-size: 1.6rem;
  color: #fff;
}

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

  /* body
--------------------------------*/
  .inner {
    position: relative;
    width: calc(100% - 40px);
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
  }
  .header-sec {
    height: 55px;
    padding: 0 20px;
  }
  .header-logo {
    width: 54px;
    height: auto;
  }
  .header-ul {
    display: none;
  }
  .photo-box p {
    font-size: 1.6rem;
  }
  .text-sec p {
    font-size: 1.6rem;
    line-height: 1.9;
  }
  /*sp nav*/
  .nav-ham {
    display: block;
    position: absolute;
    top: 2.5rem;
    right: 20px;
    width: 20px;
    height: 16px;
    cursor: pointer;
    z-index: 100;
  }
  .open .nav-ham {
    position: fixed;
  }
  .open .nav-ham span {
    background-color: #fff;
  }
  .open .nav-ham span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .open .nav-ham span:nth-child(2) {
    top: 0;
    bottom: 0;
    margin: auto;
    width: 0px;
    opacity: 0;
  }
  .open .nav-ham span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .open .sp-nav-layout {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }
  .open .sp-nav-layout ul li {
    transform: translateX(0);
    text-align: left;
  }

  .open .sp-nav-layout ul li a{
    color: #fff;
    font-weight: 700;
    font-size: 2rem;
    text-align: left;
  }
  .overlay {
    content: "";
    display: block;
    width: 0;
    height: 0;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s;
  }
  .photo-sec {
    margin-top: 3rem;
    margin-bottom: 2rem;
  }
}


.fade_in {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}

/* フェードインのキーフレーム */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}