html {
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  color: #454545;
  line-height: 3rem;
  letter-spacing: 0.05rem;
  font-size: 1.4rem;
  background-color: #E5EB4C;
  background-image: url(../images/top/back.svg);
  background-attachment: fixed;
  background-size: 1000px;
  background-position: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
  overflow-x: hidden;
}

main {
  overflow-x: hidden;
}

.top_main {
  animation: fadeIn  1s ease-out;
}

.grecaptcha-badge {
  visibility: hidden;
}


/* リンク */
a {
  transition: .3s;
  cursor:pointer
}

a:hover {
  opacity: 0.5;
}

/* ヘッダー */
.header {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  padding: 20px 30px;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.2rem;
  font-weight: 500;
  font-size: 1.4rem;
}

.header_logo {
  display: flex;
}

.logo {
  width: 40px;
}

.title_gr {
  letter-spacing: 0.5rem;
  font-family: "Paytone One", sans-serif;
  color: #FF631C;
  margin-left: 10px;
}

.title {
  margin-top: 10px;
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1.8rem;
}

.title2 {
  font-size: 1rem;
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  letter-spacing: 0.3rem;
}

.menu {
  margin: 0 0 0 auto;
}

.menu_link {
  margin-left: 30px;
  padding: 30px 0px;
}

.contact_btn {
  background-color: #FF631C;
  color: #fff;
  margin-left: 30px;
  padding: 10px 20px;
  border-radius: 100vh;
  transition: 0.3s ease-in-out;
}

.contact_btn:hover {
  background-color: #fff;
  color: #FF631C;
  opacity: 1;
}

.menu_x {
  vertical-align: middle;
}

.menu_insta {
  margin-left: 10px;
  vertical-align: middle;
}

.sp-menu {
  display: none;
}

/* アニメーションキーフレーム */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn-bottom {
  0% {
    opacity: 0;
  }
  100% {
    transform: translateY(-10%);
    opacity: 1;
  }
}

@keyframes idou {
  0% , 100%{
    transform: translateY(0%);
}
50%{
    transform: translateY(20%);
}
}

@keyframes yurayura {
0%, 100% {
  transform: rotate(8deg);
}
50% {
  transform: rotate(-8deg);
}
}

@keyframes fadeIn-pyon {
  0% {
    transform: translateY(80px);
    opacity: 0;
  }
  60% {
    transform: translateY(-40px);
  }
  100% {
    transform: translateY(0);
  }
  40%,100% {
    opacity: 1;
  }
}

@keyframes zoom-in {
  0% {
    transform: scale(0%);
    opacity: 0;
  }
  60% {
    transform: scale(110%);
  }
  100% {
    transform: scale(100%);
  }
  40%,100% {
    opacity: 1;
  }

}

/* スクロール時のフェードイン */
.fade-in-section {
  opacity: 0;
  transform: translate(0, 5%);
  transition: 1.5s;
}

.fade-in {
  opacity: 1;
  transform: translate(0, 0);
}

/* スクロール時の右スライドイン */
.slide-in-right-img {
  opacity: 1;
  transform: translate(120%, 0%);
  transition: 1.5s;
}

.slide-in-right {
  opacity: 1;
  transform: translate(0, 0);
}

/* スクロール時の左スライドイン */
.slide-in-left-img {
  opacity: 1;
  transform: translate(-200%, -20%);
  transition: 1s;
}

.slide-in-left {
  opacity: 1;
  transform: translate(0, 0);
}

/* スクロール時のズームイン */
.zoom-in-img {
  opacity: 1;
  transform: scale(0, 0);
  transition: .5s;
}

.zoom-in {
  opacity: 1;
  transform: scale(1, 1);
}

/* ページトップボタン */
.page_top {
  position:fixed;
  z-index: 999;
  bottom:20px;
  right: -50px; /* ページトップボタンの幅 */ 
}

.page_top:hover {
  margin-right: 5px;
  opacity: 1;
}

