html {
  font-size: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
}

header {
  width: 100%;  
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  background: white;
}


.logo {
  display: inline-flex;
  width: 20%;
}

.logo img {
  width: 100%;
}

.header-list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header-list a {
  display: inline-block;
  font-size: 1rem;
  color: #4b4138;
}

.header__link-insta {
	width: 30px;
}

.header__link-mail {
	width: 50px;
}

/* .header-logo {
  width: 50%;
} */


/*main*/
.main-container {
  margin-top: 50px;
}


.top {
	position: relative;
    margin-left: auto;
    max-width: 68vw;
    width: 100%;
}

.top-title {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: absolute;
    z-index: 10;
    left: -20vw;
    top: 10vh;
}

.top-title h1 {
	background: white;
    padding: 5px 15px;
    font-family: 'Shippori Mincho', serif;
    background: white;
    font-weight: 500;
	font-size: clamp(23.4px, 2.33vw, 59.42px);
    width: max-content;
    letter-spacing: 5px;
}

.top-title h1 span {
	font-size: clamp(29px, 2.91vw, 74px);
}

.top p {
	margin-left: 15px;
    position: absolute;
    top: 50%;
    left: -20vw;
    z-index: 10;
    color: #8c6239;
    font-size: 1.2rem;
    line-height: 2.5rem;
}

.top-bg {
    width: 120%;
    position: absolute;
    top: 45%;
    left: -20%;
}

.slider-main .mainview {
    width: 100% !important;
    height: 800px;
    object-fit: cover;
    border-radius: 0 0 0 50px;
}

.pattern {
    position: relative;
    top: -100px;
    left: -100px;
    width: 30%;
}

.sub-sp {
  display: none;
}

.top-detail {
  position: relative;
  background-position: center;
  max-width: 1000px;
  margin: -200px auto 0;
  text-align: center;
}

.top-detail h3 {
  display: inline-block;
  background:linear-gradient(transparent 70%,#fcf69f 70%,#fcf69f 100%);
  margin-bottom: 100px;
  border-radius: 15px;
  font-weight: 500;
}

.top-detail p {
  margin-bottom: 50px;
  letter-spacing: 0.05rem;
  line-height: 2.5rem;
  font-size: 1.3rem;
  text-align: left;
}

.top-detail h3, .business h3 {
  font-family: 'Shippori Mincho', serif;
  color: #4b4138;
}

.top-detail img {
  position: absolute;
  top: 15%;
  bottom: auto;
  left: 0;
  width: 100%;
  opacity: 0.5;
}


/* business */
.business {
  margin: 300px auto 0;
  text-align: center;
  max-width: 1100px;
}

.section-title h1 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5rem;
  font-size: 3rem;
  color: #8a6239;
}

.section-title p {
  font-size: 1rem;
}

.business h3 {
  margin: 60px auto 30px;
  font-weight: 500;
}

.business-text {
  font-size: 1rem;
  line-height: 2rem;
  margin-bottom: 100px;
}

.business-left, .business-right {
  position: relative;
  margin-bottom: 200px;
}

.business-left .topic-detail {
  position: absolute;
  top: 12%;
  left: 25%;
	z-index: 10;
	@media(max-width: 820px) {
		top: 60%;
		left: 15%;
	}
}

.business-right .topic-detail {
  position: absolute;
  top: 12%;
  right: 25%;
  z-index: 10;
	@media(max-width: 820px) {
		top: 70%;
		right: 15%;
	}
}

.pattern-business {
  position: absolute;
  top: 60%;
  right: 0%;
  width: 40%;
  z-index: -1;
}

.topic-detail {
  max-width: 350px;
  padding: 50px 30px;
  background: white;
}

.topic {
  font-family: 'Shippori Mincho', serif;
  color: #4b4138;
  font-size: 0.8rem;
  margin-bottom: 5px;
}

