@charset "UTF-8";

/* =========================
  Base
========================= */

:root {
  --color-text: #5f5a57;
  --color-heading: #4a4542;
  --color-muted: #9a9592;

  --color-base: #faf8f6;
  --color-white: #ffffff;
  --color-soft: #f5f2ef;
  --color-border: #e7e1dc;

  --color-lavender: #c8bfd6;
  --color-lavender-light: #d6cfe3;
  --color-lavender-text: #b7a9c9;

  --font-heading: "Zen Maru Gothic", sans-serif;
  --font-body: "Zen Kaku Gothic New", sans-serif;
  --font-en: "Cormorant", serif;

  --container: 1080px;
  --container-narrow: 760px;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;

  --shadow-soft: 0 10px 28px rgba(94, 82, 74, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-base);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

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

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

button {
  font: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 48px), var(--container-narrow));
}

.wide {
    width: 90%;
    max-width: 1160px;
}

.center {
  text-align: center;
}

.sp-only {
  display: none;
}

/* =========================
  Header
========================= */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding: 20px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.logo-img {
  width: 180px;
  height: auto;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--color-heading);
  font-size: 14px;
  letter-spacing: 0.08em;
}
.header-nav a {
  transition: opacity 0.2s ease;
}
.header-nav a:hover {
  opacity: 0.65;
}
.header-menu {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
}
.header-menu__icon {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 20px;
}
.header-menu__icon > span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.header-menu__text {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .header-menu {
    display: flex;
  }
  .header-nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: var(--color-base);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.35s ease,
      visibility 0.35s ease;
  }
  .header-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .header-nav a {
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    transform: translateY(10px);
    opacity: 0;
    transition: .3s;
  }
  .header-nav.is-open a {
    transform: translateY(0);
    opacity: 1;
}
  .header-menu {
    position: relative;
    z-index: 100;
  }
}
.header-menu.is-open .header-menu__icon > span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.header-menu.is-open .header-menu__icon > span:nth-child(2) {
  opacity: 0;
}
.header-menu.is-open .header-menu__icon > span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
body.is-menu-open {
  overflow: hidden;
}

/* =========================
  Common Sections
========================= */

.section {
  padding: 104px 0;
}

.section-soft {
  background: var(--color-soft);
}

.section-title {
  margin: 0 0 36px;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.75;
  text-align: center;
  letter-spacing: 0.08em;
}

.section-text {
  margin: 0;
  line-height: 2;
}

.section-text.center {
  text-align: center;
}

.section-text.small {
  margin-top: 28px;
  font-size: 14px;
  color: var(--color-muted);
}

.section-lead {
  margin: 40px 0 0;
  color: var(--color-heading);
  /* font-weight: 500; */
  text-align: center;
  line-height: 2;
}

/* =====================
Page Hero
===================== */

.page-hero{
  padding: 160px 0 90px;
  background:#F5F2EF;
}
.page-hero__sub{
  margin-bottom:12px;
  color:var(--color-lavender-text);
  font-family:var(--font-en);
  font-size:14px;
  letter-spacing:.2em;
  text-transform:uppercase;
}
.page-hero__title{
    /* font-family: var(--font-heading); */
  font-size:36px;
  font-weight: 500;
}

/* =========================
  Buttons
========================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 54px;
  padding: 16px 120px;
    border-radius: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
    font-family: 'Zen Maru Gothic', var(--font-heading);
    font-size: 20px;
}

.button:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.button-primary {
  color: var(--color-white);
  background: var(--color-lavender);
  box-shadow: 0 10px 18px rgba(161, 148, 178, 0.18);
}

.button-light {
  background: var(--color-lavender-light);
  box-shadow: 0 8px 14px rgba(161, 148, 178, 0.12);
}

.button-outline {
  color: var(--color-heading);
  border: 1px solid var(--color-text);
  font-size: 16px;
  padding: 16px 64px;
}

.text-link {
  display: block;
  margin-top: 18px;
  color: var(--color-muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.section-cta {
  margin-top: 48px;
  text-align: center;
}

/* ----------------------------------------
   Scroll Animation
---------------------------------------- */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-delay-1 {
  transition-delay: 0.1s;
}
.fade-delay-2 {
  transition-delay: 0.2s;
}
.fade-delay-3 {
  transition-delay: 0.3s;
}
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/*------------------------------------
  Page Top
------------------------------------*/

.page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(183, 167, 200, 0.92);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity .3s ease,
    transform .3s ease,
    visibility .3s ease;
  padding-top: 6px;
}

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  background: rgba(183, 167, 200, 0.92);
}

/* .page-top:hover {
  background: var(--color-main);
} */

@media (max-width: 767px) {
  .page-top {
    width: 46px;
    height: 46px;
    right: 16px;
    bottom: 16px;
  }
}
@media (hover: hover) and (pointer: fine) {
  .page-top:hover {
    background: var(--color-main);
  }
}


/* =========================
  Footer
========================= */

.site-footer {
  padding: 72px 0 38px;
  background: var(--color-soft);
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  align-items: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 26px;
  /* margin-top: 34px; */
  color: var(--color-muted);
  font-size: 14px;
}

.footer-line-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  margin-top: 24px;
  padding: 11px 28px;
  border-radius: 999px;
  color: #f8f7f5;
  background: #c7bfb8;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: opacity 0.2s ease;
}

.footer-line-button:hover {
  opacity: 0.85;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 40px;
  color: var(--color-muted);
  font-size: 12px;
}

.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* =========================
  Responsive
========================= */

@media (max-width: 900px) {
  .site-header {
    padding: 8px 0;
    position: fixed;
    background: var(--color-base);
    border: 1px solid var(--color-border);
  }
  /* .header-nav {
    display: none;
  } */
  /* .header-menu {
    display: block;
    margin-bottom: 8px;
  } */
  .header-inner {
    padding-right: 3%;
  }
  .button {
    padding: 16px 64px;
    font-size: 16px;
  }
  .section-title {
    font-size: 20px;
  }
}

@media (max-width: 640px) {

    .sp-only {
        display: inline;
    }
  body {
    font-size: 15px;
    line-height: 1.85;
  }
  .container,
  .narrow {
    width: min(calc(100% - 32px), var(--container));
  }
  .logo-img {
    width: 150px;
  }
  .header-inner {
    padding-right: 0%;
    margin-left: 1%;
  }
  .section {
    padding: 72px 0;
  }
  .section-title {
    margin-bottom: 28px;
    font-size: 20px;
  }
  .button {
    width: 90%;
    min-width: 0;
  }
  .page-hero__title {
    font-size: 28px;
  }
  .footer-nav {
    gap: 12px 20px;
    width: 75%;
  }
  .footer-line-button {
    width: min(260px, 100%);
  }
}