@charset "UTF-8";

/*------------------------
hamburger
----------------------------*/
.header {
  position: relative;
  padding: 20px;
}

.hamburger {
  display: block;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 9999;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: clamp(300px, 26vw, 500px);
  height: 100dvh;
  background: #fff9ee;
  transform: translateX(-100%);
  transition: transform 0.4s;
  z-index: 9998;
  overflow-y: scroll;
}

.nav.active {
  transform: translate(0);
}

.nav__list {
  display: block;
  padding: 70px 0 0;
}

.nav__item {
  padding: 0 35px;
  font-size: clamp(2rem, 1.5vw, 3rem);
  border-bottom: 1px solid #3333334f;
}

.nav__link {
  display: block;
  padding: 30px 0;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.nav__link img {
  width: clamp(50px, 3.723vw, 70px);
  object-fit: cover;
  margin-right: 20px;
}

.hamburger__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  background: #333;
  transition: all .4s;
}

.hamburger__line:nth-of-type(1) {
  top: 14px;
}

.hamburger__line:nth-of-type(2) {
  top: 23px;
}

.hamburger__line:nth-of-type(3) {
  top: 32px;
}

.hamburger.active .hamburger__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}

.hamburger.active .hamburger__line:nth-of-type(2) {
  opacity: 0;
}

.hamburger.active .hamburger__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

/*------------------------
hero
----------------------------*/
.hero-container {
  display: flex;
  width: 95%;
  margin: 40px auto 0;
  background: #ffb469;
  border-radius: 30px;
  position: relative;
}

.hero-container::after {
  position: absolute;
  background-image: url("../img/kadomaru.svg");
  width: 30px;
  height: 30px;
  display: inline-block;
  content: "";
  top: 290px;
  left: 0;
}

.site-btn {
  background: #fff9ee;
  width: 250px;
  padding: 0 10px;
  margin: 20px 50px 20px auto;
  border-radius: 15px;
  border: 2px solid #a08770;
}

.site-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-btn img {
  width: 50px;
  margin-right: 10px;
}

.site-title {
  z-index: 100;
  background: #fff9ee;
  height: 290px;
  padding: 30px;
  border-radius: 30px;
  position: relative;
}

.site-title img {
  width: 200px;
}

.site-title::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 30px;
  height: 30px;
  background: #fff9ee;
  top: 0;
  right: 0;
}

.site-title::after {
  content: "";
  position: absolute;
  display: inline-block;
  width: 30px;
  height: 30px;
  background: #fff9ee;
  bottom: 0;
  left: 0;
}

.hero-wrapper {
  width: 100%;
  margin: 0 0 0 auto;
  padding: 0 0 0 50px;
  position: relative;
}

.hero-wrapper::before {
  background-image: url("../img/kadomaru.svg");
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  top: 0px;
  left: 0;
  position: absolute;
}

