/* ============================================================
   Base CSS — リセット・共通スタイル
   ATELIER REVE Custom Theme
============================================================ */

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

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  border: none;
  background: none;
  -webkit-appearance: none;
  appearance: none;
}

button {
  cursor: pointer;
}

/* Container
------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* sm */
@media (min-width: 640px) {
  .container {
    padding: 0 3.2rem;
  }
}

/* md */
@media (min-width: 768px) {
  .container {
    padding: 0 4rem;
  }
}

/* xl */
@media (min-width: 1280px) {
  .container {
    padding: 0 6rem;
  }
}

/* Section 共通
------------------------------------------------------------ */
.section {
  padding: 6rem 0;
}

/* lg */
@media (min-width: 1024px) {
  .section {
    padding: 10rem 0;
  }
}

.section__title {
  font-family: var(--font-heading-en);
  font-weight: 300;
  font-size: 3.2rem;
  letter-spacing: 0.1em;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

/* md */
@media (min-width: 768px) {
  .section__title {
    font-size: 4.8rem;
  }
}

.section__subtitle {
  font-family: var(--font-heading-ja);
  font-weight: 300;
  font-size: 1.2rem;
  color: var(--color-text-sub);
  letter-spacing: 0.15em;
  margin-bottom: 4rem;
}

/* Visually hidden（アクセシビリティ）
------------------------------------------------------------ */
.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;
}
