@charset "utf-8";

.m_opening {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	z-index: var(--z-index-modal);
	background: #111;
	display: flex;
  }
  
  
  .m_opening_txt {
	text-align: center;
	margin: auto;
  }
  
  .m_opening_heading {
	color: white;
	font-size: 24px;
	font-weight: bold;
  }
  
  @media screen and (min-width: 768px) {
	.m_opening_heading {
	  font-size: 56px;
	}
  }
  
  .m_opening_desc {
	color: white;
	font-weight: bold;
	font-size: 16px;
	margin-top: 16px;
  }


/************************ layout *******/


.l_contents {
  width: 100%;
  padding: 60px 30px;
  max-width: 1100px;
  margin: 0 auto;
}

@media screen and (max-width: 500px) {
  .l_contents{
    padding: 60px 16px;
  }
}

.l_contents_about {
  width: 100%;
  padding: 60px 30px;
  max-width: 1100px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .l_contents_about{
    padding: 60px 0;
  }
}

.l_contents_sm{
  width: 100%;
  padding: 60px 30px;
  max-width: 700px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .l_contents_sm{
    padding: 60px 30px;
  }
}

@media screen and (max-width: 500px) {
  .l_contents_sm{
    padding: 60px 16px;
  }
}

.l_header{
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  padding: 20px 60px;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

@media screen and (max-width: 768px) {
  .l_header{
    height: 60px;
    padding: 10px 16px;
  }
}

.l_header.change-color {
  background-color: #000000;
  transition: 0.5s;
}

.l_header-logo__link{
  font-size: 44px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
}

.l_header-logo__link:hover{
  opacity: 0.8;
  transition: 0.4s;
}

@media screen and (max-width: 768px) {
  .l_header-logo__link{
    font-size: 24px;
  }
}

.l_header-logo_icon{
  height: 60px;
  width: 60px;
  margin-bottom: 0px;
}

@media screen and (max-width: 768px) {
  .l_header-logo_icon{
    height: 40px;
    width: 40px;
    margin-bottom: 0px;
  }
}

.l_header-logo_inc{
  font-size: 24px;
  color: #ffffff;
  margin-left: 8px;
}

@media screen and (max-width: 768px) {
  .l_header-logo_inc{
    font-size: 16px;
  }
}

.l_header-nav_list{
  background-color: rgba(0, 0, 0, .7);
  position: fixed;
  width: 40%;
  height: 100vh;
  top: 0;
  right:  0;
  padding-top: 160px;
  transform: translateX(100%);
  transition: .5s;
}

@media screen and (max-width: 768px) {
  .l_header-nav_list{
    padding-top: 100px;
    width: 50%;
  }
}

.l_header-nav_list li{
  color: #fff;
  font-weight: bold;
  line-height: 350%;
  text-align: center;
}

.l_header-nav_item{
  color: #fff;
  
}

.l_header-nav_list.active{
  transform: translateX(0);
}

.l_footer-copyright{
  text-align: center;
  padding: 20px 0;
  background: #525252;
}

.l_footer-copyright_txt{
  font-size: 10px;
  color: #ffffff;
}

.l_mg{
  margin-top: 60px;
}

.l_black-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
  cursor: pointer;
  z-index: -1;
}

.active .l_black-bg {
  opacity: 0.4;
  visibility: visible;
}

a { 
  overflow:hidden;
}

a img:hover{
	transform:scale(1.03);
	transition:0.5s;
  opacity: 0.7;
}

dl a:hover{
  transition:0.5s;
  opacity: 0.5;
}


/********************* top ********/


.top_scroll{
  display: block;
  font-size: 80%;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  height: 20px;
  position: fixed;
  left: 20px;
  top: 550px;
  z-index: 9998;
  transform: rotate(270deg);
}

@media screen and (max-width: 1000px) {
  .top_scroll{
    display: none;
  }
}

.top_scroll:before{
  position: absolute;
  left: -50px;
  top: 7px;
  display: inline-block;
  content: "";
  width: 44px;
  height: 1px;
  background: #000;
}

.top_scroll.none{
  transition:1s;
  opacity: 0;
}

.top_kv-inner{
  height: 100vh;
  background: #333;
  opacity: 0;
}

.top_bg{
  height: 100vh;
  width: 20vw;
  background: #ffffff;
  }

  @media screen and (min-width: 768px) {
  .top_bg{
  height: 100vh;
  width: 30vw;
  }
  }

  @media screen and (min-width: 1080px) {
  .top_bg{
  height: 100vh;
  width: 50vw;
  }
  }

.top_kv_img{
  height: 90vh;
  width: 72vw;
  position: relative;
  top: 0;
  left: 0;
  z-index: 0;
  object-fit: cover;
  opacity: 0;
}