.topic-detail h4 {
  font-family: 'Shippori Mincho', serif;
  color: #4b4138;
  letter-spacing: 0.05rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.more {
  font-size: 1rem;
  color: white;
  padding: 10px 50px;
  background: #4b4138;
}

.topic-img {
  display: block;
  width: 90%;
  height: 50%;
}

.business-right img {
  margin-left: auto;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.works {
  margin: 300px 0;
  text-align: center;
  position: relative;
  padding-bottom: 50px;
}

@media screen and (max-width: 769px) {
  .works {
    margin: 400px 0;
  }
}

.bg-works {
  position: absolute;
  top: -10%;
  right: 0%;
  width: 90%;
  height: 120%;
  z-index: -1;
}

.works-slider {
  width: 100%;
  margin: 50px auto 0;
}

.work-item {
  padding: 10px;
  box-sizing: border-box;
  text-align: left;
}

.even-slide .work-item {
  margin-top: 50px;
}

.work-text {
  padding: 30px;
  background: white;
  border-radius: 15px 0 0 0;
  margin: -5% 20px 0;
  position: relative;
}

.work-text p {
  font-size: 1rem;
  color: #333333;
}

.category {
  display: inline-block;
  margin: 15px 0;
  color: white !important;
  padding: 5px 40px;
  background: #4b4138;
}

.work-item img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.slick-prev, .slick-next {
  position: absolute;
  top: 110%;
  z-index: 1;
}

.slick-prev,
.slick-next {
  font-size: 20px;
}

.slick-prev:before {
  content: '＜';
  color: #4b4138;
}

.slick-next:before {
  content: '＞';
  color: #4b4138;
}

.slick-dots {
  bottom: -110px;
  position: absolute;
	@media(max-width: 820px) {
		bottom: -170px;
	}
	@media(max-width: 640px) {
		bottom: -150px;
	}
	@media(max-width: 440px) {
		bottom: -130px;
	}
}

.slick-dots li {
  width: 15px !important;
  margin: 0 !important;
}

.arrow_box {
	position: absolute;
    display: block;
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
    width: 100px;
    margin: 0 auto;
	@media(max-width: 820px) {
		bottom: -80px;
	}
	@media(max-width: 640px) {
		bottom: -60px;
	}
	@media(max-width: 440px) {
		bottom: -40px;
	}
}

.works-more {
    margin: 0px auto;
    display: table;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -12%;
}


#about {
  text-align: center;
  position: relative;
  padding: 0;
  padding-bottom: 50px;
}

.about-text {
    max-width: 450px;
	width: 100%;
    top: 60px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 60px 40px;
    background: white;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
	@media(max-width: 890px) {
		max-width: 500px;
	}
}

.aboutH1 {
	font-size: 3rem !important;
    letter-spacing: 0.3rem !important;
	line-height: 1;
	margin-bottom: 5px;
}

.topic-text {
  font-size: 0.8rem;
  line-height: 1.3rem;
  width: 72%;
  margin: 60px auto 45px;
}

.about-text .topic-text {
  text-align: left;
}

#about img {
  position: relative;
  width: 100%;
  z-index: -1;
	@media(max-width: 820px) {
		top: -200px;
	}
}

.ad {
  display: inline-block;
  list-style: none;
  top: -150px;
  position: relative;
}

.more-btn:hover, .contact-btn:hover {
  cursor: pointer;
}

.company-detail {
  width: 80%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto;
  gap: 50px;
  padding: 0 20px;
  padding-top: 50px;
  font-size: 1rem;
	@media(max-width: 1040px) {
	  width: 90%;
      grid-template-columns: auto;
      grid-template-rows: auto auto;
      gap: 0;
	}
}

#table01 {
    font-size: 1rem;
}

#table01 tr {
  border-bottom: 1px solid #b5b1b1;
  text-align: left;
}

#table01 tr:first-child {
  border-top: 1px solid #b5b1b1;
}

#table01 th,
#table01 td {
  padding: 15px 40px 15px 0;
  border: none;
  font-weight: 500;
}

#table01 th {
  width: 30%;
}

.news-container {
  background: linear-gradient(to bottom, 
    white 0%, 
    white 15%, 
    #f8efe4 15%, 
    #f8efe4 100%
  );
  padding-bottom: 100px;
}

.news {
  width: 80%;
  text-align: center;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  border: 1px solid #8a6239;
  padding: 100px 0;
  border-radius: 20px;
  background: white;
  margin: 10% auto 0;
}