.page_top img {
  width: 50px;
}


/* ファーストビュー */
.fv {
  width: 100%;
  height: 860px;
  background-color: #f8f8f8;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 40px 0px 40px;
  position: relative;
  z-index: 1;
}

.fv_text_gr {
  width: 40%;
  display: flex;
  justify-content: end;
  margin-right: 3vw;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 6rem;
  animation: fadeIn-bottom 1s ease-out forwards;
  animation-delay: 1s;
  opacity: 0;
}

.fv_img_gr {
  width: 70%;
  display: flex;
  margin-left: 3vw;
}

.fv_img {
  width: 100%;
  max-width: 700px;
  animation: zoom-in .5s ease-out forwards;
  animation-delay: .5s;
  opacity: 0;
}

.separator_wrap {
  overflow: hidden;
}

.separator {
  width: 110%;
  margin-top: -40px;
  position: relative;
  z-index: 0;
}

.separator_blue {
  width: 100%;
  margin-bottom: -50px;
  position: relative;
  z-index: 0;
}

/* インナー幅 */
.inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 40px;
}

/* メッセージ */
.message_gr {
  display: flex;
  padding: 150px 0;
  font-size: 1.5rem;
  line-height: 4rem;
  align-items: center;
}

.message_left  {
  width: 50%;
}

.message_right  {
  width: 50%;
  padding-left: 80px;
}

.message_img {
  width: 100%;
  padding: 0 0 0 80px;
}

/* Service */
#service {
  background-color: #179EE2;
  background-image: url(../images/top/back3.svg);
  background-size: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  padding-top: 20px;
  padding-bottom: 130px;
}

.heading1 {
  position: relative;
  font-size: 5rem;
  letter-spacing: 0.8rem;
  font-family: "Paytone One", sans-serif;
  margin-bottom: -7px;
}

.yellow {
  color: #E5EB4C;
}

.heading_gr {
  max-width: 100%;
  margin: 0 auto 80px auto;
  text-align: center;
}

.service_list {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.service_gr {
  position: relative;
  text-align: center;
  color: #fff;
}

.number {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 3.5rem;
  letter-spacing: 0.5rem;
  font-family: "Paytone One", sans-serif;
  font-weight: 600;
}

.service_img {
  margin: 50px 0 30px 0;
  width: 100%;
}

.heading3 {
  font-size: 2rem;
  font-weight: 600;
}

.service_text {
  margin-top: 20px;
  text-align: justify;
  letter-spacing: 0rem;
}

.skill {
  margin: 100px auto 0 auto;
  padding: 50px 140px 40px 60px;
  width: 95%;
  background-image: url(../images/top/back2.jpg);
  background-repeat: repeat;
  background-size: 40px;
  border-radius: 30px;
  align-items: center;
  position: relative;
  display: flex;
  align-items: center;
}

.skill_art {
  position: absolute;
  bottom: -30px;
  right: -20px;
  width: 140px;
}

.skill_title {
  width: 200px;
  position: absolute;
  top: -30px;
  left: -30px;
}

.skill_point {
  font-size: 1.2rem;
  line-height: 2rem;
  margin-top: 10px;
}

/* Works */
.works_top {
  width: 110%;
  padding-bottom: 100px;
  margin-top: -40px;
}

#works {
  position: relative;
  background-color: #F9F3ED;
  padding-top: 0px;
  padding-bottom: 100px;
  background-repeat: no-repeat;
}

#works .heading_gr {
  text-align: left;
}

.green {
  color: #128E52;
}

.works_wrap {
  position: relative;
  z-index: 9;
}

.works_art2-1 {
  position: absolute;
  left: 40px;
  top: -80px;
}

.works_art2 {
  width: 200px;
  animation: idou 3s linear infinite;
}

.works_art {
  position: absolute;
  right: 80px;
  top: -110px;
  width: 120px;
  z-index: 10;
}

.works_gr {
  padding-left: 30px;
}

.works_img_container {
  position: relative;
}