.top_kv_box{
  position: absolute;
  top: 30%;
  right: 16%;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .top_kv_box{
    right: 10%;
  }
}

.top_kv_copy{
  font-weight: bold;
  color: #ffffff;
}

.top_kv_sub-copy{
  font-weight: bold;
  color: #ffffff;
}

.top_kv_message{
  line-height: -1rem;
  font-size: 60px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
}

.top_about-inner{
  width: 100%;
  height: 600px;
  margin-top: 60px;
  background-image: linear-gradient(rgba(51, 51, 51, 0.4), rgba(51, 51, 51, 0.4)) ,
  url(../img/top_about.png);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.top_about_box{
  padding: 50px 30px;
  max-width: 590px;
  min-width: 345px;
  background: #ffffff;
  opacity: 0.9;
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translate(-50%,-50%);
}

@media screen and (max-width: 768px) {
  .top_about_box{
    left: 50%;
  }
}

.top_bg_c{
  background: #F0F0F0;
}

.top_flex_wrapper{
  display: flex;
  margin: 0 auto;
  max-width: 1100px;
}

@media screen and (max-width: 768px) {
  .top_flex_wrapper{
    display: block;
  }
}

.top_img{
  margin-bottom: 30px;
  max-width: 520px;
  object-fit: cover;
}

.top_topics-cta{
  display: block;
  max-width: 700px;
  margin-left: auto;
  right: 0;
}

.top_topics-date{
  font-size: 12px;
  font-weight: bold;
  color: #CECECE;
  margin-bottom: 8px;
}

.top_topics-txt{
  font-size: 14px;
  font-weight: bold;
  border-bottom: 1px solid #DDDDDD;
  margin-bottom: 30px;
}

.top_contact{
  padding-bottom: 60px;
}

.top_contact-post{
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  max-width: 1100px;
}

@media screen and (max-width: 768px) {
  .top_contact-post{
    display: block;
  }
}

.top_contact-post__img{
  object-fit: cover;
  max-width: 520px;
}

@media screen and (max-width: 768px) {
  .top_contact-post__img{
    margin-bottom: 30px;
  }
}

.top_contact_wrapper{
  width: 450px;
  margin-right: 80px;
}

@media screen and (max-width: 500px) {
  .top_contact_wrapper{
    width: auto;
    margin-right: 0;
  }
}


/********************* sub ********/


.sub_kv-inner{
  height: 70vh;
  background: #333;
}

.sub_bg{
  height: 71vh;
  width: 50vw;
  background: #ffffff;
}

@media screen and (max-width: 768px) {
  .sub_kv-inner{
    height: 76vh;
  }
    .sub_bg{
  height: 77vh;
  width: 48vw;
  }
  }

  @media screen and (max-width: 500px) {
  .sub_kv-inner{
    height: 70vh;
  }
  .sub_bg{
    height: 70vh;
    width: 44vw;
  }
  }

.sub_kv_img{
  height: 62vh;
  width: 72vw;
  position: relative;
  top: 0;
  left: 0;
  z-index: 0;
  object-position: 50% 46%;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
    .sub_kv_img{
      height: 68vh;
      width: 80vw;
    }
  }

  @media screen and (max-width: 500px) {
    .sub_kv_img{
      height: 60vh;
      width: 78vw;
    }
  }

.sub_kv_box{
  position: absolute;
  top: 30%;
  right: 10%;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .sub_kv_box{
    right: 10%;
  }
}

.sub_kv_copy{
  font-size: 72px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
}

.sub_kv_sub-copy{
  font-size: 20px;
  color: #ffffff;
}

@media screen and (max-width: 768px) {
  .sub_kv_copy{
    font-size: 50px;
  }
  .sub_kv_sub-copy{
    font-size: 16px;
  }
}


/********************* module *******/


.m_hamburger{
  width: 32px;
  height: 25px;
  position: relative;
  margin-right: 60px;
}

.m_hamburger span{
  position: absolute;
  width: 100%;
  border-radius: 10px;
  background-color: rgb(255, 255, 255);
  transition: .5s;
}

.m_hamburger span:first-of-type{
  top: 20%;
  height: 3px;
}

.m_hamburger span:nth-of-type(2){
  top: 50%;
  height: 3px;
}

.m_hamburger span:nth-of-type(3){
  top: 48%;
  left: 180%;
  color: #ffffff;
  font-size: 12px;
  font-weight: 1000;
  background: transparent;
  transform: translateY(-40%);
}

.m_hamburger span:last-of-type{
  top: 80%;
  height: 3px;
}

.m_hamburger.active span:first-of-type{
  top: 50%;
  transform: rotate(405deg);
}

.m_hamburger.active span:nth-of-type(2){
  opacity: 0;
}

.m_hamburger.active span:last-of-type{
  top: 50%;
  transform: rotate(-405deg);
}

.m_section-ttl{
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
}

.m_section-ttl2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
}

