/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: var(--font-main);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--txt-111);
  background-color: #fff;
  word-break: keep-all;
}

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

ul, ol { list-style: none; }
a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

p {
  font-size: 1.6rem;
  line-height: 1.7;
}

strong {
  font-weight: 600;
}


/* ===== Layout ===== */
.wrap {
  width: 100%;
}

.inner {
  margin: 0 auto;
  position: relative;
}

.section {
  padding: 12rem 0; /* 120px */
}

.clearfix::after {
  content: '';
  display: block;
  clear: both;
}


/* ===== Flex Utilities ===== */
.flex {
  display: flex;
  flex-wrap:wrap;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.3rem 3.2rem;
  font-size: 1.6rem;
  border-radius: var(--all-radius);
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--main-blue);
  color: var(--txt-fff);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  border: 0.1rem solid var(--line-ddd);
  color: var(--txt-111);
}

.btn-outline:hover {
  border-color: var(--main-blue);
  color: var(--main-blue);
}


/* ===== Form ===== */
.input,
select,
textarea {
  width: 100%;
  padding: 1.2rem 1.4rem;
  border: 0.1rem solid var(--line-ddd);
  border-radius: var(--all-radius);
  background-color: var(--search-bg);
}

.input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--main-blue);
  background-color: #fff;
}

textarea {
  resize: vertical;
}

.tab {
  display: flex;
  background-color: var(--tab-bg);
  border-radius: var(--all-radius);
  overflow: hidden;
}

.tab a {
  flex: 1;
  padding: 1.6rem;
  text-align: center;
  color: var(--txt-fff);
}

.tab a.active {
  background-color: var(--tab-on);
}


/* ===== Text ===== */
.txt-center { text-align: center; }
.txt-left   { text-align: left; }
.txt-right  { text-align: right; }

.color-blue { color: var(--main-blue); }
.color-gray { color: var(--txt-666); }

/* ===== Spacing ===== */
.mt-10 { margin-top: 1rem; }
.mt-20 { margin-top: 2rem; }
.mt-40 { margin-top: 4rem; }

.mb-10 { margin-bottom: 1rem; }
.mb-20 { margin-bottom: 2rem; }
.mb-40 { margin-bottom: 4rem; }


/* ===== Effects ===== */
.hover-opacity:hover {
  opacity: 0.7;
}

.transition {
  transition: all 0.3s ease;
}


@media (max-width: 102.4rem) { /* 1024px */
  html { font-size: 56.25%; } /* 1rem = 9px */
}