@charset "UTF-8";

/* ============================================================
  FILE: common.css
  DESCRIPTION: 全ページ共通のベーススタイル
============================================================ */

/* ==========================================================================
  1. 基本・共通設定
========================================================================== */
html,
body {
  overflow-x: hidden;
  width: 100%;
}

html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  font-family: 'Noto Serif JP', serif;
  line-height: 1.8;
  letter-spacing: 0.05em;
  margin: 0;
  color: #333;
  -webkit-font-smoothing: antialiased;
}

.inner {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
}

a {
  text-decoration: none;
}

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

li {
  list-style: none;
}

/* 表示切り替え用 */
.pc_none {
  display: none;
}

@media (max-width: 768px) {
  .inner {
    padding: 0 20px;
  }
  .pc_none {
    display: inline;
  }
  .sp_none {
    display: none;
  }
}

/* ==========================================================================
  2. ヘッダー (Header)
========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: transparent;
  transition: background-color 0.4s ease, height 0.4s ease;
}

.header_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
  height: 100px;
  transition: height 0.4s ease;
}

.header_logo img {
  width: 160px;
  height: auto;
  transition: width 0.4s ease;
}

@media (max-width: 768px) {
  .header_wrapper {
    padding: 0 20px;
    height: 60px !important;
  }
  .header_logo img {
    width: 110px;
  }
  .is-open .header_wrapper {
    height: 60px;
  }
}

/* ==========================================================================
  3. ハンバーガーボタン (Menu Button)
========================================================================== */
.menu_button {
  position: relative;
  z-index: 2100;
  width: 30px;
  height: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu_line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
  transition: all 0.4s ease;
}

.menu_line:first-child {
  top: 0;
}

.menu_line:last-child {
  bottom: 0;
}

.site-header.is-show .menu_line {
  background-color: #000;
}

.is-open .menu_line {
  background-color: #333;
}

.is-open .menu_line:first-child {
  transform: translateY(6px) rotate(45deg);
}

.is-open .menu_line:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

/* ==========================================================================
  4. ドロワーメニュー (Drawer Menu)
========================================================================== */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.is-open .menu-overlay {
  opacity: 1;
  visibility: visible;
}

.drawer-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 420px;
  height: 100vh;
  height: 100dvh;
  background: #fff;
  z-index: 1600;
  padding: 100px 40px 60px;
  transition: all 0.5s ease;
  color: #333;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.is-open .drawer-menu {
  right: 0;
}

.drawer-inner a {
  color: #333;
  display: block;
}

.nav-label {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin-bottom: 15px;
}

.main-nav,
.sub-links {
  margin-bottom: 40px;
  padding: 0;
}

.main-nav > li {
  margin-bottom: 35px;
}

.nav-label,
.main-nav > li > a {
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.sub-nav {
  margin-top: 15px;
  padding-left: 1.0em;
  border-left: 1px solid #eee;
}

.sub-nav li {
  margin-bottom: 20px;
  font-size: 0.85rem;
  opacity: 0.8;
}

.online-shop {
  margin-top: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  border-bottom: 1px solid #333;
  display: inline-block !important;
  padding-bottom: 5px;
}

.sub-links {
  margin-top: 60px;
}

.sub-links li {
  margin-bottom: 18px;
  font-size: 0.85rem;
  color: #888;
}

.drawer-sns {
  display: flex;
  gap: 20px;
  margin-top: 60px;
}

.drawer-sns img {
  width: 20px;
  filter: brightness(0);
}

@media (max-width: 768px) {
  .drawer-menu {
    width: 65%;
    display: block;
    padding: 60px 30px;
  }
  .nav-label,
  .main-nav > li > a {
    font-size: 1.0rem !important;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
  }
  .main-nav > li {
    margin-bottom: 25px;
  }
  .sub-nav {
    margin-top: 8px;
    padding-left: 1.0em;
  }
  .sub-nav li {
    margin-bottom: 12px;
    font-size: 0.85rem !important;
    letter-spacing: 0.05em;
  }
  .online-shop {
    margin-top: 30px !important;
    font-size: 1.0rem !important;
  }
  .sub-links {
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .sub-links li {
    margin-bottom: 12px;
    font-size: 0.75rem !important;
    color: #999;
  }
  .drawer-sns {
    margin-top: 40px;
    gap: 25px;
  }
}

/* ==========================================================================
  5. アニメーション設定 (Animations)
========================================================================== */
.reveal-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-text.is-active {
  opacity: 1;
  transform: translate(0, 0) !important;
}

/* ==========================================================================
  6. フッター (Footer)
========================================================================== */
.site-footer {
  background-color: #fff;
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.footer-links li a {
  font-size: 0.8rem;
  color: #666;
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
}

.footer-sns {
  display: flex;
  gap: 20px;
  align-items: baseline;
}

.footer-sns img {
  width: 18px;
  filter: brightness(0);
  opacity: 0.5;
  vertical-align: middle;
}

.footer-bottom-group {
  display: flex;
  align-items: baseline;
  gap: 40px;
}

.copyright {
  font-size: 0.7rem;
  color: #999;
  margin: 0;
  line-height: 1;
  font-family: 'Helvetica', sans-serif;
  white-space: nowrap;
}

@media (max-width: 950px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
  .footer-bottom-group {
    justify-content: space-between;
    width: 100%;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 60px 0 50px;
  }
  .copyright {
    font-size: 0.65rem;
  }
  .back-to-top img {
    width: 18px;
  }
}