.m_section-txt{
  font-size: 13px;
  line-height: 2.2;
  margin-bottom: 30px;
}

.m_section-copy{
  max-width: 400px;
}

@media screen and (max-width: 500px) {
  .m_section-copy{
    font-size: 14px;
  }
}

.m_sub_txt{
  font-size: 24px;
}

@media screen and (max-width: 500px) {
  .m_sub_txt{
    font-size: 20px;
  }
}

.m_btn-wrapper{
  width: 160px;
  height: 36px;
}

.m_btn {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  box-shadow: 2px 2px 2px rgba(0, 0, 0,);
  color: #ffffff;
  background:  #000;
  font-weight: bold;
  font-size: 12px;
  overflow: hidden;
}

.m_btn:hover {
  opacity: 0.5;
}

.m_btn-cta{
  margin-left: auto;
}

.m_contact_btn{
  margin: 0 auto;
}


/********************* utility *******/


.u_line{
  display: block;
  border-bottom: 1px solid #DDDDDD;
}

.u_pg{
  padding: 60px 0;
}


/*********************** about *******/


.about_company{
	margin-top: 30px;
}

@media screen and (max-width: 768px) {
	.about_company{
	  margin-top: 200px;
	}
  }

.about_vision_inner{
  margin-left: 200px;
}

@media screen and (max-width: 768px) {
  .about_vision_inner{
    margin-left: 100px;
  }
}

@media screen and (max-width: 500px) {
  .about_vision_inner{
    margin-left: 0;
  }
}

.about_message_post{
  position: relative;
}

.about_message_post-img{
  max-width: 420px;
  object-fit: cover;
}

.about_message_inner{
  height: 800px;
}

@media screen and (max-width: 500px) {
  .about_message_inner{
    height: 700px;
  }
}

.about_message-box{
  max-width: 756px;
  height: auto;
  padding: 105px 180px;
  background: #F0F0F0;
  position: absolute;
  top: 50%;
  left: 30%;
  z-index: -1;
}

@media screen and (max-width: 1000px) {
  .about_message-box{
    max-width: 500px;
    padding: 80px 30px;
    top: 80%;
  }
}

@media screen and (max-width: 500px) {
  .about_message-box{
    padding: 80px 30px;
    width: 100%;
    top: 80%;
    left: 0;
    transform: translateX(0%);
  }
}

.about_company-cta{
  margin-bottom: 30px;
}

.about_company-row{
  border-bottom: 1px solid #DDDDDD;
  display: block;
  padding: 16px;
  margin-left: 300px;
}

@media screen and (max-width: 768px) {
  .about_company-row{
    margin-left: 0;
  }
}

.about_company-head{
  font-weight: bold;
  width: 120px;
}

@media screen and (max-width: 768px) {
  .about_company-data{
    font-size: 14px;
  }
}

.about_company_map-wrapper {
  max-width: 100%;
  height: 360px;
}

.about_company_map{
  position: relative;
  width: 100%;
  height: 0;
}

.about_company_map iframe {
  width: 100%;
  height: 360px;
  position: absolute;
  top: 0;
  left: 0;
}

/************* contact *******/

.contact_policy__ttl{
  font-weight:bold;
  margin: 30px 0;
}

.contact_form_heading {
  font-weight: bold;
  display: flex;
}

.contact_form_heading:not(:first-child) {
  margin-top: 32px;
}

.contact_form_detail {
  margin-top: 16px;
}

.contact_form_input {
  width: 100%;
  height: 40px;
  border: 1px solid #000;
  border-radius: 4px;
  padding: 0 8px;
}

.contact_form_required {
  font-size: 10px;
  width: 30px;
  margin-left: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  color: #fff;
}

.contact_form_radio-list{
  display: flex;
}

@media screen and (max-width: 500px) {
  .contact_form_radio-list{
    display: block;
  }
}

.contact_form_radio-item:not(:first-child){
  margin-left: 50px;
}

@media screen and (max-width: 500px) {
  .contact_form_radio-item:not(:first-child){
    margin-left: 0;
  }
}

.contact_form_radio-item {
  display: flex;
  align-items: center;
  margin-top: 16px;
}

.contact_form_radio {
  appearance: radio;
}

.contact_form_label {
  font-size: 12px;
  font-weight: bold;
  padding-left: 10px;
}

.contact_form_textarea {
  width: 100%;
  height: 250px;
  border: 1px solid #000;
  border-radius: 4px;
  padding: 8px 16px;
  resize: none;
}

.contact_form_policy{
  margin-top: 40px;
}

.contact_form_policy-txt{
  width: 100%;
  border: 1px solid #000;
}

.contact_form_policy-txt {
  max-width: 700px;
  height: 300px;
  overflow: scroll;
  padding: 25px;
  border: 1px solid black;
  line-height: 1.5;
}

