:root {
  --color-text: #383435;
  --color-heading: #2f2a2b;
  --color-pink: #ee9daa;
  --color-pink-dark: #e28597;
  --color-blue: #89a9c7;
  --color-line: #ddd6d6;
  --color-bg: #f2f2f2;
  --color-bg-soft: #ededed;
  --color-bg-lavender: #F2F5FF;
  --color-white: #ffffff;
  --shadow-soft: 0 16px 40px rgba(82, 69, 69, 0.08);
  --radius-large: 32px;
  --radius-medium: 24px;
  --radius-small: 16px;
  --container: 1100px;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-width: 320px;
  color: var(--color-text);
  /* background: var(--color-bg); */
  overflow-x: hidden;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "YuGothic", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Kiwi Maru", "Noto Sans JP", sans-serif;
  font-weight: 400;
}

img {
  width: 100%;
}

.l-container {
  width: min(100%, calc(var(--container) + 40px));
  margin: 0 auto;
  padding: 0 20px;
}

.l-header {
  position: absolute;
  top: 16px;
  left: 0;
  z-index: 30;
  width: 100%;
}

.l-header__shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 14px 28px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.l-header__brand {
  display: block;
  width: min(100%, 480px);
  min-width: 0;
}

.l-header__brand-picture {
  display: block;
}

.l-header__brand-mark {
  width: 100%;
}

.l-header__brand-text {
  color: var(--color-heading);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.l-main {
  overflow: hidden;
}

.l-footer {
  position: relative;
  margin-top: 80px;
  overflow: visible;
  padding: 96px 0 72px;
  background: var(--color-bg-lavender);
}

.l-footer__wave {
  position: absolute;
  top: -48px;
  left: 50%;
  width: calc(100% + 320px);
  min-width: calc(100% + 320px);
  max-width: none;
  height: 72px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--color-bg-lavender);
  transform: translateX(-50%);
  z-index: 0;
}

.l-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.l-footer__logo {
  width: 300px;
  margin-bottom: 18px;
}

.l-footer__title {
  margin-bottom: 18px;
  color: var(--color-heading);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
}

.l-footer__address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.9;
}

.l-footer__copy {
  margin-top: 18px;
  font-size: 11px;
  line-height: 1.6;
}

@media (max-width: 1199px) {
  .l-header__brand {
    width: min(100%, 320px);
  }

  .l-header__shell {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .l-footer__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 14px;
    line-height: 1.8;
  }

  .l-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 150;
  }

  .l-container {
    padding: 0 12px;
  }

  .l-header__shell {
    grid-template-columns: auto auto;
    padding: 10px 12px 10px 14px;
    border-radius: 20px;
    gap: 12px;
    box-sizing: border-box;
  }

  .l-header__brand {
    width: min(100%, 176px);
  }

  .l-header__brand-mark {
    width: 100%;
  }

  .l-footer {
    margin-top: 56px;
    padding: 72px 0 92px;
  }

  .l-footer__wave {
    top: -28px;
    width: calc(100% + 120px);
    height: 42px;
  }

  .l-footer__inner {
    gap: 28px;
  }

  .l-footer__logo {
    width: 260px;
    margin-bottom: 14px;
  }

  .l-footer__address {
    font-size: 13px;
    line-height: 1.85;
  }

  .l-footer__copy {
    position: absolute;
    left: 12px;
    right: 68px;
    bottom: -6em;
    margin-top: 0;
    font-size: 10px;
    line-height: 1.7;
  }

  .l-footer__title {
    margin-bottom: 12px;
    font-size: 18px;
  }
}
