@charset "UTF-8";

/* ここからリセットcss */

/* 　*印を入れると全要素に適用されるため超重要　 */
*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  /* 余白リセット
サイズ計算をわかりやすく。border-boxだとwidth = padding + border込み
レイアウト崩れにくくなる */
}


ul,
ol {
  list-style: none;
  /* デザインで自分で作るから消す */
}


a {
  color: inherit;
  /* 親のstyleを継承 */
  text-decoration: none;
  /* 下線を消す。デザインに合わせて自由にしたいため */
}


/* ここまで、リセットcss */
.header-site-menu {
  display: none;
}

:root {
  --space-side: 2.5rem;
  --space-section: 10rem;
  --content-width: 1200px;

  --color-text: #333333;
  --color-subtext: #777777;
  --color-bg: #E5DBC7;
  --color-bg2: #f2efe5;

}

/* Font */
body {
  font-family: 'Shippori Mincho', serif;
}

.font-en {
  font-family: 'Montserrat', sans-serif;
}

.font-ja {
  font-family: 'Shippori Mincho', serif;
}

.section-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 5rem;
}

img {
  max-width: 100%;
  display: block;
}


/* ========================================
   ナビゲーション
======================================== */
#hamburger {
  width: 55px;
  height: 28px;
  /* ← ここを広げる */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: fixed;
  top: 2rem;
  right: 80px;
  z-index: 99999;
}


#hamburger span {
  display: block;
  height: 3px;
  background: #E5DBC7;
  transition: .4s ease;
}

/* スクロールしたら色変え */
#hamburger.scrolled span {
  background: #555;
}

/* 開いたときの変形 */
#hamburger.open span:nth-child(1) {
  transform: translateY(13px) rotate(45deg);
}

#hamburger.open span:nth-child(2) {
  transform: translateY(-13px) rotate(-45deg);
}

#hamburger {
  opacity: 1;
}



/* ===========================
   メニューパネル（右から出る）
=========================== */
#menu-panel {
  width: 50%;

  pointer-events: auto;


  background: rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  position: fixed;
  top: 0;
  right: 0;

  height: 100vh;

  padding: 3rem 2.5rem;

  transform: translateX(100%);
  transition: transform 0.45s ease;

  z-index: 7000;

  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#menu-panel.open {
  transform: translateX(0);
  /* ← 開いたとき */
}

#menu-panel h2 {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.3em;
  color: #444;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  margin-left: 10rem;
  color: #e5dbc7;
}


.menu-items {

  gap: 5rem;
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  margin-left: 16rem;
}


.menu-items li a {
  font-size: 1.3rem;
}

.menu-items li img {
  width: 36px;
  height: auto;
  opacity: 0.9;
  filter: brightness(1.8);
}


.menu-items li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #e5dbc7;
}

/* スクロールしたら色変え */


#nav.scrolled~#menu-panel h2,
#nav.scrolled~#menu-panel .menu-items li {
  color: #444;
}

/* ========================================
   ナビゲーション
======================================== */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2.5rem;
  opacity: 0;
  transition: opacity 1.5s ease;
}

#nav-logo {
  height: 120px;
  width: auto;
  display: block;
  transition:
    opacity 0.5s ease;
}

#nav.scrolled #nav-logo {
  opacity: 0;

  pointer-events: none;


}

.detail-page #nav-logo {
  display: none;
}

.menu-items li a {
  display: flex;

  align-items: center;

  gap: 12px;
}

#footer {
  padding: 8rem 2rem 4rem;
  background: #d2daa5;
  text-align: center;
}


.footer-brand {
  position: relative;
  text-align: center;
}

.footer-tree {
  width: 230px;
  margin: 0 auto 2rem;
  opacity: 0.9;
  transition:
    transform .4s ease,
    opacity .4s ease;
}

.footer-sheep-left {
  position: absolute;
  width: 180px;
  left: 50%;
  top: 50%;
  transform: translate(-260px, -50%);
  opacity: .85;
}

.footer-sheep-right {
  position: absolute;
  width: 240px;
  left: 50%;
  top: 50%;
  transform: translate(60px, -50%);
  opacity: .85;
}

.footer-logo {
  margin-top: -20px;
  font-family: 'Candara', 'Calibri', sans-serif;
  font-size: 3rem;
  letter-spacing: .03em;
  color: #444;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 7rem;
  margin-bottom: 3rem;
  font-family: 'Montserrat', sans-serif;
  color: #444;
}

.footer-nav a {
  font-size: 1.3rem;

}

.copyright {
  font-size: .85rem;
  color: #9a9487;
  font-family: 'Montserrat', sans-serif;
}

.copyright-note {
  margin-top: 1rem;
  font-size: .65rem;
  color: rgba(98, 94, 94, 0.35);
  line-height: 1.8;
  font-family: 'Montserrat', sans-serif;
}

.footer-home {
  display: inline-block;
}



.footer-home:hover .footer-tree {
  transform: translateY(-5px);
  opacity: 1;
}

/* ========================================
   SP
======================================== */
@media screen and (max-width: 768px) {

  :root {
    --space-side: 1.5rem;
  }

  #nav {
    padding: 1.2rem var(--space-side);
  }

  #nav-logo {
    height: 50px;
  }

  #hamburger {
    width: 44px;
    height: 24px;
    right: 20px;
  }

  #menu-panel {
    width: 100%;
    padding: 5rem 2rem;
  }

  .menu-items {
    margin-left: 0;
  }

  #menu-panel h2 {
    margin-left: 0;
  }

  .footer-tree {
    width: 120px;
  }

  .footer-nav {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .footer-nav a {
    font-size: 0.9rem;
  }

  .footer-sheep-left {
    width: 70px;
    transform: translate(-110px, -40%);
  }

  .footer-sheep-right {
    width: 90px;
    transform: translate(20px, -40%);
  }
}