.works_thumbnail img {
  object-fit: cover;
  max-width: 100%;
  height: auto;
  transition: transform .6s ease;
}

.works_img {
  width: 100%;
  margin: 0 auto;
  border-radius: 10px;
  overflow:hidden;
}

.works_link:hover .works_thumbnail img {
 transform:scale(1.1,1.1);
 transition:1s all;
}

.works_link:hover .list_btn {
  transform:scale(0.95,0.95);
  transition:0.5s all;
 }

.works_link:hover {
  opacity: 1;
}


.list_btn {
  width: 30px;
  height: 30px;
  padding: 10px;
  background-color: #E5EB4C;
  border-radius: 50px;
  position: relative;
  position: absolute;
  bottom: -5%;
  right: -5%;
}

.list_btn img {
  width: 13px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.works_gr a {
  display: block;
}

.list_title {
  margin-top: 20px;
  line-height: 2rem;
}

.tag_gr {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5px;
}

.tag {
  line-height: 1.2rem;
  font-size: 1rem;
  padding: 1px 5px;
  color: #bbbbbb;
  border: solid .5px #8a8a8a;
  border-radius: 100vh;
  margin-right: 5px;
  margin-top: 2px;
}

.loop_wrap .slick-dots {
  position: absolute;
  bottom: -80px;
  left: 15vw;
  width: 300px;
}

#works .btn {
  margin: 40px 0 0 auto;
}

/* もっと見るボタン */

.btn {
  margin: 0 auto;
  max-width: 300px;
  min-width: 240px;
  height: 50px;
  line-height: 1.5rem;
  padding: 1em;
  display: block;
  color: #fff;
  background: #FF631C;
  border: 3px solid #FF631C;
  font-weight: 500;
  border-radius: 100vh;
  text-align:center;
  transition: 0.3s ease-in-out;
  position: relative;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);
}

.btn:after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url("../images/top/arrow.svg") no-repeat center;
  background-size: contain;
  transition: 0.3s ease-in-out;
  position: absolute;
  top: 50%;
  right: 2.5rem;
  transform: translateY(-50%);
}

.btn:hover {
  box-shadow: none;
  opacity: 1;
  transform: translateY(.2rem);
}

.btn:hover:after {
  right: 2rem;
  opacity: 1;
}

.works_btn a {
  margin: 0 auto;
  max-width: 300px;
  min-width: 240px;
  height: 50px;
  line-height: 1.5rem;
  padding: 1em;
  display: block;
  color: #FF631C;
  background: #fff;
  border: 1px solid #FF631C;
  font-weight: 500;
  border-radius: 100vh;
  text-align:center;
  transition: 0.3s ease-in-out;
  position: relative;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3);
}

.works_btn a:after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url("../images/top/arrow_red.svg") no-repeat center;
  background-size: contain;
  transition: 0.3s ease-in-out;
  position: absolute;
  top: 50%;
  right: 2.5rem;
  transform: translateY(-50%);
}

.works_btn a:hover {
  box-shadow: none;
  opacity: 1;
  transform: translateY(.2rem);
}

.works_btn a:hover:after {
  right: 2rem;
  opacity: 1;
}


/* About */
#about {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  padding-top: 50px;
  padding-bottom: 160px;
  position: relative;
  background-image: url(../images/top/separator_about.svg);
  background-position: top;
  background-size: 100%;
  background-repeat: no-repeat;
}

.red {
  color: #FF631C;
}

.about_wrap {
  position: relative;
  width: 100%;
  background-image: url(../images/top/back2.jpg);
  background-repeat: repeat;
  background-size: 40px;
  border-radius: 30px;
  padding: 60px;
}

.about_art1 {
  width: 100px;
  position: absolute;
  top: -60px;
  left: 60px;
  z-index: 10;
}

.about_art2 {
  width: 200px;
  position: absolute;
  bottom: -100px;
  right: -30px;
  z-index: 10;
}

.about_gr {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  margin-top: 40px;
}