.news .section-title p {
  margin-bottom: 30px;
}

.news.section-title {
  width: 40%;
}

.news-list {
   width: 40%;
}
.news-item {
  font-size: 1rem;
  text-align: left;
}

.news-item p {
  margin-bottom: 30px;
}

.news-date {
   margin-right: 5px;
}

.contact {
  position: relative;
}

.contact-detail {
  width: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 0 20px;
  transform: translate(-50%, -50%);
	@media(max-width: 820px) {
		width: 100%;
	}
}

.contact-detail p {
  text-align: center;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: 0.05rem;
  color: white;
  margin-bottom: 50px;
}

.contact-bg {
  filter: brightness(70%);
	height: 500px;
}

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

.contact-icon img {
  width: 40%;
}

.contact-btn {
  cursor: pointer;
}

.contact-section {
  padding: 100px 0;
  text-align: center;
  background: #f6f4f2;
}

.contact-section .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.phone-contact {
  max-width: 1000px;
}

.contact-form {
  max-width: 1000px;
  margin: 100px auto;
  padding: 50px 150px;
  background: white;
  border-radius: 0 0 60px 0;
}

.contact-form h2 {
  font-weight: 600;
  margin-bottom: 50px;
}

.contact-form img {
  width: 10%;
  margin-bottom: 20px;
}

.wpcf7 {
  text-align: left;
}

.wpcf7 p, .required, .any {
  font-size: 1rem;
  font-weight: 600;
}

.spacer {
  height: 20px;
}

.any {
    display: inline-block;
    background-color: #666666;
    color: #fff;
    line-height: 1;
    padding: 5px 10px;
    letter-spacing: .05em;
    margin-left: 6px;
    border-radius: 2px;
}

.submit {
    color: black;
    background: #4b4138;
    display: block;
    padding: 0 100px 20px 100px;
    font-size: 2rem;
    margin-top: 50px;
}

footer {
  text-align: center;
}

.footer-logo {
 width: 20%;
 margin-bottom: 30px;
}

footer p {
 color: #4d4d4d;
 font-size: 1rem;
}

.phone-number {
  margin-top: 20px;
}

.footer-instagram {
 width: max(2%, 30px);
 margin: 20px auto 30px;
}

.single-container {
  padding: 70px 0;
  background: #f6f4f2;

}

.breadcrumb {
  display: flex;
  gap: 5px;
  color: black;
  font-size: 1rem;
  margin: 20px;
}

.breadcrumb a, .breadcrumb p, .category-name {
  color: #8c6239;
}

.privacy-box {
  border: 1px solid rgba(26, 26, 26, .3);
  padding: 5px 15px;
  margin-top: -20px;
}

.category-bc {
  display: flex;
  gap: 5px;
  color: black;
  font-size: 1rem;
  padding: 20px;
  background: #f6f4f2;
}

.category-bc a, .category-bc p {
  color: #8c6239;
}

.br-sp, .header-sp {
  display: none;
}

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

.news {
	width: 85%;
     flex-direction: column;
     padding: 100px 20px;
	gap: 0;
   }
	.news-list {
		width: 100%;
		margin-top: 50px;
	}
	
}