.privacy-policy__item__title{
  font-weight: bold;
}

.privacy-policy__item__desc{
  margin-bottom: 25px;
}

.contact_form_checkbox{
  padding: 40px 0;
  text-align: center;
}

input[type="checkbox"] { display: none; }

input[type="checkbox"] + label {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
  align-items: center;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  label[class="contact_form_checkbox__txt"]{
    font-size: 12px;
  }
}

input[type="checkbox"] + label:before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border: 1px solid #000000;
  position: absolute;
  left: 10%;
  top: 0;
  -webkit-transition: all .12s, border-color .08s;
  transition: all .12s, border-color .08s;
}

@media screen and (max-width: 768px) {
  input[type="checkbox"] + label:before{
    left: 15%;
    top: -2px;
  }
}

@media screen and (max-width: 580px) {
  input[type="checkbox"] + label:before{
    left: 5%;
  }
}

input[type="checkbox"]:checked + label:before {
  width: 10px;
  top: -5px;
  left: 10%;
  border-radius: 0;
  opacity: 1;
  border-top-color: transparent;
  border-left-color: transparent;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

@media screen and (max-width: 768px) {
  input[type="checkbox"]:checked + label:before{
    left: 15%;
    top: -2px;
  }
}

@media screen and (max-width: 580px) {
  input[type="checkbox"]:checked + label:before{
    left: 5%;

  }
}


.works_section {
  padding: 50px 0;
  text-align: center;
}

.works_section h2 {
  font-size: 24px;
  margin-bottom: 30px;
}

.works_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.work_item {
  background-color: #f9f9f9;
  border-radius: 5px;
  padding: 20px;
}

.work_item img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 10px;
}

.work_item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.work_item p {
  font-size: 16px;
  color: #666;
}

@media screen and (min-width: 768px) {
  .works_grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .work_item {
    width: calc(50% - 20px);
  }
}

@media screen and (min-width: 768px) {
  .works_grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap; /* パソコンの場合はスライドショーにするために改めて追加 */
    overflow-x: auto; /* スライドショーを有効にするために追加 */
    scroll-snap-type: x mandatory; /* スライドショーを有効にするために追加 */
    -webkit-overflow-scrolling: touch; /* iOS Safariのスムーススクロールを有効にするために追加 */
  }

  .work_item {
    flex: 0 0 auto;
    width: 50%; /* 2列にするために50%に変更 */
    scroll-snap-align: start; /* スライドショーを有効にするために追加 */
  }
}

.slideshow-container {
  max-width: 600px;
  position: relative;
  margin: auto;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
  position: absolute;
  animation: slideAnimation 1s ease-in-out forwards;
}

@keyframes slideAnimation {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}

img {
  width: 100%;
  height: auto;
}

.caption {
  text-align: center;
  margin-top: 20px;
  font-size: 18px;
}


/*==================================================
スライダーのためのcss
===================================*/
.slider {/*横幅94%で左右に余白を持たせて中央寄せ*/
  width:94%;
  margin:100 auto;
}

.slider img {
  width:60vw;/*スライダー内の画像を60vwにしてレスポンシブ化*/
  height:auto;
}

.slider .slick-slide {
transform: scale(0.8);/*左右の画像のサイズを80%に*/
transition: all .5s;/*拡大や透過のアニメーションを0.5秒で行う*/
opacity: 0.5;/*透過50%*/
}

.slider .slick-slide.slick-center{
transform: scale(1);/*中央の画像のサイズだけ等倍に*/
opacity: 1;/*透過なし*/
}


/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
  position: absolute;/*絶対配置にする*/
  top: 42%;
  cursor: pointer;/*マウスカーソルを指マークに*/
  outline: none;/*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #666;/*矢印の色*/
  border-right: 2px solid #666;/*矢印の色*/
  height: 15px;
  width: 15px;
}

.slick-prev {/*戻る矢印の位置と形状*/
  left: -1.5%;
  transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
  right: -1.5%;
  transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
  text-align:center;
margin:20px 0 0 0;
}

.slick-dots li {
  display:inline-block;
margin:0 5px;
}

.slick-dots button {
  color: transparent;
  outline: none;
  width:8px;/*ドットボタンのサイズ*/
  height:8px;/*ドットボタンのサイズ*/
  display:block;
  border-radius:50%;
  background:#ccc;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
  background:#333;/*ドットボタンの現在地表示の色*/
}


/*========= レイアウトのためのCSS ===============*/

/* body{
background:#eee;
}

h2,p {
  text-align:center;
  padding:20px;
}

ul{
margin:0;
padding: 0;
list-style: none;
}

a{
color: #333;
}

a:hover,
a:active{
text-decoration: none;
} */

.top_works-post{
  margin-bottom: 150px;
}