#about .heading_gr {
  margin-bottom: -40px;
  position: relative;
  z-index: 11;
}

.about_gr_left {
  text-align: center;
}

.about_gr_left img {
  max-width: 220px;
  width: 100%;
}

.comments {
  display: block;
  font-size: 1.2rem;
  margin-top: 30px;
  line-height: 2rem;
}

.about_text {
  margin-top: 10px;
  text-align: justify;
}

/* ギャラリー */
#gallery {
  background-color: #D1C6EC;
  background-image: url(../images/top/back3.svg);
  background-size: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  padding-top: 0px;
  padding-bottom: 100px;
}

.insta_feed {
  position: relative;
  margin: 0 auto;
  margin-bottom: 20px;
}

.sbi_item, .sbi_type_image {
  border-radius: 10px;
  border: solid 2px #fff;
  background-color: #fff;
}

.gallery_art1 {
  width: 130px;
  position: absolute;
  top: -140px;
  left: -30px;
}

.gallery_art2 {
  width: 60px;
  position: absolute;
  top: -170px;
  left: 120px;
  animation: yurayura 3s linear infinite;
}

.gallery_art3 {
  width: 130px;
  position: absolute;
  top: -110px;
  right: -10px;
}

/* Contact */
#contact {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  padding-top: 130px;
  padding-bottom: 200px;
  text-align: center;
}

#contact .text {
  margin-top: 40px;
  margin-bottom: 40px;
}

.contact_art {
  width: 100px;
  animation: idou 3s linear infinite;
}

/* フッター */
.footer_img_gr {
  overflow: hidden;
}

.footer_img {
  min-width: 1400px;
  width: 100%;
  margin-bottom: 0px;
}

.footer {
  display: block;
  width: 100%;
  text-align: center;
  color: #fff;
  background-color: #128E52;
  padding: 50px;
  margin-bottom: 0;
  position: relative;
  z-index: 20;
}

.footer_title {
  font-family: "Paytone One", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.3rem;
}

.footer_menu_sns {
  margin-top: 20px;
  margin-bottom: 20px;
}

.copy_right {
  font-size: 1rem;
  margin-bottom: 80px;
}

.recaptcha {
  font-size: .8rem;
  line-height: 1.2rem;
}

/*--------------------------------
 下層：Worksページ
---------------------------------*/
.works_main {
  overflow: visible;
  background-color: #f8f8f8;
}

.works_header {
  padding: 40px 0 10px 0;
  text-align: center;
  background-color: #E5EB4C;
}

.works_header .heading_gr {
  margin-bottom: 0;
  position: relative;
  z-index: 5;
}

.works_header_art {
  width: 480px;
  margin-bottom: 40px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  font-size: 1.2rem;
  padding: 60px 0 40px 40px;
  line-height: 2rem;
}

.hyphen {
  margin: 0 10px 0 10px;
}

.mark {
  font-weight: 600;
}

.container {
  display: flex;
  max-width: 1200px;
  padding: 80px 40px;
  margin: 0 auto;
}

.category {
  display: flex;
  flex-wrap: wrap;
  padding: 5px 10px;
  margin-bottom: 40px;
  font-size: 1.3rem;
}

.category_li_mark {
  border-bottom: solid 1px #454545;
  font-weight: 600;
}

.category_li::before {
  content: "/";
  margin-left: 25px;
  margin-right: 25px;
}

.works_main .works_gr {
  padding: 0;
}

.works_list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.works_thumbnail {
  border-radius: 20px;
}

.news-pagination {
  display: flex;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  line-height: 1.5rem;
}

.news-pagination span {
  border-bottom: solid 1px #454545;
  margin: 0 5px;
  font-weight: 600;
}

.news-pagination a {
  margin: 0 5px;
}

.footer_img2 {
  display: block;
  margin: 0 auto;
  max-width: 600px;
  width: 100%;
}

/*--------------------------------
 下層：Works詳細ページ
---------------------------------*/
.works_detail_body {
  background-color: #f8f8f8;
  background-image: none;
}