@media screen and (max-width: 820px) {
	body {
      overflow-x: hidden;
    }
    
    .main-container {
  	  margin-top: 50px;
	}

    .top {
        position: relative;
        margin-left: auto;
        max-width: 500px;
    }
    
    .top-title {
    	left: -27vw;
		right: auto;
    }

    .top h1 {
        padding: 0 5px;
        letter-spacing: 1px;
    }
    
    .slider-main .mainview {
        height: 500px;
	}

    .top p {
    	display: none;
    }

    .top-bg {
        width: 220%;
        top: 30%;
        left: -50%;
    }
    
    .aboutH1 {
      font-size: 2rem !important;
    }

    .pattern {
       display: none;
    }

    .sub-sp {
       display: block;
       width: 60%;
    }
  
    .br-sp {
      display: block;
    }
    
    .top-detail {
    	margin-top: -50px;
    }
    
    .top-detail h3 {
      background: linear-gradient(transparent 90%,#fcf69f 90%,#fcf69f 100%);
    }
    
    .top-detail p {
      margin: 0 30px;
    }
    
    .top-detail img {
      top: auto;
      bottom: -50vw;
      width: 150%;
	}
    
    .business h3 {
      font-weight: 500;
	}
    
    
    .business-text {
      margin: 0 30px 150px;
    }
    
    .business-left, .business-right {
      margin-bottom: 300px;
	}

/* 	.topic-detail {
      z-index: 10;
      top: 70%;
    } */
    
    .business-left .topic-img {
      transform: translateX(-250px) scale(2);
	}
    
    .topic-text {
      width: 95%;
      margin: 33px auto 30px;
    }
    
    .business-right .topic-img {
      transform: translateX(250px) scale(2);
	}
    
    /*
    #about .section-title {
      background: white;
      padding: 30px 10px 5px;
      display: inline-block;
    }
   */
   
   #about {
      margin-top: 200px;
      text-align: center;
      position: relative;
      padding: 0;
    }

    .about-text {
        width: 75%;
        padding: 50px 20px 47px;
        margin: 0px auto;
        top: -50px;
    }
    
   .ad {
     margin-bottom: 300px;
   }
   
   .contact-form {
	    margin: 100px 20px;
    	padding: 50px 80px;
	}
   
   .news-list {
     margin-top: 50px;
   }
	
   .contact-section {
    	padding: 100px 20px;
	}
   
   .contact-bg {
      height: 800px;
      object-fit: cover;
	}
    
    .contact-icon {
      flex-direction: column;
    }
    
    .contact-icon img {
      width: 85%;
      margin: 20px auto;
	}
   
    .footer-logo {
      width: 50%;
	}
   
    #table01 {
      margin: 0 20px;
      font-size: 1rem;
	}
    
    #table01 tr:last-child {
        border: none;
	}
    
    .header-list {
      display: none;
    }
    
    .logo {
      width: 45%;
    }
    
    .header-sp {
      display: flex;
	  gap: 15px;
    }
    
    .header-sp a, .hamburger {
      width: 50px;
    }
    
    .menu {
      position: absolute;
      top: 80px; /* ヘッダーの高さに応じて調整 */
      right: 0;
      width: 200px;
      background-color: #fff;
      border: 1px solid #ccc;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      z-index: 1000;
    }

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

    .menu li {
      border-bottom: 1px solid #eee;
    }

    .menu li a {
	  width: 100%;
      display: block;
      padding: 12px 16px;
      color: #333;
      text-decoration: none;
      font-size: 1rem;
    }

    .menu li a:hover {
      background-color: #f5f5f5;
    }    
}

@media screen and (max-width: 768px) {
	.menu {
		top: 70px;
	}
}

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

	.main-container {
    	margin-top: 50px;
    }
    
    .top {
    	max-width: 300px;
    }
    
    .top-title {
    	top: 7vh;
    	left: -27vw;
		right: auto;
    }

    .slider-main .mainview {
        height: 300px;
	}
    
    .top-bg {
        left: -60%;
    }

	.top-detail h3 {
		font-size: 1.3rem;
        margin-bottom: 50px;
	}
    
    .top-detail p {
    	line-height: 2rem;
    	font-size: 1rem;
    }
    
    .business {
		margin: 300px auto 0;
    }
    
    .business h3 {
        font-size: 1.4rem;
    }
    
    .section-title h1 {
    	font-size: 2rem;
    }
    
/*     .topic-detail {
        top: 100% !important;
        z-index: 10;
    } */
    
    .ad {
        margin: 0;
    }
    
/*     .contact-detail {
    	width: 350px;
	} */
    
    .listpage {
    	margin-top: 0 !important;
    }
    
    .main3 {
    	transform: translateX(-10%);
        width: 200%;
    }
    
    .contact-form {
        margin: 100px 20px;
    	padding: 50px 30px;
    
    }
    
    .contact-form h2 {
        font-size: 1.5rem;
    }
    
    .works-more {
		white-space: nowrap;
        margin: 0px auto;
        display: table;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: -13%;
　　}

    
}

@media screen and (max-width: 400px) {
    .top {
        max-width: 300px;
    }
    
    .top-title {
        left: -5vw;
		right: auto;
    }
}