.slider {
  position: relative;
  inset: 0px;
  height: 600px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0px;
  opacity: 0;
  transition: opacity 0.8s;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.slide.active {
  opacity: 1;
}

.site-img {
  margin-right: 50px;
  margin-bottom: 50px;
}

.site-text {
  position: absolute;
  bottom: 0;
  left: -1px;
  width: 800px;
  display: inline-block;
  z-index: 100;
  max-width: 100%;
}

.site-text img {
  height: clamp(200px, 24vw, 456px);
}

/*================
=================*/
@media (max-width: 899px) {
  .site-title {
    height: 100px;
    width: 140px;
    padding: 0;
  }

  .site-title img {
    width: 80px;
    position: relative;
    z-index: 9999;
    margin-left: 30px;
  }

  .site-title h1 {
    font-size: 1rem;
    position: relative;
    z-index: 9999;
    margin-left: 20px;
  }

  .hero-container::before {
    left: 200px;
  }

  .hero-container::after {
    top: 100px;
  }

  .slider {
    height: 500px;
  }

  .hero-wrapper {
    padding: 0;
  }

  .site-text {
    width: 100%;
  }

  .hero-container {
    display: block;
  }

  .hero-wrapper::before {
    top: -101px;
    left: 140px;
  }

  .site-title::before {
    left: 110px;
  }

  .site-btn {
    width: 50px;
    padding: 10px;
    position: fixed;
    writing-mode: vertical-rl;
    z-index: 9998;
    top: 5%;
    right: 0;
    margin: 0;
    border-radius: 30px 0 0 30px
  }

  .site-btn img {
    margin: 0;
    width: clamp(30px, 5.562vw, 50px);
  }

  .site-img {
    /* margin: 50px; */
    margin: 0;
    padding: 50px;
  }
}

/*================
=================*/
@media (max-width: 599px) {

  .site-img {
    margin-right: 0;
    margin-bottom: 0;
    padding: 20px
  }

  .hero-wrapper::before {
    top: -100px;
    left: 140px;
  }
}

/*------------------------
nagare
----------------------------*/
.nagare-container {
  padding-top: 50px;
  padding-inline: clamp(10px, 1.669vw, 50px);
}

.nagare-title img {
  width: clamp(60px, 5.319vw, 100px);
}

.nagare-title h2 {
  font-size: clamp(2rem, 2.128vw, 4rem);
}

.nagare-title {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: center;
}

.nagare-inner {
  position: relative;
  margin-block: 50px;
  z-index: 0;
  margin-inline: clamp(20px, 3.319vw, 100px);
}

.nagare-inner::before {
  position: absolute;
  content: "";
  display: inline-block;
  width: 100%;
  height: 100%;
  border-left: 2px dashed #333;
  top: 0;
  left: 0;
  z-index: -1;
}

.nagare-inner__item {
  margin-block: 0;
  margin-left: clamp(50px, 5.562vw, 100px);
}

.nagare-inner__img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

.nagare-inner__title img {
  width: clamp(70px, 10.383vw, 120px);
}

.nagare-inner__title h2 {
  font-size: clamp(1.8rem, 2.861vw, 3rem);
}

.nagare-inner__title {
  display: flex;
  gap: clamp(10px, 2.004vw, 30px);
  margin-bottom: 20px;
  align-items: center;
}

.nagare-inner__item p {
  font-size: clamp(1.8rem, 2.575vw, 2rem);
  margin-inline: auto;
  margin-block: 30px;
  text-align: center;
}

.nagare-inner__wrapper {
  display: flex;
  justify-content: center;
}

.nagare-inner__svg {
  position: relative;
  padding-block: clamp(20px, 2.66vw, 50px);
  display: inline-flex;
  align-items: center;
  margin-inline: auto;
}

.nagare-inner__svg h3 {
  font-size: clamp(1.8rem, 1.33vw, 2.5rem);
  text-align: center;
}

.nagare-inner__svg::before {
  position: absolute;
  content: "";
  background-image: url(../img/nagaretext.svg);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

.nagare-inner__svg span {
  margin-right: 20px;
}

/*================
=================*/
@media (max-width: 499px) {
  .nagare-inner::before {
    display: none;
  }

  .nagare-inner__item {
    margin-left: 0;
  }

  .nagare-inner__title span {
    display: none;
  }
}

/*------------------------
two
----------------------------*/
.two img {
  object-position: bottom;
}



/*------------------------
footer
----------------------------*/
.footer-container {
  background: #ffb469;
  margin-top: 50px;
  padding-top: 100px;
  padding-inline: clamp(20px, 3.33vw, 100px);
}

.footer-inner {
  background: #fff9ee;
  border-radius: 50px;
  display: flex;
  padding-block: 50px;
  gap: 50px;
  padding-inline: 20px;
}

.footer-left img {
  width: clamp(100px, 10vw, 200px);
}

.footer-left h1 {
  font-size: clamp(1.4rem, 1vw, 2.2rem);
}

.footer-left {
  text-align: center;
  width: 30%;
}

.tel {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
}

.tel h2 {
  font-size: clamp(2rem, 2vw, 4rem);
  color: #3fac69;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70%;
}

.footer-text h2 {
  font-size: clamp(2.1rem, 3.6vw, 4rem);
}

.footer-nav h3 {
  font-size: clamp(1.8rem, 3vw, 2rem);
}

.footer-nav {
  padding-top: 70px;
}

.footer-nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.footer-nav li {
  position: relative;
  padding-inline: 30px;
  cursor: pointer;
  display: flex;
  transition: 0.4s ease;
  margin-bottom: 20px;
}

.footer-nav span {
  width: 5px;
  height: 5px;
  background: #3fac69;
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  border-radius: 50%;
}

.footer-nav li::before {
  position: absolute;
  content: "";
  display: inline-block;
  width: 5px;
  height: 50%;
  top: 0;
  left: 0;
  background: #3fac69;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s ease;
  border-radius: 2.5px 2.5px 0 0;
}

.footer-nav li:hover::before {
  transform: scaleY(1);
}

.footer-nav li::after {
  position: absolute;
  content: "";
  display: inline-block;
  width: 5px;
  height: 50%;
  bottom: 0;
  left: 0;
  background: #3fac69;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
  border-radius: 0 0 2.5px 2.5px;
}

.footer-nav li:hover::after {
  transform: scaleY(1);
}

.footer-nav li:hover {
  letter-spacing: 0.3rem;
}

.copy h1 {
  font-size: clamp(2rem, 3.333vw, 3rem);
  margin-bottom: 20px;
}

.copy p {
  font-size: 1.3rem;
}

.copy {
  text-align: center;
  padding-block: 30px;
  background: #ffb469;
}

/*================
=================*/
@media (max-width: 899px) {
  .footer-inner {
    flex-direction: column;
  }

  .footer-left {
    width: 100%;
  }

  .footer-right {
    width: 100%;
  }

  .footer-nav {
    padding-inline: 20px;
  }
}

/*================
=================*/
@media (max-width: 699px) {
  .footer-nav ul {
    flex-direction: column;
  }
}