.works_detail_breadcrumb {
  padding-top: 40px;
}

.works_breadcrumb {
  display: flex;
  font-size: 1.2rem;
  padding-bottom: 40px;
  line-height: 1.3rem;
}

.works_ditail_container {
  padding: 0 60px 100px 60px;
  display: flex;
  margin: 0 auto;
  max-width: 1400px;
  width: 100%;
}

.works_ditail_main {
  padding: 0px 10px 100px 10px;
  flex: 1 1 60%;
}

.works_aside {
  flex: 1 1 40%;
  padding-left: 80px;
  position: sticky;
  top: 100px;
  height: 800px;
}

.works_aside .wp-block-image {
  display: none;
}

.post_img, .post_img_gr .post_img2, .post_img_gr .post_img3, .post_img_gr .post_img4, .post_img_gr .post_img5 {
  display: block;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .2);
  margin-bottom: 40px;
}

.post_img_spgr {
  display: flex;
  justify-content: space-between;
}

.post_img_spgr .post_img2 {
  width: 45%;
  border-radius: 10px;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .2);
  margin-bottom: auto;
} 

.post_img_spgr .post_img3 {
  width: 45%;
  border-radius: 10px;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .2);
  margin-top: 100px;
}

.works_aside .wp-block-heading {
  font-weight: 600;
  margin-top: 10px;
}

.works_aside .wp-block-heading::before {
  content: "|";
  margin-right: 5px;
}

.detail_tag {
  font-size: 1.2rem;
  line-height: 2rem;
  padding: 3px 10px;
  border: solid .5px #454545;
  border-radius: 100vh;
  margin-right: 5px;
} 

.works_title {
  font-size: 2.5rem;
  font-weight: 600;
  margin: 10px 0 30px 0;
  margin-bottom: 20px;
}

/* .works_title::after {
  content: url(../images/works_detail/link.svg);
  margin-left: 10px;
  padding-top: 10px;
} */

.detail_heading {
  font-size: 1.5rem;
  font-weight: 600;
}

.detail_heading::before {
  content: "|";
  margin-right: 5px;
}

.aside_text_gr {
  margin-bottom: 40px;
}

/*--------------------------------
 下層：お問い合わせページ
---------------------------------*/
.contact_header_art {
  width: 180px;
  margin-bottom: 40px;
}

.contact_header_text {
  max-width: 784px;
  margin: 60px auto 30px auto;
}

/*ContactForm7カスタマイズ*/
.wp-block-contact-form-7-contact-form-selector {
  padding-bottom: 120px;
}

table.CF7_table{
  text-align: left;
	width:80%;
	margin: 60px auto 30px auto;
	border: none;
}

.CF7_table th{
	width:30%;/*横幅*/
	background-color: transparent;
}

.CF7_table p {
  margin-bottom: 30px;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table{
	display:table;
}

/*入力欄*/
.CF7_table input, .CF7_table textarea {
	border: none;
  background: #fff;
  padding: 5px 10px;
  width: 100%;
}

.CF7_table input[type="radio"], .CF7_table input[type="checkbox"] {
  background: transparent !important;
  appearance: auto;
  width: 15px;
  margin-right: 5px;
}

.CF7_table ::placeholder {
	color:#797979;
}

.wpcf7-radio {
  display: flex;
}

.wpcf7-acceptance label {
  display: flex;
}

.radio .wpcf7-list-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

/*「必須」文字*/
.CF7_req{
	font-size: 1.5rem;
	color: #e25333;
	margin-left:5px;
}

/* 「送信する」ボタン */
.contact-btn {
  margin: 0 auto !important;
  max-width: 300px !important;
  min-width: 240px !important;
  height: 50px !important;
  line-height: 1.5rem !important;
  padding: 1em !important;
  display: block !important;
  color: #fff !important;
  background: #FF631C !important;
  border: 3px solid #FF631C !important;
  font-weight: 500 !important;
  border-radius: 100vh !important;
  text-align:center !important;
  transition: 0.3s ease-in-out !important;
  position: relative !important;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.3) !important;
}

