@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Noto+Sans+JP:wght@400;500&family=Shippori+Mincho:wght@400;500&display=swap');

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  /* Colors */
  --color-bg: #F1FFF1;
  --color-accent: #9FD2B6;
  --color-green: #416A54;
  --color-white: #ffffff;
  --color-text: #416A54;
  --color-text-dark: #333333;

  /* Layout */
  --padding-sp: 2rem;
  --padding-pc: clamp(6rem, 6vw, 12rem);
  --header-height-sp: 6rem;
  --header-height-pc: 7rem;

  /* Font */
  /* --font-en: 'Cormorant Garamond', serif; */
  --font-en: "Avenir Next",Avenir,Lato,Arial,Ebrima,Modern,sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-mincho: 'Shippori Mincho', serif;

  /* Sidebar */
  --sidebar-width: 150px;
  --sidenav-width: 28rem;
  --content-padding-left: calc(var(--padding-pc) + var(--sidenav-width));

  /* Section */
  --section-gap: 8rem;

  /* Transition */
  --transition: 0.3s ease;
}

@media (min-width: 768px) {
  :root {
  /* Sidebar */
  --sidebar-width: 300px;

  }
}

/* ============================================================
  Global
  ============================================================ */
.anchor_init {
  text-decoration: underline;
  display: inline;
  color: #551a8b;
  transition: var(--transition);
}
.anchor_init:hover {
  opacity: 0.7;
}
.pc_only {
  display: none;
}
@media (min-width: 768px) {
  .sp_only {
    display: none;
  }
  .pc_only {
    display: inherit;
  }
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-jp);
  font-size: 1.4rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--color-text-dark);
  background-color: var(--color-bg);
  background-image: url('../images/bg-texture.png');
  background-repeat: repeat;
  background-size: auto;
  overflow-x: hidden;
}

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

/* スクリーンリーダー専用 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--color-white);
  /* background-image: url('../images/bg-texture.png'); */
  background-repeat: repeat;
  border-bottom: 1px solid rgba(65, 106, 84, 0.15);
  font-weight: 700;
  font-weight: 400;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height-sp);
  padding: 0 var(--padding-sp);
}

.header__logo {
  display: block;
  width: 60px;
  z-index: 100;
}

.header__logo img {
  width: 100%;
  height: auto;
}

/* SP hamburger */
.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 100;
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color-text-dark);
  transition: var(--transition);
}

.header__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* SP nav */
.header__nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-height-sp) + 3rem) calc(20px + var(--padding-sp)) 3rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* ロゴ・バツマークの下の罫線（下部の罫線と左右位置を揃える） */
.header__nav::before {
  content: '';
  position: absolute;
  top: var(--header-height-sp);
  left: var(--padding-sp);
  right: var(--padding-sp);
  height: 1px;
  background-color: rgba(65, 106, 84, 0.2);
}

.header__nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.header__nav-item a {
  font-family: var(--font-en);
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* スマホメニュー最下部：コピーライト（左）／Instagram（右）＋上に罫線 */
.header__nav-footer {
  margin-top: auto;
  margin-left: calc(-1 * var(--padding-sp));
  margin-right: calc(-1 * var(--padding-sp));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  border-top: 1px solid rgba(65, 106, 84, 0.2);
  padding: 2rem 0 0;
}

.header__nav-copy {
  font-family: var(--font-en);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--color-text-dark);
}

.header__nav-ig {
  display: block;
  width: 2.6rem;
  height: 2.6rem;
  color: var(--color-text-dark);
}

.header__nav-ig svg {
  width: 100%;
  height: 100%;
}

/* PC nav */
@media (min-width: 768px) {
  .header__inner {
    height: var(--header-height-pc);
    padding: 0 var(--padding-pc);
  }

  .header__logo {
    width: 70px;
  }

  .header__hamburger {
    display: none;
  }

  .header__nav {
    display: block;
    opacity: 1;
    visibility: visible;
    position: static;
    width: auto;
    height: auto;
    background: none;
    padding: 0;
  }

  .header__nav-footer {
    display: none;
  }

  .header__nav::before {
    display: none;
  }

  .header__nav-list {
    flex-direction: row;
    gap: 4rem;
  }

  .header__nav-item a {
    font-size: 1.4rem;
    /* font-weight: 400; */
    letter-spacing: 0.15em;
    position: relative;
  }

  .header__nav-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-green);
    transition: width var(--transition);
  }

  @media (hover: hover) {
    .header__nav-item a:hover::after {
      width: 100%;
    }
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* ============================================================
   Follow Us（右側固定）
   ============================================================ */
/* main 緑帯 */
main {
  position: relative;
}

.main-sidebar {
  /* display: none; */
  display: block;
  position: absolute;
  right: 0;
  top: 480px;
  bottom: 0;
  width: var(--sidebar-width);
  background-image: url('../images/sidebar-bg.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

@media (min-width: 768px) {
  .main-sidebar {
    top: 950px;
    /* background-image: url('../images/sidebar-bg.png'); */
  }


}

/* ============================================================
   Follow Us（右側固定）
   ============================================================ */
.follow-us {
  position: fixed;
  right: 0;
  top: 23%;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 1.6rem 1rem;
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.follow-us__label {
  display: block;
  writing-mode: vertical-rl;
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: inherit;
  transition: var(--transition);
}

.follow-us__dot {
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 2px 0 2px;
  border-color: var(--color-text-dark) transparent transparent transparent;
}

.follow-us__icon {
  display: block;
  width: 1.8rem;
  height: 1.8rem;
  color: var(--color-text-dark);
  transition: var(--transition);
}

.follow-us__icon svg {
  width: 100%;
  height: 100%;
}

@media (min-width: 768px) {
  .follow-us {
    top: 10%;
    padding: 2rem 2.4rem;
  }

  .follow-us__label {
    font-size: 1.2rem;
  }

  @media (hover: hover) {
    .follow-us:hover {
      opacity: 0.6;
    }
  }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background-color: var(--color-white);
  /* background-image: url('../images/bg-texture.png'); */
  background-repeat: repeat;
  border-top: 1px solid rgba(65, 106, 84, 0.15);
  padding: 4rem var(--padding-sp) 3rem;
}

.footer__inner {
  display: flex;
  gap: 2rem;
  flex-direction: column;
}

.footer__left {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  flex-direction: column;
}

.footer__logo {
  width: 7rem;
  flex-shrink: 0;
}

.footer__logo img {
  width: 100%;
}

.footer__info {
  display: flex;
  flex-direction: column;
  /* gap: 0.4rem; */
}

.footer__name {
  font-family: var(--font-en);
  font-size: 1.2rem;
  /* font-weight: 400; */
  letter-spacing: 0.1em;
  /* color: var(--color-green); */
}

.footer__address {
  font-family: var(--font-mincho);
  font-size: 1rem;
  /* font-weight: 400; */
  /* color: var(--color-green); */
  line-height: 1.6;
}

.footer__copy {
  font-family: var(--font-en);
  font-size: 1.2rem;
  /* font-weight: 400; */
  /* color: var(--color-green); */
  /* opacity: 0.7; */
}

@media (min-width: 768px) {
  .footer {
    padding: 5rem var(--padding-pc) 4rem;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer__left {
    flex-direction: row;
    align-items: center;
  }


  .footer__logo {
    width: 8rem;
  }

  .footer__copy {
    align-self: flex-end;
  }
}
