/* 00_base */
/* --- RESET --- */
*, *::before, ::after {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
  list-style: none;
  color: inherit;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

body {
  line-height: 1; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

/* --- SPEC --- */
html {
  font-size: 62.5%; }

/*! --- Libre Baskerville --- */
@font-face {
  font-family: 'libre_baskervillebold';
  src: url("librebaskerville-bold-webfont.woff2") format("woff2"), url("librebaskerville-bold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: 'libre_baskervilleitalic';
  src: url("librebaskerville-italic-webfont.woff2") format("woff2"), url("librebaskerville-italic-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: 'libre_baskervilleregular';
  src: url("librebaskerville-regular-webfont.woff2") format("woff2"), url("librebaskerville-regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal; }

.wrapper--grid {
  display: grid;
  grid-template-columns: repeat(12, [col-start] 1fr);
  grid-gap: 30px;
  grid-auto-rows: minmax(100px, auto);
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 40px; }

/* 01_system */
/* Regular Text */
.text-small {
  font-family: 'libre_baskervilleregular';
  font-size: 2.2rem;
  line-height: 4.2rem;
  color: #3A553F; }

/* Title Green */
.text-large-green {
  font-family: 'libre_baskervilleregular';
  font-size: 3.6rem;
  line-height: 5.4rem;
  color: #3A553F; }

/* Title Brown */
.text-large-brown {
  font-family: 'libre_baskervilleregular';
  font-size: 3.6rem;
  line-height: 5.4rem;
  color: #A1885E; }

/* ------------- Main Colors ------------- */
/* 02_atom */
.link-mail {
  position: relative; }

a::after {
  content: "";
  position: absolute;
  transform: scaleX(1);
  transform-origin: right;
  bottom: -2px;
  left: 2px;
  width: 100%;
  height: 1px;
  background-color: #3A553F;
  transition: all 250ms ease-in-out; }

a:hover::after {
  transform: scaleX(0);
  height: 1px; }

a::before {
  content: "";
  position: absolute;
  transform-origin: left;
  transform: scaleX(0);
  bottom: -2px;
  left: 2px;
  width: 0;
  height: 1px;
  background-color: #3A553F;
  transition: all 600ms ease-in-out; }

a:hover::before {
  transform: scaleX(1);
  width: 100%; }

/* 03_components */
.header {
  position: fixed;
  z-index: -1;
  opacity: 1;
  transition: all 1s ease-in-out; }
  .header .visual {
    height: 100vh;
    width: 100vw;
    object-fit: cover; }

/* 04_Layout */
.loader {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 99;
  overflow: visible;
  background: #FFFEF6 url("../images/loader.png") no-repeat center center;
  opacity: 1;
  transition: all 1000ms;
  pointer-events: none; }

body {
  background-color: #FFFEF6; }

.container {
  grid-column: 1 / 9;
  grid-row: 1;
  margin: 20vh 0; }

.text-marging {
  margin: 0 0 40px 0; }

.title-marging {
  margin: 0 0 20px 0; }

/* 05_Responsive */
@media screen and (max-width: 768px) {
  /* ------------- Grid Setting ------------- */
  .wrapper--grid {
    display: grid;
    grid-template-columns: repeat(12, [col-start] 1fr);
    grid-gap: 20px 10px;
    padding: 0px 30px; }
  .container {
    grid-column: 1 / 13;
    grid-row: 1;
    margin: 20vh 0 10vh 0; }
  /* ------------- Typography Setting ------------- */
  /* Regular Text */
  .text-small {
    font-family: 'libre_baskervilleregular';
    font-size: 1.8rem;
    line-height: 3.6rem;
    color: #3A553F; }
  /* Title Green */
  .text-large-green {
    font-family: 'libre_baskervilleregular';
    font-size: 3.0rem;
    line-height: 4.4rem;
    color: #3A553F; }
  /* Title Brown */
  .text-large-brown {
    font-family: 'libre_baskervilleregular';
    font-size: 3.0rem;
    line-height: 4.4rem;
    color: #A1885E; }
  /* ------------- Header Setting ------------- */
  .header .visual {
    height: 100vh;
    width: 100vw;
    top: 0;
    right: 0;
    transform-origin: right;
    object-fit: fill; } }