.contact-btn:after {
  content: "" !important;
  display: inline-block !important;
  width: 20px !important;
  height: 20px !important;
  background: url("../images/arrow.svg") no-repeat center !important;
  background-size: contain !important;
  transition: 0.3s ease-in-out !important;
  position: absolute !important;
  top: 50% !important;
  right: 2rem !important;
  transform: translateY(-50%) !important;
}

.contact-btn:hover {
  box-shadow: none !important;
  opacity: 1 !important;
  transform: translateY(.2rem);
}

.wpcf7-spinner {
  display: block !important;
  margin: 0 auto !important;
  background-color: #FF631C !important;
}

.privacy_link {
  border-bottom: solid 1px #565758 !important;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #FF631C !important;
}

.tanks_wrap {
  padding-top: 100px;
  padding-bottom: 100px;
}

.thanks-title {
  font-weight: 600;
  font-size: 2.4rem;
  margin: 0px 0 60px 0;
  text-align: center;
}

.tanks_wrap p {
  padding-bottom: 20px;
}

/*--------------------------------
 下層：プライバシーポリシーページ
---------------------------------*/
.privacy_header_art {
  width: 250px;
  margin-bottom: 40px;
}

#privacy_policy {
  padding: 100px 0;
}

#privacy_policy .wp-block-heading {
  font-weight: 600;
  font-size: 2rem;
  margin: 40px 0 10px 0;
}

#privacy_policy ol {
  list-style: decimal;
  padding-left: 20px;
}

.right {
  margin-top: 40px;
  text-align: right;
}

/*--------------------------------
 下層：404ページ
---------------------------------*/

.wrap_404 {
  width: 100%;
 margin: 200px auto;
}

.title404 {
  font-size: 3.6rem;
  font-weight: 500;
}

.wrap_404 p {
  margin: 50px 0;
  text-align: center;
}


/*media Queries 1000px
----------------------------------------------------*/
@media screen and (max-width:1000px) {
  body {
    font-size: 1.4rem;
  }

  .menu {
    display: none;
  }

  /* スマホ用メニューボタン */
  .hamburger{
    margin: 0 0 0 auto;
    width: 30px;
    height: 15px;
    position: relative;
  }
  
  .hamburger span{
    position: absolute;
    width: 100%;
    height: 2.5px;
    border-radius: 1.5px;
    background-color: #454545;
    transition: .5s;
  }
  .hamburger span:first-of-type{/* ハンバーガーメニューの1番目の線 */
    top: 0%;
  }
  .hamburger span:nth-of-type(2){/* ハンバーガーメニューの2番目の線 */
    top: 50%;
  }
  .hamburger span:last-of-type{/* ハンバーガーメニューの3番目の線 */
    top: 100%;
  }

  /* メニュークリック時 */
.hamburger.active span:first-of-type{/* ハンバーガーメニューの1番目の線 */
  top: 50%;
  transform: rotate(45deg);
  background-color: #fff;
}
.hamburger.active span:nth-of-type(2){/* ハンバーガーメニューの2番目の線 */
  opacity: 0;/* 透明にする */
}
.hamburger.active span:last-of-type{/* ハンバーガーメニューの3番目の線 */
  top: 50%;
  transform: rotate(-45deg);
  background-color: #fff;
}
.sp-menu.active{
  transform: translateY(0); 
}

  /* スマホメニュー */
  .sp-menu{
    display: block;
    padding: 70px 40px;
    background-color: #128E52;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    z-index: 100;
    transform: translateY(-100%);
    transition: .5s;
  }
  .sp-menu a{
    color: #fff;
    line-height: 400%;
    font-family: "Outfit", sans-serif;
    letter-spacing: 0.2rem;
    font-weight: 500;
    font-size: 1.4rem;
    display: block;
  }

  .sp_menu_sns {
    display: flex;
    margin-top: 20px;
  }

  .sp_menu_sns .menu_x {
    margin: 0 30px 0 0;
  }

  /* ファーストビュー */
.fv {
  width: 100%;
  height: 960px;
  flex-direction: column-reverse;
  justify-content: center;
  padding: 80px 80px 40px 80px;
}

.fv_text_gr {
  width: 100%;
  justify-content: left;
  margin-right: 0;
  padding-left: 80px;
  margin-top: 60px;
}

.fv_img_gr {
  width: 100%;
  justify-content: center;
  margin-left: 0;
}

.fv_img {
  width: 100%;
  max-width: 600px;
}

  .menu_link {
    margin-left: 2vw;
  }

  /* メッセージ */
  .message_gr {
    flex-direction: column;
    padding: 60px 0 100px 0;
    font-size: 1.4rem;
    line-height: 3rem;
  }

.message_left  {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}

.message_right  {
  width: 100%;
  max-width: 400px;
  padding-left: 0px;
}

.message_img {
  width: 100%;
  max-width: 400px;
  padding: 0 ;
}

/* ======= Works詳細ページ ======= */
.works_ditail_container {
  flex-direction: column;
  padding: 0 40px 100px 40px;
}

.works_ditail_main {
  padding: 20px 10px;
  flex: 1 1 100%;
}

.works_aside {
  flex: 1 1 100%;
  padding-left: 0px;
  position: static;
  height: auto;
  margin-top: 0px;
}
  
}

