@charset "utf-8";
/*==================
common
==================*/
:root {
  --primary-brown: #4E342E;
  --primary-beige: #FFF9E1;
  --primary-green: #B4D373;
  --primary-red:#FF5252;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Inria Sans", "Noto Sans JP", sans-serif;
  font-style: normal;
  color: var(--primary-brown);
  background-color: var(--primary-beige);
  line-height: 1.7;
}

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

/* ==================
Header
================== */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 45px 80px;
  z-index: 100;
  box-sizing: border-box;
}

.header__deco {
  position: absolute;
  z-index: -5;
  top: -60px; 
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: none;
  height: auto;
  display: block;   
}

.header__nav {
  position: relative;
}

/* ロゴ：左 */
.header__logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* 中央メニュー：画面ど真ん中 */
.header__list {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  list-style: none;
  display: flex;
  gap: 40px;
  font-size: 3rem;
  margin: 0 auto;
  padding: 0;
}

/* CONTACT：右 */
.btn-contact {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);

  font-size: 3rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero__deco-contact{
  position: absolute;
  top: -70px;
  right: -100px;
  z-index: -1;
}

.header a {
  color: inherit;
  text-decoration: none;
}

.hamburger-morph, .nav-morph, .header__deco-sp, .hero__deco-contact-sp { 
  display: none; 
}

@media (max-width: 768px) {
  /* PC用メニューを隠す */
  .header__list, .btn-contact, .hero__deco-contact ,.header__deco { 
    display: none; 
  }

  .header {
    padding: 0;
  }

  .header__nav {
    padding: 24px;
    margin: 0 auto;
  }

  .hero__deco-contact-sp {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
  }

  .header__deco-sp {
    position: absolute;
    z-index: -5;
    top: 0; 
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: none;
    height: auto;
    display: block;   
  }

  .top__logo {
    width: 15%;
  }

  .hamburger-morph {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .hamburger-morph__icon {
    width: 100%;
    height: 100%;
  }

  .hamburger-morph__line {
    fill: none;
    stroke: var(--primary-brown);
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .hamburger-morph__line:nth-child(1) {
    stroke-dasharray: 60 207;
  }

  .hamburger-morph__line:nth-child(2) {
    stroke-dasharray: 60 60;
  }

  .hamburger-morph__line:nth-child(3) {
    stroke-dasharray: 60 207;
  }

  .hamburger-morph.active .hamburger-morph__line:nth-child(1) {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
  }

  .hamburger-morph.active .hamburger-morph__line:nth-child(2) {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
  }

  .hamburger-morph.active .hamburger-morph__line:nth-child(3) {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
  }

  .nav-morph {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 249, 225, 0.98);
    clip-path: circle(0% at calc(100% - 44px) 44px);
    transition: clip-path 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 900;
  }

  .nav-morph.active {
    clip-path: circle(150% at calc(100% - 44px) 44px);
  }

  .nav-morph__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  .nav-morph__list {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
  }

  .nav-morph__item .nav-morph__contact {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .nav-morph.active .nav-morph__item .nav-morph__contact {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-morph.active .nav-morph__item:nth-child(1) { transition-delay: 0.3s; }
  .nav-morph.active .nav-morph__item:nth-child(2) { transition-delay: 0.4s; }
  .nav-morph.active .nav-morph__item:nth-child(3) { transition-delay: 0.5s; }
  .nav-morph.active .nav-morph__contact { transition-delay: 0.6s; }

  .nav-morph__link {
    position: relative;
    display: inline-block;
    padding: 15px 0;
    font-size: 13.7px;
    text-decoration: none;
    overflow: hidden;
  }

  .nav-morph__text {
    display: block;
    transition: transform 0.3s ease;
  }

  .nav-morph__contact {
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    
    background-color: #FFD700; /* 黄色 */
    color: var(--primary-brown);
    text-decoration: none;
    
    border-radius: 50px;
    position: relative;  
    box-shadow: 0 5px 0 #ccae00; /* 下方向に少し濃い黄色の影を出す */
    transition: all 0.2s;
    margin: 30px auto;     
    padding: 5px 30px;
  }

  .btn_nav-contact {
    width: 10px;
    height: 10px;
    background-color: var(--primary-brown);
    border-radius: 50%;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    transform: translateY(1px);
  }

  .btn_nav-contact::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 2px 0 2px 4px; /* 少し小さめに調整 */
    border-color: transparent transparent transparent #FFD700;
  }
}

/* ==================
Footer
================== */
.footer {
  padding: 80px 42px;
}

.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; 
  align-items: flex-start;
}

/* ロゴ部分 */
.footer__logo {
  display: flex;
  white-space: nowrap;
  align-items: center;
  gap: 15px;
  font-size: 4.5rem;
  font-weight: bold;
  margin: 0;
}

.footer__logo img {
  width: 60px;
  height: auto;
}

.copy {
  margin-top: 70px;
  font-size: 2rem;
  text-align: center;
}

/* ナビゲーション部分 */
.footer__list {
  display: flex;
  gap: 45px;
  list-style: none;
}

.footer__list a {
  text-decoration: none;
  color: inherit;
  font-size: 2.7rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .footer {
    padding: 48px 18px;
  }

  .footer__logo {
    font-size: 1.4rem;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .footer__logo img {
    width: 25%;
  }

  .footer__list {
    gap: 14px;
  }
  
  .footer__list a {
    font-size: 1rem;
  }

  .footer__contact {
    display: none;
  }

  .copy {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 24px;
  }
}

.back_top {
  display: none;
}

@media screen and (max-width: 769px) {
  .back_top {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 85px;
    height: 85px;
    z-index: 1000;
  }

  .back_top img:nth-of-type(2) {
    opacity: 0;
  }

  .back_top.is-active img:nth-of-type(1) {
    opacity: 0;
  }

  .back_top.is-active img:nth-of-type(2) {
    opacity: 1;
  }
}