/*media Queries 767px
----------------------------------------------------*/
@media screen and (max-width:767px) {
  body {
    font-size: 1.4rem;
    background-size: 100%;
    background-size: 500px;
  }

  .header {
    height: 50px;
    padding: 10px;
  }
  
  .inner {
    padding: 0 30px;
  }

  .title_gr {
    letter-spacing: 0.3rem;
    font-family: "Paytone One", sans-serif;
    margin-left: 5px;
  }

  .logo {
    width: 30px;
  }

  .title {
    margin-top: 15px;
    font-size: 1.8rem;
    line-height: .5rem;
  }

  .title2 {
    letter-spacing: 0.15rem;
    font-size: .8rem;
  }

    /* ファーストビュー */
  .fv {
    height: 90dvh;
    padding: 80px 10px 60px 10px;
  }

  .fv_text_gr {
    justify-content: left;
    padding-left: 20px;
    margin-top: 40px;
    font-size: 2rem;
    line-height: 3.5rem;
  }

  /* サービス */
  .separator_blue {
    margin-bottom: -20px;
  }

#service {
  padding-top: 20px;
}

.heading_gr {
  margin-bottom: 60px;
}

.heading1 {
  font-size: 3.5rem;
  letter-spacing: 0.5rem;
  margin-bottom: -18px;
}

.heading_line {
  width: 160px;
}

.service_list {
  grid-template-columns: 1fr;
  gap: 60px;
}

.service_img {
  max-width: 280px;
}

.skill_title {
  left: 50%;
  transform: translateX(-50%);
}

  .skill {
    margin: 80px 0 0 0;
    padding: 60px 30px 40px 30px;
    width: 100%;
  }

  .skill_art {
    width: 100px;
    bottom: -80px;
  }


  /* Works */

  .works_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    line-height: 1.2rem;
  }

  .works_img {
    border-radius: 10px;
  }

  .works_top {
    padding-bottom: 80px;
    margin-top: -20px;
  }

#works {
  padding-top: 0px;
  padding-bottom: 100px;
}

.works_art2-1 {
  left: 10px;
  top: -50px;
}

.works_art2 {
  width: 150px;
}

.works_art {
  position: absolute;
  right: 10px;
  top: -65px;
  width: 70px;
  z-index: 10;
}

.works_gr {
  padding-left: 5px;
  padding-right: 10px;
}

.works_img {
  border-radius: 10px;
}

.list_btn {
  width: 25px;
  height: 25px;
}

.list_title {
  margin-top: 10px;
  font-size: 1.2rem;
  line-height: 2rem;
}

.loop_wrap .slick-dots {
  position: static;
  margin: 0 auto;
}

.loop_wrap .slick-dots li {
  margin: 0;
}

#works .btn {
  margin: 20px auto;
}

.tag {
  font-size: .8rem;
}


/* About */
#about {
  padding-top: 0px;
  padding-bottom: 120px;
}

  #about .heading_gr {
    margin-bottom: -20px;
  }

  .about_art1 {
    width: 60px;
    top: -40px;
    left: 10px;
  }

  .about_art2 {
    width: 130px;
    bottom: -50px;
  }

  .about_gr {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about_wrap {
    padding: 20px 30px 60px 30px;
  }

  .about_gr_left img {
    max-width: 200px;
  }
  
  .text_center {
    text-align: center;
  }

  .heading3, .heading4 {
    margin-bottom: 10px;
  }

  /* ギャラリー */
  #gallery {
    padding-top: 0px;
    padding-bottom: 60px;
  }

  .gallery_art1 {
    width: 70px;
    top: -70px;
    left: -20px;
  }

  .gallery_art2 {
    width: 40px;
    top: -50px;
    left: 60px;
  }

  .gallery_art3 {
    width: 90px;
    top: -75px;
    right: -20px;
  }

  /* お問い合わせ */
  #contact {
    padding: 100px 0;
  }

  .contact_art {
    width: 80px;
  }

    /* お問い合わせフォーム */

    .contact-btn {
      font-size: 1.3rem;
      width: 100% !important;
      max-width: 250px;
      height: 50px;
      line-height: 2rem;
    }
  
  
    .CF7_table p {
      margin-bottom: 0;
    }
  
    .CF7_table tr {
      margin-bottom: 20px;
    }
  
    .contact-btn:after {
      position: absolute;
      right: 1rem;
    }
  
    table.CF7_table{
      width:95%;
      }
      .CF7_table tr, .CF7_table td, .CF7_table th{
      display: block;
      width: 100%;
      }


  /* フッター */
  .footer_img {
    min-width: 1000px;
  }


  /* ======= Worksページ ======= */
  .works_header {
    padding: 0px 20px 40px 20px;
  }

  .breadcrumb {
    padding-top: 60px;
    padding-left: 0;
  }

  .works_header_art {
    width: 280px;
    margin-bottom: 20px;
  }

  .container {
    padding: 60px 20px;
  }

  .works_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
    margin-bottom: 60px;
  }

  .list_btn {
    bottom: -3%;
    right: -3%;
  }

  .category {
    padding: 0;
    margin-bottom: 30px;
    font-size: 1.2rem;
  }
  
  .category_li::before {
    content: "/";
    margin-left: 7px;
    margin-right: 7px;
  }
  
  .works_thumbnail {
    border-radius: 10px;
  }

  /* ======= Works詳細ページ ======= */
  .works_ditail_container {
    margin: 0 auto;
    padding-top: 0px;
    padding-bottom: 100px;
  }

  .works_detail_breadcrumb {
    padding: 0px 40px 0 40px;
  }

  .hyphen {
    margin: 0 5px 0 5px;
  }

  .works_title {
    font-size: 1.8rem;
    margin: 5px 0 20px 0;
  }

  .detail_tag {
    font-size: 1rem;
  }

   /* ======= お問い合わせページ ======= */

   .contact_header_art {
    width: 100px;
    margin-bottom: 20px;
   }

   .contact_header_text {
    margin-top: 60px;
    margin-bottom: 40px;
  }

  .tanks_wrap {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .thanks-title {
    font-size: 1.8rem;
    margin: 0px 0 40px 0;
    text-align: left;
    line-height: 3.5rem;
  }  

   /* ======= プライバシーポリシーページ ======= */

  .privacy_header_art {
    width: 180px;
    margin-bottom: 20px;
  }

}